Open tlaverdure opened 2 months ago
I hope this feature is added to the Road Map sooner than later. One of the main selling points of App Runner is the ability to scale to near zero when not in use. However, for whatever reason many of the features available to Fargate are not available to App Runner like integration with EFS or EBS, scaling based on CPU and Memory, Arm/Graviton processors, and sensible request time outs. These lack of features make App Runner unusable for many use cases.
The whole App Runner team has either been reassigned to GenAI or fired as no one is responding in their road map project. This feature would make Fargate the best option for containers and quite competitive to the likes of Cloud Run.
Community Note
I would like to request the addition of snapshot capabilities to AWS Fargate, enabling the ability to pause and resume containers. This feature would leverage Firecracker microVM snapshots, similar to what I believe AWS App Runner utilizes to transition containers between provisioned (memory-only) and active (memory and vCPU) states.
If AWS App Runner is using Firecracker microVM snapshots to efficiently manage container states, this functionality suggests that it should be feasible to extend similar capabilities directly to Fargate tasks, given that App Runner operates on Fargate.
Fargate
Currently, the only way to save on costs with a Fargate task is to set the desired task count to 0. While you can resume the task by setting the desired count back to 1, the restart time is too long to effectively serve web requests.
Goals:
Providing an API to pause and resume tasks within a cluster would significantly enhance Fargate's flexibility and resource efficiency. Specifically, when a task is paused, it should:
A task could be paused:
A task could be resumed:
Other service options:
Many users have requested a "Scale to Zero" feature for Fargate and App Runner for many years. I'm not sure if this aligns with the current service goals or technical capabilities, but I believe implementing a feature similar to AWS App Runner's provisioned containers would be the next best alternative.