Setting up an Auto scaling in load balanced application
Let's see the process to create an Auto Scaling group in AWS step by step.
The objective is to create the following architecture using the Auto Scaling group:

The following diagram shows the steps for the rest of the sections in this chapter.

There are three major components of Auto Scaling in AWS:
- Amazon Machine Image (AMI)
- Launch configuration
- Auto Scaling group
Now, let's cover each of these components.
Amazon Machine Image
Amazon Machine Image (AMI) is a template where we have already installed all packages and deployed the application package in a web server. Here a Spring-based application needs to be deployed, so AMI will have Java and Tomcat installed in it with the application package.
Launch configuration
It is a template that provides details on which type of instances need to be launched in the Auto Scaling group. You can select the type of instance, or select custom AMI, or select AMI from Marketplace.
Note
100 launch configurations...