EC2 Auto Scaling & Elastic Load Balancer | AWS in Action

Поделиться
HTML-код
  • Опубликовано: 15 июл 2024
  • Very often, a single EC2 instance is not enough. It might, for example, get overwhelmed by incoming traffic. AWS Auto Scaling and the Elastic Load Balancer service can help with that!
    Auto Scaling simplifies the process of scaling horizontally and Elastic Load Balancing ensures that incoming load / traffic is distributed evenly across available instances.
    AWS in Action Playlist: • Bootstrapping EC2 Inst...
    Demo project code: github.com/academind/aws-demos
    Demo userdata script: github.com/academind/aws-demo...
    AWS Cloud Practitioner course: acad.link/aws-cp
    Join our Academind Community on Discord: academind.com/community
    Check out all our other courses: academind.com/courses
    00:00 Introduction
    01:34 The demo project
    02:32 Running the code on a (slow) EC2 instance
    04:52 Testing & overwhelming the demo application and instance
    06:40 The need for scaling (vertical & horizontal)
    07:04 Introducing the Auto Scaling service
    07:34 Creating an EC2 instance launch template
    09:26 Configuring Auto Scaling
    10:28 Adding load balancing
    14:14 Configuring scaling parameters
    16:03 Auto Scaling in action
    20:43 Cleanup
    ----------
    • Go to www.academind.com and subscribe to our newsletter to stay updated and to get exclusive content & discounts
    • Follow @maxedapps and @academind_real on Twitter
    • Follow @academind_real on Instagram: / academind_real
    • Join our Facebook community on / academindchannel
    See you in the videos!
    ----------
    Academind is your source for online education in the areas of web development, frontend web development, backend web development, programming, coding and data science! No matter if you are looking for a tutorial, a course, a crash course, an introduction, an online tutorial or any related video, we try our best to offer you the content you are looking for. Our topics include Angular, React, Vue, Html, CSS, JavaScript, TypeScript, Redux, Nuxt.js, RxJs, Bootstrap, Laravel, Node.js, Progressive Web Apps (PWA), Ionic, React Native, Regular Expressions (RegEx), Stencil, Power BI, Amazon Web Services (AWS), Firebase or other topics, make sure to have a look at this channel or at academind.com to find the learning resource of your choice!

Комментарии • 17

  • @priscilapower3781
    @priscilapower3781 Год назад

    I was struggling to get my first load balancer with auto-scaling running but this video really helped out. Thank you very much!

  • @iSyndicate-mx9bv
    @iSyndicate-mx9bv 5 месяцев назад

    Thank you for this easy to understand tutorial.

  • @abhishekgowda7383
    @abhishekgowda7383 Год назад

    Crisp & clear...

  • @jjuszkiewicz
    @jjuszkiewicz Год назад

    Hi, do you have the plan to create a vlog about AWS ECS? Topics about scaling docker containers and instances in ECS, and sharing EC2 resources between containers. Also will be nice to explain auto-deploying on the ECS when a new docker image appears on ECR.

  • @piyushaggarwal5207
    @piyushaggarwal5207 3 месяца назад

    After creating an ASG, I had a problem with load balancers. 17:30 The DNS name wasn't working. It was because the load balancers had the default security group for some reason. I allowed port 80 and it worked good after that.

  • @brentmarquez9057
    @brentmarquez9057 5 месяцев назад

    Can anyone recommend resources for learning how to set all this up as Infrastructure as Code?

  • @user-ul6ub6uy2n
    @user-ul6ub6uy2n 9 месяцев назад

    you terminated the first instance before creating the austoscale termplate, did you started it again?

  • @user-im5xx5jm4r
    @user-im5xx5jm4r 6 месяцев назад

    great video, thanks but I got a error why I can't not connect to ec2 instance using ssh, using amazon instance connect, which does not require an ssh private key?

    • @nanateinumondestanley7819
      @nanateinumondestanley7819 2 месяца назад

      Probably because you didnt't add ssh connection to the security group when creating it.

  • @Hobypyrocom
    @Hobypyrocom Год назад +2

    you know you can schedule videos right? why spamming the subscription feed of all your subscribers?

    • @academind
      @academind  Год назад +8

      "Spamming" the feed with new content? We assume that subscribers want to be informed about new videos. The decision if you watch the video or not is up to you though.

    • @Hobypyrocom
      @Hobypyrocom Год назад +1

      @@academind i would be happy to get notification of new videos of the channels i am subscribed to, but to have all my feed full of videos from one channel that uploaded 20 videos at once, thats 100% spamming...

    • @spam1712
      @spam1712 Год назад +4

      Stop bashing my favorite teacher

    • @Hobypyrocom
      @Hobypyrocom Год назад

      @@spam1712 stop simping for your favorite teacher, you wont get better grades 🤣

    • @spam1712
      @spam1712 Год назад

      @@Hobypyrocom I got better payment thanks to him, but I guess you wouldn't understand anything you sad sad person