Skip to main content

Command Palette

Search for a command to run...

Day 44 : Implementing Auto Scaling for High Availability in AWS

100 Days of Cloud (AWS)

Updated
2 min read
Day 44 : Implementing Auto Scaling for High Availability in AWS
Z

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.

100 Days of Cloud (AWS)

Part 7 of 50

In this series you will learn how to configure and manage cloud resources using AWS. My intention is to provide an explanation and share the answers for 100 Days of Cloud (AWS) from KodeKloud.

Up next

Day 43: Scaling and Managing Kubernetes Clusters with Amazon EKS

100 Days of Cloud (AWS)

More from this blog

Technical 101

69 posts

"Mingalarbar , I am an IT guy from Myanmar who enjoys learning and sharing about Linux, Cloud, Docker & K8s. I am planning to share my expertise with the information technology communities in Burma