Create an Auto Scaling Group and Application Load Balancer in AWS

Hands-On Lab

Length

01:00:00

Difficulty

Intermediate

In this AWS hands-on lab, we will integrate two powerful AWS services: Elastic Load Balancers and Auto Scaling Groups. Specifically, we will create an Auto Scaling Group of EC2 instances operating as web servers and we'll configure an Application Load Balancer to load balance between the instances inside that Auto Scaling Group. After everything is set up, we will simulate stress tests on the EC2 instances to confirm the Auto Scaling Group works as expected. This experience is good practice for building highly available and cost-efficient applications on AWS. Here is the user-data required for this lab: #!/bin/bash yum update -y yum install -y httpd yum install -y wget cd /var/www/html wget https://raw.githubusercontent.com/linuxacademy/content-aws-csa2019/master/lab_files/07_hybrid_scaling/ASGandALB/index.html wget https://raw.githubusercontent.com/linuxacademy/content-aws-csa2019/master/lab_files/07_hybrid_scaling/ASGandALB/pinehead.png service httpd start For Windows users using PuTTY, here are instructions for using it to SSH. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/putty.html

What are Hands-On Labs?

Hands-On Labs are scenario-based learning environments where learners can practice without consequences. Don't compromise a system or waste money on expensive downloads. Practice real-world skills without the real-world risk, no assembly required.