Amazon Elastic Container Service (Amazon ECS) now supports tmpfs mounts for Linux tasks running on AWS Fargate and Amazon ECS Managed Instances, extending beyond the EC2 launch type. With tmpfs, you can now create memory‑backed file systems for your containerized workloads without writing this 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 that need fast access to scratch files, caches, or temporary working sets, and for security‑sensitive data such as short‑lived secrets or credentials, because the data does not persist after the task stops. tmpfs also lets you keep the container root file system read‑only using the readonlyRootFilesystem setting while still allowing applications to write to specific in‑memory directories.
To get started, update your task definition so that the container definitions include a linuxParameters block with one or more tmpfs entries. For each tmpfs mount, specify the containerPath, size, and optional mountOptions. You can 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. To learn more, see the LinuxParameters and Tmpfs sections in the Amazon ECS API Reference and the Amazon ECS Developer Guide.
Categories: general:products/amazon-ecs,general:products/aws-govcloud-us,marketing:marchitecture/containers
Source: Amazon Web Services
Latest Posts
- Dynamics 365 Contact Center – Update default Messaging Queues assignment strategy – Least Active [MC1181931]
![Dynamics 365 Contact Center - Update default Messaging Queues assignment strategy - Least Active [MC1181931] 2 pexels maumascaro 6489045](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Amazon EC2 C8i and C8i-flex instances are now available in additional AWS regions

- Amazon EC2 I7ie instances now available in additional AWS regions

- Microsoft Purview DLM: Retirement of SharePoint online information management and in-place records management features [MC1211579]
![Microsoft Purview DLM: Retirement of SharePoint online information management and in-place records management features [MC1211579] 5 pexels conojeghuo 173294](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)

![Dynamics 365 Contact Center - Update default Messaging Queues assignment strategy - Least Active [MC1181931] 2 pexels maumascaro 6489045](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-maumascaro-6489045-150x150.webp)


![Microsoft Purview DLM: Retirement of SharePoint online information management and in-place records management features [MC1211579] 5 pexels conojeghuo 173294](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-conojeghuo-173294-150x150.webp)
![Dynamics 365 Contact Center - Monitor real-time conversations with Quality Evaluation Agent [MC1214103] 7 Dynamics 365 Contact Center – Monitor real-time conversations with Quality Evaluation Agent [MC1214103]](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-apasaric-3310691-150x150.webp)