To add functionality of scaling based on other metrics, we will utilize Application Autoscaling to specify our scaling policy as well as other attributes such as cooldown periods. We can also take advantage of any of the autoscaling types–step scaling, target tracking scaling, and schedule-based scaling. The CloudFormation template we will launch will cover step-scaling, but you can review further functionality in this Github Repository.
Let’s create this stack and dig into the details of how it works. Click the link above to Launch The Stack, and fill in the necessary details about the workload we’ve built thus far.
The above image illustrates the resources that will be created during the launch of this CloudFormation Template. For a more detailed list, view the Resources Tab in the CloudFormation console after launched, or view in designer before launching.
The stack should take no longer than 5 minutes to complete. Look for the
CREATE_COMPLETE message in the stack events for a signal to move forward.