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 Project Operations – Calculate revenue recognition for stand-alone selling price contract lines [MC1230796]
![Dynamics 365 Project Operations – Calculate revenue recognition for stand-alone selling price contract lines [MC1230796] 2 pexels googledeepmind 17483868](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- (Updated) Microsoft Teams: Select multiple messages to forward [MC1199767]
![(Updated) Microsoft Teams: Select multiple messages to forward [MC1199767] 3 electric pole 2431326 1920](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- (Updated) Remove toggle for Calendar in Teams [MC1129730]
![(Updated) Remove toggle for Calendar in Teams [MC1129730] 4 pexels pok rie 33563 1432676](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- (Updated) Microsoft Teams: Digital signage in Teams Rooms on Android [MC1227077]
![(Updated) Microsoft Teams: Digital signage in Teams Rooms on Android [MC1227077] 5 pexels leofallflat 1089194](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)

![Dynamics 365 Project Operations – Calculate revenue recognition for stand-alone selling price contract lines [MC1230796] 2 pexels googledeepmind 17483868](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-googledeepmind-17483868-150x150.webp)
![(Updated) Microsoft Teams: Select multiple messages to forward [MC1199767] 3 electric pole 2431326 1920](https://mwpro.co.uk/wp-content/uploads/2025/06/electric-pole-2431326_1920-150x150.webp)
![(Updated) Remove toggle for Calendar in Teams [MC1129730] 4 pexels pok rie 33563 1432676](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-pok-rie-33563-1432676-150x150.webp)
![(Updated) Microsoft Teams: Digital signage in Teams Rooms on Android [MC1227077] 5 pexels leofallflat 1089194](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-leofallflat-1089194-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)