Creating and configure EC2 Instance
1 Launch an ec2 instance
2 Configure / install the application
3 Test the application whether it's running properly
4 Create an Image of the instance.
Create a Load balancer
1 Create a Load balancer
2 Setup port configuration
Create a launch Configuration
1 Create a launch configuration from the previously created image.
Create a Autoscaling group
1 Create a autoscaling group
2 Configure path for health check [this will be a file pointing to your instance]
3 Attach Launch configuration [This particular instance will be launched when it starts scale automatically]
4 Select previously created load balancer name
5 Updated min and max number of scales and desired number of instance while launching.
6 Check instance health