Posted On: Apr 30, 2021
Amazon Elastic Container Service (Amazon ECS) on AWS Fargate now lets you configure the size of ephemeral storage for your Tasks up to a maximum of 200GiB. All ephemeral storage on AWS Fargate continues to be encrypted by default with service owned keys.
You can simply specify the size (in GiB) of ephemeral storage that your Task requires in the Amazon ECS Task Definition, and it will automatically be provisioned and attached to your Task. You will get 20GiB (increased from 20GB with this release) of free ephemeral storage by default and will only be charged for any additional storage that you request. The ability to increase the ephemeral storage for your Tasks running on AWS Fargate allows you to run a wide range of workloads such as machine learning inference, extract-transform-load (ETL), and other data processing. This feature also enables you to run Tasks on AWS Fargate where container images larger than 20 GiB need to be downloaded locally to start the task.
You can configure the size of the ephemeral storage for your Amazon ECS Tasks running on AWS Fargate platform version 1.4.0 or higher in all regions where AWS Fargate is available using AWS Copilot CLI, CloudFormation, AWS SDK, and AWS CLI. See the AWS Regional Services page for a list of services available by region. To learn more, please read this blog post or visit our documentation. To look at the pricing for AWS Fargate ephemeral storage, please visit our pricing page.