Can AWS Fargate scale automatically, like Lambda does?

Viewed 1364

Can AWS Fargate scale on demand like Lambda? Suppose we set 10 container instances in scaling settings.

But what if certain times 10 instances is not enough, how do we scale further (11,12...)?

2 Answers

Fargate supports auto-scaling, you can enable this within your configuration.

You will need to set it to scale against a specific metric (such as average CPU or average network in).

By using auto scaling you can set scale-out (add more containers) and scale-in (remove containers) rules that will affect how many containers you need running at the same time.

There is more information regarding how to configure this available here.

Yes, Fargate can scale on-demand.

You can actually use target tracking scaling policies and configure scaling limits (i.e. instance/task count). You will also have to configure Service AutoDiscovery in order to distribute load on the new instances.

More info here

Related