AWS EC2 Auto Scaling Explained: Ultimate Tutorial + Live Demo - Part 18
ฝัง
- เผยแพร่เมื่อ 6 ก.พ. 2025
- ▬▬▬▬▬▬ 🗓️ Book Me for Consultation ▬▬▬▬▬▬
Calender - tidycal.com/ra...
▬▬▬▬▬▬ 🙍🏻♂️Join Membership ▬▬▬▬▬▬
Join this channel to get access to perks:
/ @rahulwagh
▬▬▬▬▬▬ 🚀 Top resource to learn Cloud Computing ▬▬▬▬▬▬
Link - datacamp.pxf.i...
▬▬▬▬▬▬ 🚀 Chapters ▬▬▬▬▬▬
Part 1 - Intro - • AWS Solution Architect...
Part 2 - AWS SignUp, AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY_ID - • AWS Solution Architect...
Part 3 - IAM Policy | IAM User - • AWS Solution Architect...
Part 4 - Create Custom IAM Role and Policy - • AWS Solution Architect...
Part 5 - IAM Group - • AWS Solution Architect...
Part 6 - AWS MFA(Multi Factor Authentication) - • AWS Solution Architect...
Part 7 - AWS IAM Assume Role - • AWS Solution Architect...
Part 8 - AWS IAM Access Analyzer - • AWS Solution Architect...
Part 9 - AWS Organization - • AWS Solution Architect...
Part 10 - AWS CLI - • AWS Solution Architect...
Part 11 - AWS Config, Credentials file and profiles - • AWS Solution Architect...
Part 12 - Setting Up and Accessing Your First EC2 Instance - • AWS EC2 Essentials: Se...
Part 13 - Setting Up and Accessing Windows EC2 Instance - • AWS EC2 Essentials: Se...
Part 14 - Setup EC2, VPC, Subnet, Route Table, Internet Gateway, NAT Gateway,Jump host - • EC2 Essentials: Setup ...
Part 15 - EC2 User data(Windows, Ubuntu, Amazon linux) - • AWS EC2 User data - Wi...
Part 16 - Security Groups(Inbound and Outbound Rules) - • AWS Security Groups | ...
Part 17 - EC2 Launch Template - • EC2 Launch Template - ...
Part 18 - EC2 Auto scalin - • AWS EC2 Auto Scaling E...
Part 19 - AWS Load Balancer Masterclass: Complete Setup & Demo - • AWS Load Balancer Mast...
Part 20 - EC2 EBS volume - • Ultimate AWS EBS Volum...
Part 21 - EC2 spot instances • Master EC2 Spot Instan...
▬▬▬▬▬▬ 🚀 Membership ▬▬▬▬▬▬
Join this channel to get access to perks:
/ @rahulwagh
▬▬▬▬▬▬ 📖 Video Description: ▬▬▬▬▬▬
Welcome to our comprehensive guide on AWS EC2 Auto Scaling! In this video, we'll dive deep into the concept of Auto Scaling in AWS, its importance, and how it can help you manage your cloud infrastructure efficiently. Whether you're a beginner or an experienced professional, this video will provide you with valuable insights and a practical demo to get you started with Auto Scaling.
What You'll Learn:
• Introduction to Auto Scaling: Understand the basics and benefits of Auto Scaling in AWS.
• Components of Auto Scaling: Learn about Launch Configurations, Auto Scaling Groups, and Scaling Policies.
• Types of Scaling: Explore different scaling options such as dynamic scaling and predictive scaling.
• Setting Up Auto Scaling: Step-by-step demo on how to configure Auto Scaling for your EC2 instances.
• Monitoring and Management: Discover how to monitor your Auto Scaling setup and manage your instances effectively.
• Best Practices: Tips and best practices for optimizing your Auto Scaling strategy.
Demo Highlights:
• Creating Launch Configurations: How to define instance configurations for your Auto Scaling groups.
• Setting Up Auto Scaling Groups: Configuring groups to automatically adjust the number of instances based on demand.
• Implementing Scaling Policies: Setting up policies for scaling in and out based on specific metrics and thresholds.
• Real-Time Scaling: Live demonstration of Auto Scaling in action with changing loads.
Why Auto Scaling?
Auto Scaling ensures that you have the right number of Amazon EC2 instances available to handle the load for your application. It automatically adjusts the capacity to maintain steady, predictable performance at the lowest possible cost.
🔗 Useful Links:
• AWS Auto Scaling Documentation: [Link to AWS documentation]
• EC2 Instance Types: [Link to AWS EC2 instance types]
• AWS Pricing Calculator: [Link to AWS pricing calculator]
🕒 Timestamps:
• Introduction
• What is Auto Scaling?
• Components of Auto Scaling
• Types of Scaling
• Setting Up Auto Scaling (Demo)
• Monitoring and Management
• Best Practices
• Conclusion
👍 If you found this video helpful, please LIKE and SUBSCRIBE to our channel for more AWS tutorials and cloud computing insights.
Excellent illustration of launch config and autoscaling. I loved it !!. the pace of tutorial is incredible and how this gentleman gets his point across to his audience is so wonderful. My gratitude and appreciation to you my Guru for giving back to humanity and spreading your knowledge. Thank you again
Very excellent tutorial! Thank you for sharing such great and instructive content.
Glad you enjoyed it!
This video help me clarify concepts that I still have some doubts and how it works. Now is clear with this hands on tutorial.
You are welcome
mindblowing teaching...keep it up and thank you
Exceptional teaching. Just keep it up and thank you for sharing the knowledge.
My pleasure!
thank you so much for this and also a suggestion that better to explain with real time examples like projects
Precise crystal clear.. Thank You !!
Glad it was helpful!
Thank you for this tutorial! I love the illustration of the entire infrastructure.
I have one question. How can we configure Godaddy to point to the application load balancer?
You need to update the godaddy dns configuration
Amazing explaination ...
You are welcome
Hi Rahul. Thanks for this video, it was extremely helpful and I loved the way you always break things down so it is easy to follow along. I have a small request. Can you do a video on internal ALB + ASG?
You are welcome
Thank you rahul, for sharing valuable content
Very nice explanation Rahul 👌
Getting clarity like we have done practically such a clear and detailed explanation your's 😊
Thanks a ton
Awesome lecture 🎉
Glad you liked it
Hey Rahul,
One question that I need to clarify - why there in LoadBalancer you left Default Security Group (allow any inbound/outbound traffic on any host and ports) ?
But new one, customer created Security Group (limit inbound protocol and port).
Probably Default Security Group needs to remove ?
The default security group can be removed
my load balencer is working fine it routing the requests to both ec2 instace how ?
Great content !! back to watching your video's after some gap
Glad you like them!
Great Explanation, A small question, If i have Spring boot application A and B, and application A communicates with B, so In case of auto scaling can application A of 1st ec2 instance communicate with application B of other ec2 instance.
@@RajBokade-g9w yes it can and it should done via route53 A records so that you do not need to worry about ec2 instance IPS
Amazing video, as always Rahul 🎉
Glad you liked it
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
The autoscaling will take care of incoming request but you need to make sure that you have setup suffcient number of ec2 instances upscaling count. Because load balancer is just balancing the incoming request but if you run out of ec2 instances then it will be a problem
@@RahulWagh by watching your video I have setup autoscaling group, and now I have created two instances.
But now I have few more doubts.
1. I'm already using an instance and I did all the setup in it like Node.js installation, nginx installation, cicd setup and all required setup.
So now using autoscaling launch template I have created two more instances.
So do I again need to do all this setup or is there any ways my previous setup will reusable.
And also if I need to do steps, do I need to do setup on each instance ?.
Hi Rahul or anyone, I have a doubt in EC2 security group, why the source of it is from internet not from load balancer?
Greate Explanation brother..♥
Is Really needed New VPC implementation for autoscalling , because i have already running two ec2 in aws default vpc now i want to do autoscalling can i do that with default vpc also target group select only production instance currently i have only one production instance in this case how to do auto scalling ?,in this case we use diffrent server for db used?give any suggestions
Thank u so much
Ur videos are awesome
Most welcome 😊
Do i need application load balancer , if ec2 is private instance ? and the requests data coming from ecs fargate ?
can you please mske detailed video about iam role and policy
thank you ❤
greate explanation brother
Glad you liked it
Great content..!
Dvr❤❤❤
very well explained!!
Glad you liked it
Good video sir....
Keep watching
Good work and Great tutorial @rahulwagh. I recommended this to my friend.
It would be great if you also pin the user data which you used in Launch template. thanks
I will add it to
defnitely I liked.
how to tweak fake network and auto scale instance ?
Why you wanna do that
@RahulWagh to see the effect of auto scaling , to see increase in instance if load increases on other instances
@@RahulWagh it would really great if u do a video demonstrating adding an instance if there is sudden spike of cpu usage due to increased traffic and auto scaling group adding an instance in this case
thank you
You're welcome
Bro give complete project on aws cloud by using all services one place with apigateway also
I will add it to my list
request spelling is not correct 20:27 .
👏👏👏
You are welcome
Sir please come with real time organizational isses that we faces
You are welcome
@@RahulWagh sir we really need that organizational things,that will helpful in interview.
Can you be more specific like what kind of topics you wanna see
@@RahulWagh sir in interview they asked some environmental things of aws, only who has worked in organization is able to give answer but what about those who has not worked. So some that type of things.
A 1000 likes to this video!!
Doesn't work always shows bad gateway.
Enable Auto Assign Public IP
This is totally wrong sir
What is wrong with the video?
@@RahulWagh means it is not best practices
@@sharathhk6264, what are the best practices?