Enabling split cost allocation data - Amazon Data Exports
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Enabling split cost allocation data

It is a prerequisite to opt in to split cost allocation data through the Cost Management preferences.

To opt in to split cost allocation data
  1. Sign in to the Amazon Web Services Management Console and open the Amazon Cost Management console at https://console.amazonaws.cn/cost-management/home.

  2. In the navigation pane, choose Cost Management preferences.

  3. Under General, in the Split cost allocation data section, choose between the following:

    • Amazon Elastic Container Service (Amazon ECS) to opt in to Amazon ECS only.

    • Amazon Elastic Kubernetes Service (Amazon EKS) to opt in to Amazon EKS only. For Amazon EKS, choose between the following:

      • Resource requests: This allocates your Amazon EC2 by Kubernetes pod CPU and memory resources only. This will encourage application teams to only provision what they need.

      • Amazon Managed Service for Prometheus: This allocates your Amazon EC2 costs by the higher Kubernetes pod CPU and memory resource requests and actual utilization. This ensures each application team pays for what they use. To learn more about setting up Amazon Managed Service for Prometheus, see Setting up in the Amazon Managed Service for Prometheus user guide.

        Prerequisite: You must enable all features in Amazon Organizations. To learn more, see Enabling all features in your organization in the Organizations user guide.

Note
  • Only regular and payer accounts have access to the Amazon Cost Management preferences and can opt in to split cost allocation data. Once opted in, member accounts can view the data in the Cost and Usage Reports.

  • If you choose resource requests, only the pods configured with memory and CPU requests are used by split cost allocation data. Pods that haven't requested any usage won't see any split cost data.

  • If you choose Amazon Managed Service for Prometheus, you need to enable all features in Amazon Organizations. For more information, see Enabling all features in your organization. In addition, split cost allocation data creates a new service-linked role, which enables access to Amazon services and resources used or managed by split cost allocation data.

Once you’ve opted in, you can choose to have cost and usage data for container-level resources included in your report during step one of report creation or later by editing the report details.

To include cost and usage data in your report
  1. Sign in to the Billing and Cost Management console at https://console.amazonaws.cn/billing/home#/

  2. In the navigation pane, choose Cost & Usage Reports.

  3. Whether creating a new report or editing an existing report, in the Specify report details page, under Report content, select Split cost allocation data.

Note

You can also use the Amazon CUR API or the Amazon Command Line Interface (CLI) to manage your split cost allocation data preferences.

Split cost allocation data enables cost visibility for all Amazon ECS and Amazon EKS container objects across your entire consolidated billing family (payer and linked accounts). Once activated, split cost allocation data automatically scans for tasks and containers. It ingests the telemetry usage data for your container workloads and prepares the granular cost data for the current month.

Note

It can take up to 24 hours for the data to be visible in Amazon CUR.

For information about managing access to Billing and Cost Management console pages, see Overview of managing access permissions.

For information regarding Amazon Cost Management preferences and controlling access to Cost Explorer, see Controlling access to Cost Explorer.