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.

ความคิดเห็น • 76

  • @hemakumar476
    @hemakumar476 หลายเดือนก่อน

    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

  • @MingYan-i1e
    @MingYan-i1e 4 วันที่ผ่านมา

    Very excellent tutorial! Thank you for sharing such great and instructive content.

    • @RahulWagh
      @RahulWagh  3 วันที่ผ่านมา

      Glad you enjoyed it!

  • @ricardohernandezmendez4207
    @ricardohernandezmendez4207 4 หลายเดือนก่อน

    This video help me clarify concepts that I still have some doubts and how it works. Now is clear with this hands on tutorial.

    • @RahulWagh
      @RahulWagh  4 หลายเดือนก่อน

      You are welcome

  • @TheShreed534
    @TheShreed534 หลายเดือนก่อน

    mindblowing teaching...keep it up and thank you

  • @girivatlam
    @girivatlam 3 หลายเดือนก่อน

    Exceptional teaching. Just keep it up and thank you for sharing the knowledge.

    • @RahulWagh
      @RahulWagh  3 หลายเดือนก่อน

      My pleasure!

  • @kingdavid526
    @kingdavid526 2 หลายเดือนก่อน

    thank you so much for this and also a suggestion that better to explain with real time examples like projects

  • @prashantsonawane7971
    @prashantsonawane7971 5 หลายเดือนก่อน +1

    Precise crystal clear.. Thank You !!

    • @RahulWagh
      @RahulWagh  5 หลายเดือนก่อน

      Glad it was helpful!

  • @GeraldDayak
    @GeraldDayak 4 หลายเดือนก่อน

    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?

    • @RahulWagh
      @RahulWagh  หลายเดือนก่อน

      You need to update the godaddy dns configuration

  • @Saguna-aaa
    @Saguna-aaa หลายเดือนก่อน

    Amazing explaination ...

    • @RahulWagh
      @RahulWagh  หลายเดือนก่อน

      You are welcome

  • @nebolos
    @nebolos 6 หลายเดือนก่อน

    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?

    • @RahulWagh
      @RahulWagh  6 หลายเดือนก่อน

      You are welcome

  • @indranilsaha358
    @indranilsaha358 5 หลายเดือนก่อน

    Thank you rahul, for sharing valuable content

  • @vigneshs5708
    @vigneshs5708 8 หลายเดือนก่อน +2

    Very nice explanation Rahul 👌
    Getting clarity like we have done practically such a clear and detailed explanation your's 😊

    • @RahulWagh
      @RahulWagh  8 หลายเดือนก่อน

      Thanks a ton

  • @AllenGodswill-im3op
    @AllenGodswill-im3op 8 หลายเดือนก่อน +1

    Awesome lecture 🎉

    • @RahulWagh
      @RahulWagh  8 หลายเดือนก่อน

      Glad you liked it

  • @Микола-е9ю4ц
    @Микола-е9ю4ц หลายเดือนก่อน

    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 ?

    • @RahulWagh
      @RahulWagh  หลายเดือนก่อน

      The default security group can be removed

  • @abuzaransari3817
    @abuzaransari3817 29 วันที่ผ่านมา

    my load balencer is working fine it routing the requests to both ec2 instace how ?

  • @ubaidmundewadi6368
    @ubaidmundewadi6368 7 หลายเดือนก่อน

    Great content !! back to watching your video's after some gap

    • @RahulWagh
      @RahulWagh  7 หลายเดือนก่อน

      Glad you like them!

  • @RajBokade-g9w
    @RajBokade-g9w 6 หลายเดือนก่อน

    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.

    • @RahulWagh
      @RahulWagh  6 หลายเดือนก่อน

      @@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

  • @gauravchoudhary3733
    @gauravchoudhary3733 7 หลายเดือนก่อน

    Amazing video, as always Rahul 🎉

    • @RahulWagh
      @RahulWagh  7 หลายเดือนก่อน

      Glad you liked it

  • @rocktech2359
    @rocktech2359 8 หลายเดือนก่อน +2

    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

    • @RahulWagh
      @RahulWagh  8 หลายเดือนก่อน +2

      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

    • @rocktech2359
      @rocktech2359 8 หลายเดือนก่อน

      @@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 ?.

  • @ArunKumarD-y7t
    @ArunKumarD-y7t 4 หลายเดือนก่อน

    Hi Rahul or anyone, I have a doubt in EC2 security group, why the source of it is from internet not from load balancer?

  • @ChandraShekar-zq8gv
    @ChandraShekar-zq8gv 7 หลายเดือนก่อน

    Greate Explanation brother..♥

  • @vijujk9295
    @vijujk9295 6 หลายเดือนก่อน

    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

  • @lalithkumar2750
    @lalithkumar2750 4 หลายเดือนก่อน

    Thank u so much
    Ur videos are awesome

    • @RahulWagh
      @RahulWagh  4 หลายเดือนก่อน

      Most welcome 😊

  • @mhamadyahya1
    @mhamadyahya1 5 หลายเดือนก่อน

    Do i need application load balancer , if ec2 is private instance ? and the requests data coming from ecs fargate ?

  • @sanapathiramesh2823
    @sanapathiramesh2823 5 หลายเดือนก่อน

    can you please mske detailed video about iam role and policy

  • @sanapathiramesh2823
    @sanapathiramesh2823 5 หลายเดือนก่อน

    thank you ❤

  • @drawwithalex4979
    @drawwithalex4979 6 หลายเดือนก่อน

    greate explanation brother

    • @RahulWagh
      @RahulWagh  6 หลายเดือนก่อน

      Glad you liked it

  • @g.s.r.6232
    @g.s.r.6232 6 หลายเดือนก่อน

    Great content..!

  • @ChinnaDornadula
    @ChinnaDornadula 29 วันที่ผ่านมา

    Dvr❤❤❤

  • @mohdamjad1710
    @mohdamjad1710 8 หลายเดือนก่อน

    very well explained!!

    • @RahulWagh
      @RahulWagh  8 หลายเดือนก่อน

      Glad you liked it

  • @hemantsingh-nk1bu
    @hemantsingh-nk1bu 5 หลายเดือนก่อน

    Good video sir....

    • @RahulWagh
      @RahulWagh  5 หลายเดือนก่อน

      Keep watching

  • @Rahil1978a
    @Rahil1978a 4 หลายเดือนก่อน

    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

    • @RahulWagh
      @RahulWagh  4 หลายเดือนก่อน +1

      I will add it to

  • @jhonsen9842
    @jhonsen9842 6 หลายเดือนก่อน

    defnitely I liked.

  • @bellamrahul6365
    @bellamrahul6365 2 หลายเดือนก่อน

    how to tweak fake network and auto scale instance ?

    • @RahulWagh
      @RahulWagh  2 หลายเดือนก่อน

      Why you wanna do that

    • @bellamrahul6365
      @bellamrahul6365 2 หลายเดือนก่อน

      @RahulWagh to see the effect of auto scaling , to see increase in instance if load increases on other instances

    • @bellamrahul6365
      @bellamrahul6365 2 หลายเดือนก่อน +1

      @@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

  • @senthilkumar5129
    @senthilkumar5129 8 หลายเดือนก่อน

    thank you

    • @RahulWagh
      @RahulWagh  8 หลายเดือนก่อน

      You're welcome

  • @Rameshpowervlogs
    @Rameshpowervlogs 8 หลายเดือนก่อน

    Bro give complete project on aws cloud by using all services one place with apigateway also

    • @RahulWagh
      @RahulWagh  8 หลายเดือนก่อน

      I will add it to my list

  • @safalmondal4734
    @safalmondal4734 6 หลายเดือนก่อน

    request spelling is not correct 20:27 .

  • @manojgandham-lu7tu
    @manojgandham-lu7tu 8 หลายเดือนก่อน

    👏👏👏

    • @RahulWagh
      @RahulWagh  8 หลายเดือนก่อน

      You are welcome

  • @amansingh-sp7oo
    @amansingh-sp7oo 8 หลายเดือนก่อน

    Sir please come with real time organizational isses that we faces

    • @RahulWagh
      @RahulWagh  8 หลายเดือนก่อน

      You are welcome

    • @amansingh-sp7oo
      @amansingh-sp7oo 8 หลายเดือนก่อน

      @@RahulWagh sir we really need that organizational things,that will helpful in interview.

    • @RahulWagh
      @RahulWagh  8 หลายเดือนก่อน

      Can you be more specific like what kind of topics you wanna see

    • @amansingh-sp7oo
      @amansingh-sp7oo 8 หลายเดือนก่อน

      @@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.

  • @HandsomeLancerYouTube
    @HandsomeLancerYouTube 5 หลายเดือนก่อน

    A 1000 likes to this video!!

  • @vaibhavdesai7001
    @vaibhavdesai7001 7 หลายเดือนก่อน +1

    Doesn't work always shows bad gateway.

    • @adnanshaikh09
      @adnanshaikh09 6 หลายเดือนก่อน +1

      Enable Auto Assign Public IP

  • @sharathhk6264
    @sharathhk6264 8 หลายเดือนก่อน +2

    This is totally wrong sir

    • @RahulWagh
      @RahulWagh  8 หลายเดือนก่อน

      What is wrong with the video?

    • @sharathhk6264
      @sharathhk6264 8 หลายเดือนก่อน

      @@RahulWagh means it is not best practices

    • @SzymonCybulski
      @SzymonCybulski 3 หลายเดือนก่อน

      ​@@sharathhk6264, what are the best practices?