With Amazon Fargate, there are no upfront payments and you only pay for the resources that you use. You pay for the amount of vCPU, memory, and storage resources consumed by your containerized applications running on Amazon Elastic Container Service (ECS) or Amazon Elastic Kubernetes Service (EKS).
Amazon Fargate Pricing for Amazon ECS and Amazon EKS
For both Amazon ECS and Amazon EKS, Amazon Fargate pricing is calculated based on the vCPU, memory, storage, and Operating System1 resources used from the time you start to download your container image (docker pull) until the Amazon ECS Task* or Amazon EKS Pod terminates, rounded up to the nearest second. A minimum charge of 1 minute applies.
* A Task is a collection of containers that runs together as an application.
1 Windows Operating System is currently only available for Amazon ECS.
Pricing is based on requested vCPU, Operating Systems, storage and memory resources1 for the Task or Pod. The four dimensions are independently configurable. 20 GB of ephemeral storage is available for all Fargate Tasks and Pods by default—you only pay for any additional storage that you configure.
1Windows Operating System is currently only available for Amazon ECS.
|China (Ningxia) Operated by NWCD
|China (Beijing) Operated by Sinnet
|Per vCPU hour (Linux)
|Per memory hour (Linux)
|Per vCPU hour (Windows)
|Per memory hour (Windows)
|OS per vCPU hour (Windows)
|Per storage GB hour
|Per vCPU hour (ARM)
|Per memory hour (ARM)
Pricing is calculated per second with a 1-minute minimum. Duration is calculated from the time you start to download your container image (Docker pull) until the task terminates, rounded up to the nearest second.
For Windows containers, billing is calculated per second with a 5-minute minimum.
You may incur additional charges if your containers use other Amazon Web Services services or transfers data. For example, if your containers use Amazon CloudWatch Logs for application logging, you are billed for CloudWatch usage.
For more information about Amazon Web Services service pricing, see the pricing section of the relevant Amazon Web Services service detail pages. Links to pricing for some of the commonly used services are listed below.
Data Transfer: You are billed at standard Amazon Web Services data transfer rates.