AWS EC2 Auto Scaling : Step By Step Tutorial ( Part - 10)

preview_player
Показать описание
▬▬▬▬▬▬ 🚀 Join membership for premium content ▬▬▬▬▬▬

▬▬▬▬▬▬ 🚀 Courses ▬▬▬▬▬▬

EC2 Launch Template Tutorial: Step-by-Step Guide | How to Create & Use Existing Templates

▬▬▬▬▬▬ 🚀 How to setup the auto scaling for the EC2 ▬▬▬▬▬▬

In this comprehensive tutorial, we'll walk you through the process of setting up auto-scaling for your EC2 instances in AWS. From setting up a VPC and subnet to creating a target group and application load balancer, we've got you covered. Follow along and learn how to ensure your applications remain available and offer consistent performance, even under heavy load.

Timestamps:

0:00 - Overview of EC2 Auto Scaling
1:35 - Traditional Scaling vs EC2 Auto scaling
4:22 - Setting up VPC (Virtual Private Cloud)
5:01 - Configuring Internet Gateway
5:56 - Configuring Subnet
9:52 - Creating a Target Group
12:14 - Setting up an Application Load Balancer
16:19 - Designing and Creating a Launch Template
22:27 - Configure Auto Scaling Group
26:18 - Testing our setup
31:15 - Conclusion and Final Thoughts

Resources and Links:

Like and Subscribe! If you found this tutorial helpful, please give it a thumbs up and subscribe for more AWS-related content.
Рекомендации по теме
Комментарии
Автор

#!/bin/bash
yes | sudo apt update
yes | sudo apt install apache2
echo "<h1>Server $(hostname)</p><p><strong>IP Address:</strong> $(hostname -I | cut -d" " -f1)</p>" > /var/www/html/index.html
sudo systemctl restart apache2

RahulWagh
Автор

I must say, this is one of the best ASG's set up tutorial out here.

ShamsuddeenAbdulkadir
Автор

This has to be the best AWS tutorial ever come across, Thanks @Raul

albertndege
Автор

Crisp and clear explanation in layman's term

rajendrawarrier
Автор

Very well explained Rahul. The graphical representation really helps put things into perspective.

kokopopart
Автор

your videos are very detailed which help us to get complete knowledge in single video. thanks for your contribution... i have only 1 question in asg that how this instances in asg are also in target group. we have left the target group to be zero since asg will create ec2 instances based on min/max/desired how these instances will be added in target group ? that is my question

kaycay
Автор

Excellent Content Dear Rahul, Thank You So much ..

shivadheeravath-sopu
Автор

🎉 would you create a video on

deploy a small to medium scale node js api on aws for small startup with minimum cost like 25-30 usd per month.


which could increase in future.
also maybe not use load balancer to reduce cost. and use docker container. and auto scaling etc

milon
Автор

very good explanation Rahul ...thanks 👌

rajbas
Автор

Hi thanks for the video, I wonder if the instances share the same volume or each one is independent, I also wonder what the estimated monthly price is for this setup

johncaipa
Автор

I wish, I could give a medal. Kudos to you brother.

But one question, in the ALB security group, are you sure we should allow outgoing requests to all IPs in the outbound rule?

subhashismohanty
Автор

Thank you a lot for the video👍

I was expecting to use the auto-scaling policy for any metrics, e.g. CPU util. or load balancer request count

ahmedsalahel-din
Автор

Thanks for this wonderful video.
I have few doubts, can you help.
I built restapis using Node.js and express and deployed them on to the ec2 instance and using nginx as reverse proxy and load balancer.
I built these APIs for our startup.
I'm using t2.micro and my APIs are using in both android and IOS apps.
I also implemented ci using GitHub actions and running cicd pipeline, it's working fine.
Now we have app launch we have app launch we are expecting 200 user and they all gonna use at a time.
so do i need to implement these autoscaling or my nginx loadbalancer can handle it or not.
and also after these detailed information can you explain me what else i can do .
if i implement this autoscaling group can i use my running instance and if load increases i will add one more instance.

Thank you

rocktech
Автор

Rahul thank you for such a wonderful explanation. I just don't understand one thing. When the third instance is launched automatically, how will my project's code be deployed there?. Actually, I'm not sure if there is a smart way to deploy my website's code on all these instances, or is there another way to do this?

sanasaryuzbashyan
Автор

Thank you very much Sir for this all AWS Course

giteshghure
Автор

Thankyou very much sir with
Simple explanation each and
Every point

kondaiahp
Автор

Auto scaling support which type of scaling policy it's vertical or horizontal scaling?

sivabenguluru
Автор

Your content is so on point. Thanks so much

etiifiokudofiah
Автор

How lovely you are teaching
Rahul Da lovely

ayonsaha
Автор

After doing the exact configuration, I'm getting "502 bad Gateway" I do not understand why.

travisjae