This topic describes the operations that you must complete before you can use Log Service to collect, transform, query, analyze, visualize, consume, or ship data or configure alert rules for data.

  1. Create an Alibaba Cloud account and complete real-name verification.

    For more information, visit the Create Your Alibaba Cloud Account page.

  2. Activate Log Service.
    1. Log on to the Log Service console.
    2. Activate Log Service as prompted.
  3. Before you call API operations, use SDKs, or use the command-line interface (CLI) to manage resources in Log Service, you must create an AccessKey pair.

    For more information, see Obtain an AccessKey pair.

  4. If you want to manage Log Service resources as a RAM user, you must create the RAM user and grant the required permissions to the RAM user.

    For more information, see Create a RAM user and authorize the RAM user to access Log Service.

  5. Create a Log Service project.

    For more information, see Create a project.

  6. Create a store.
    • If you want to store log data, you must create a Logstore.

      For more information, see Create a Logstore.

    • If you want to store time series data, you must create a Metricstore.

      For more information, see Create a Metricstore.

  7. Optional. Manage shards.

    For more information, see Manage shards.