AWS EKS Fargate Pricing vs Managed Nodes (2025 Comparison)
Fargate scales to zero, but Managed Nodes allow Spot Instances. Which is cheaper for your workload?
Detailed formulas for allocating EC2 and Fargate spend to each ECS task, including shared networking and storage.
Knowing the cost of an individual ECS task unlocks better product pricing, more accountable engineering teams, and faster FinOps cycles. Letβs break down the math for both EC2-backed and Fargate workloads.
ClusterCost captures all of this automatically via the ECS API and AWS billing feeds.
For each instance hour:
instance_unit_cost_cpu = instance_hourly_cost / allocatable_cpuinstance_unit_cost_memory = instance_hourly_cost / allocatable_memory
task_cost = (task_cpu_reserved * instance_unit_cost_cpu) + (task_memory_reserved * instance_unit_cost_memory)Enhancements:
task_cost = (vCPU * price_per_vCPU_second + memory * price_per_GiB_second) * runtime_secondsAdd the Windows/GPU premium if applicable, and include ephemeral storage when using the 20/200 GiB options.
ClusterCost lets you configure these policies so the allocation happens automatically.
Useful views:
Export the data weekly to finance and to engineering dashboards so everyone can see the impact of their deployments.
With ClusterCost calculating task costs in real time, you finally have the granularity needed to run ECS like a business, not a black box.***
Contributor
Fargate scales to zero, but Managed Nodes allow Spot Instances. Which is cheaper for your workload?
The $0.10/hour is just the start. Learn how to calculate the total cost of ownership for a standard EKS cluster.
A definitive guide to the fixed costs of running EKS clusters in 2025. We verify the hourly rate and hidden fees.
Get Kubernetes and ECS cost tactics delivered weekly.