Amazon ECS now supports tmpfs mounts on AWS Fargate and ECS Managed Instances

Amazon Elastic Container Service (Amazon ECS) Updates
Amazon ECS now supports tmpfs mounts for Linux tasks running on AWS Fargate and Amazon ECS Managed Instances. This feature allows you to create memory-backed file systems for your containerized workloads without writing data to task storage.
tmpfs mounts provide a temporary file system that is backed by memory and exposed inside the container at a path you choose. This is ideal for performance-sensitive workloads and security-sensitive data because the data does not persist after the task stops.
What to do
- Update your task definition to include a linuxParameters block with one or more tmpfs entries.
- Specify the containerPath, size, and optional mountOptions for each tmpfs mount.
- Register or update task definitions using the Amazon ECS console, AWS CLI, AWS CloudFormation, or AWS CDK.
This feature is available in all AWS Regions where Amazon ECS, AWS Fargate, and Amazon ECS Managed Instances are supported.
Source: AWS release notes
If you need further guidance on AWS, our experts are available at AWS@westloop.io. You may also reach us by submitting the Contact Us form.



