aws / containers-roadmap

This is the public roadmap for AWS container services (ECS, ECR, Fargate, and EKS).
https://aws.amazon.com/about-aws/whats-new/containers/
Other
5.21k stars 319 forks source link

[ECS] [Feature]: Warmpool Fargate Tasks #1987

Open mieliespoor opened 1 year ago

mieliespoor commented 1 year ago

Community Note

Tell us about your request Allow Fargate tasks to have a warmpool of tasks available. This warmpool can be configured to allow the tasks to start faster than is currently possible.

A task in the warmpool would already have an ENI available and ready to be assigned to a new task. Once a task would be stopped, the ENI and other resources would be returned to the warm pool and a next task would be prepared.

Which service(s) is this request for? This could be ECS Fargate

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard? When a fargate task start, it need to do a number of this which takes time. one task for example is assigning an ENI to the task. This task start up can take minutes in some cases where the same task starting using EC2 LaunchType, will take a second or two.

When a warmpool of tasks exist, Fargate will be able to take a task from the warmpool, if any are available, and the task can be started in a much speedier manner than compared a cold start.

Are you currently working around this issue? Only solution would be to not use Fargate but to make use of EC2 LaunchTypes.

Additional context N/A

wenbodu321 commented 1 year ago

Do you think this will apply to EKS fargate as will? To have a warm start not cold start.

mieliespoor commented 1 year ago

I honestly don't know. I have no interest in Kubernetes so won't know.