Auto Scalling
Create Lunch Template
Load Balancer
Auto Scalling Group
#!/bin/bash
yum update -y
yum install httpd -y
cd /var/www/html
echo "Good Morning...Welcome to Webserver" >index.html
service httpd start
chkconfig httpd on
Lifecycle hooks are used for Auto-scaling to put an additional wait time to a scale-in or a scale-out event.