Container Cost
Container Cost in OCTO is a specialized feature that provides deep, granular visibility into the costs of containerized workloads running in Amazon ECS and EKS. It helps teams accurately track, analyze, and optimize container resource usage and associated cloud spend — which are often hidden within broader infrastructure costs.
Built on AWS Split Cost Allocation Data (SCAD), this feature brings transparent, workload-level attribution to your container infrastructure costs, allowing you to understand what you're spending, where, and why.
What is Container Cost?
In traditional cloud billing models, container costs are difficult to isolate because containers share compute and memory resources. Container Cost solves this problem by utilizing AWS SCAD to break down shared infrastructure costs and attribute them to individual containers, tasks, pods, or services.
With Container Cost, you can:
- Track costs at the task, pod, and workload level
- Attribute EC2 and Fargate costs based on actual usage or resource requests
- Analyze container spend using granular filters
- Empower engineering and finance teams with accurate visibility and accountability
Currently supported services:
- Amazon ECS (EC2 and Fargate)
- Amazon EKS
Enabling Split Cost Allocation Data (SCAD) in AWS
To use Container Cost, Split Cost Allocation Data (SCAD) must be enabled in your AWS Billing settings. SCAD is what allows container-level cost attribution in CUR (Cost and Usage Report) data. SCAD data is not available through AWS Cost Explorer. It is only accessible via Cost and Usage Reports (CUR or CUR 2.0 with Data Exports).
Step 1: Opt in to SCAD
-
Go to AWS Billing and Cost Management Console using a payer account. Only payer accounts can enable SCAD. Linked/member accounts can view data but cannot manage these settings.
-
In the left navigation, select Cost Management preferences
-
Under Split cost allocation data, select the services to enable (Amazon ECS and/or Amazon EKS):
-
If enabling for EKS, choose one of the following cost allocation methods:
-
Resource requests
Allocates EC2 costs based on CPU and memory requests per pod.
Recommended as a baseline to get started. -
Amazon Managed Service for Prometheus
Allocates EC2 costs based on the higher of resource requests or actual utilization.
Requires additional setup. -
Amazon CloudWatch Container Insights
Offers deeper visibility into shared EC2 costs for EKS clusters.
You may choose Resource requests at the very least to enable basic container-level cost tracking.
-
Step 2: Configure Your Cost and Usage Report (CUR)
-
In the AWS Billing Console, under Legacy Pages, open Cost and Usage Reports
-
Create a new report or edit an existing one
-
On the Specify report details page:
- Enable Split cost allocation data
- Ensure your CUR includes:
- Resource IDs
- Hourly granularity
- Enable Split cost allocation data
SCAD data may take up to 24 hours to appear in your CUR after being enabled.
Creating a Container Cost Group
After enabling SCAD and allowing time for the data to populate in your Cost and Usage Report (CUR), you can now create a Container Cost Group in OCTO to visualize your container cost and usage.
- Navigate to Cost Group Manager in OCTO and click Create Cost Group
- Choose the Container Cost option
- Select supported services (ECS and/or EKS) to include in your cost group
- Fill out the basic details, then continue through the remaining setup steps
-
Click Confirm and create to finalize the container cost group
-
Once created, your cost group will appear in the list with a dedicated Insights tab, where you can explore container-level cost and usage across multiple dimensions.
What You’ll See
When viewing a Container Cost group, you’ll access a dedicated Insights tab that displays container-level cost and usage data.
For ECS workloads, you can group costs and usage by:
- Cluster
- Service
- Task
- EC2 Instance
- Tagged
For EKS workloads, you can group costs and usage by:
- Cluster
- Namespace
- Deployment
- Workload name
- Workload type
- Node
- Pod
- EC2 Instance
- Tagged