Auto scaling is not configured by default:
- To configure auto scaling, click on the
Update
button, which is shown in the preceding screenshot, for the service that is to be auto scaled. TheUpdate Service
wizard gets started, as shown in the following screenshot. - In the
Configure service
page, the settings are not to be modified unless theDesired number of tasks
(3
) needs to be updated. Click onNext step
. - In
Configure network
, we don't need to make any modifications. Click onNext step
. - In the
Service auto scaling
page, select theService auto scaling
option
, as shown here:Configure Service auto scaling
to adjust your service’s desired count
We shall discuss configuring a step auto scaling policy next. Configuring step auto scaling involves the following sequence:
- Define the range for the number of tasks within which the cluster is to be scaled
- Add an auto scaling policy
- Define a CloudWatch alarm as a threshold to apply the scaling policy
- Define a scaling action...