Section 1: End-to-End Auto Scaling with ALB

Architecture

Steps

Step 1: Create Launch Template

#!/bin/bash
sudo yum update -y
sudo yum install -y httpd
echo "Hello from kaptaindevops ASG instance" > /var/www/html/index.html
sudo systemctl start httpd
sudo systemctl enable httpd

Step 2: Create Target Group (HTTP 80)

Step 3: Create Application Load Balancer

Step 4: Create ASG