There's more...

Scaling policies can be defined using any available cloud watch statistics. We can define the custom cloud watch metrics which can also be used to define policies. If you define the desired and minimum instance as 0, instances will not be created even if you don't delete the scaling group.

You can define the scheduled actions if you want the number of instances to vary according to a fixed schedule.

Get AWS Networking Cookbook 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.