Open AbhishekNautiyal opened 4 weeks ago
Awesome to see all these features being worked on! As an avid Fargate user, it would also be great if the issue https://github.com/aws/containers-roadmap/issues/938 could get some love. If you are using EC2 with ECS, you can do something like (CloudFormation)
LinuxParameters:
Tmpfs:
- ContainerPath: /tmp
MountOptions:
- rw
Size: 200
that is not possible with Fargate. You cannot specify specific mounting options:
MountPoints:
- SourceVolume: tmp
ContainerPath: /tmp
In the above example the /tmp
folder will be mounted by root, unless the docker image has this as a volume with another user configured.
Enhancing this feature would make Fargate so much more useful.
Community Note
Tell us about your request
Amazon ECS will deliver a new capacity management solution that combines the simplicity of AWS Fargateās operational model with the breadth of capabilities supported by Amazon EC2 instances. Customers will be able to use the same simple interface as Fargate by only needing to request vCPU and memory for their tasks, with ECS automatically provisioning, patching, scaling, and cost-optimizing fully-managed compute. At the same time, customers who need more control, will have the ability to select specific EC2 instance types and sizes. Customers can also enable privileged Linux capabilities, and run their desired security and monitoring agents as Daemons. Salient features of enhanced capacity management:
Popular issues that will be addressed by this capability
AWS Fargate GPU Support: When is GPU support coming to fargate? [Fargate] [request]: compute optimized options [Fargate] [request]: Burstable CPU [Fargate] [request]: offer high-performance network options #715
[Fargate] [request]: Allow privileged mode
[Rebalancing] Smarter allocation of ECS resources ECS tasks re-balancing on autoscaling
[ECS] Full support for Capacity Providers in CloudFormation
Which service(s) is this request for? Amazon ECS, AWS Fargate
Amazon ECS team is excited to build this feature, and we look forward to your feedback.