Day 44 : Implementing Auto Scaling for High Availability in AWS
100 Days of Cloud (AWS)

I'm Zin Lin Htet. Who love to learn and share about Linux, Cloud, Docker and K8s. Currently working as a DevOps Engineer at one of the famous Fintech Company in Myanmar.
Welcome to Day 44. Today, we will learn how to implement auto scaling for high availability in AWS. In this lab, you need to create a launch template named datacenter-launch-template, define a User Data script, create an Auto Scaling Group named datacenter-asg, create a target group named datacenter-tg, and create an Application Load Balancer named datacenter-alb. In this lab, you can't use the t2.micro instance type because it is no longer supported for Amazon Linux 2 AMI. So, I used the t3.micro instance type instead.











#!/bin/bash
sudo yum update -y
sudo amazon-linux-extras install nginx1 -y
sudo systemctl start nginx
sudo systemctl enable nginx































Congratulations you did it. It looks good. This lab was successfully completed without any errors. See you in day 45. If you have any issues please let me know I will be happy to assist you. Stay tuned and learn together. If you find my article useful, please kindly like and share it.




