Defining the range of tasks

Specify the Minimum number of tasks (1), and the Maximum number of tasks (5), as shown in the following screenshot. The number of tasks specified in the example configuration is arbitrary but the maximum number of tasks must be the same or more than the desired number of tasks, and the minimum number of tasks must be the same or less than the desired number of tasks:

Setting the number of tasks (minimum, desired, and maximum) does not, by itself, configure auto scaling; it only specifies the range in which the number of tasks may fluctuate with load fluctuations. An auto scaling policy also needs to be added.

Get Amazon Fargate Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.