In this video we will learn about autoscaling with loadbalancer...
How to create Loadbalacer
How to creating Autoscaling
How to create custom AMI
How to define alarms
How to link lb target group in autoscaling
LAB
Watch the video
While provisioning instance use this boot strap script
sudo su
yum install httpd -y
service httpd status
service httpd start
chkconfig httpd on
cd /var/www/html/
wget https://raw.githubusercontent.com/cooltechu/aws/master/index.html
To increase load on CPU use this stress tool
wget ftp://fr2.rpmfind.net/linux/dag/redhat/el7/en/x86_64/dag/RPMS/stress-1.0.2-1.el7.rf.x86_64.rpm
yum localinstall stress-1.0.2-1.el7.rf.x86_64.rpm
sudo stress --cpu 2 -v --timeout 500s
Thanks,
Tharun.K
0 Comments