AWS Auto Scaling Groups and Load Balancers

Sdílet
Vložit
  • čas přidán 28. 07. 2024
  • Learn how to use Auto Scaling Groups and Application Load Balancers in AWS.
    An auto scaling group will automatically manage the creation and destruction of EC2 instances while elastic load balancers can balance network traffic between the instances.
    Chapters:
    0:00​ Intro
    1:58 Launch Template
    5:22 Auto Scaling Group
    9:27 Application Load Balancer
    12:28 Target Group
    14:28 Testing the Load Balancer
    15:53 Connecting Scaling Group and Load Balancer
    18:36 Updating EC2 Instances
    21:42 SSL Certificate
    24:13 Route 53 Record
    25:39 Summary
    🔗Other tutorials:
    Intro to Horizontal Scaling, Load Balancing, Immutable Infrastructure with AWS: • Intro to Horizontal Sc...
    Intro to Packer with AWS (Creating AMIs): • Intro to Packer with AWS
    Cloud-init and Terraform with AWS: sammeechward.com/cloud-init-a...
    Cloud Computing Playlist: • AWS Cloud Computing Co...
    🔗Moar Links
    My Website: www.sammeechward.com
    Instagram: / meech_ward
    Github: github.com/orgs/Sam-Meech-Ward
    Binary in the background: 11110000 10011111 10010010 10101001
    💩
  • Věda a technologie

Komentáře • 52

  • @kertmd6874
    @kertmd6874 Před 11 hodinami

    Thanks for your video, it makes the complex relationships among load balancer, target group and auto scaling group easier to understand.

  • @leafyylife
    @leafyylife Před 2 lety +7

    Man I graduated from your class. Now, a full year into my job, still watching your videos and learning from you! Thanks

  • @piyushaggarwal5207
    @piyushaggarwal5207 Před 4 měsíci +1

    Launch templates are just awesome. ASG, Load balancers also. Everything seems so smooth now that it is all configured. Thank you

  • @1olsendba
    @1olsendba Před 2 lety +3

    Great job explaining! Thanks for taking the time to make this for us all!

  • @ironbondar
    @ironbondar Před rokem

    your content is pure gold. straight to the point

  • @MrTechhack
    @MrTechhack Před 2 lety

    This playlist is so good thank you for sharing your knowledge

  • @olakunleoni1514
    @olakunleoni1514 Před 2 lety

    Quality content. Thanks Mr Meechward!!

  • @Usman._
    @Usman._ Před rokem

    man you smashed it. :) perfect video i was waiting for… keep up the hard work. very clear and understandable.

  • @praewandpaul
    @praewandpaul Před 2 lety

    Very clear explanation! Thank you

  • @jakhongirrasulov2329
    @jakhongirrasulov2329 Před 2 lety

    Thank you. I have learned a lot within less than 30 minutes.

    • @SamMeechWard
      @SamMeechWard  Před 2 lety +1

      You’re welcome. I’m glad I could help

  • @jaz-it
    @jaz-it Před rokem

    This is gold. Thank you!

  • @Dellabeneta
    @Dellabeneta Před rokem

    great!! your explanation is so good. im from brazil and i could understand it all.

  • @juancarlosordonez7893
    @juancarlosordonez7893 Před rokem +2

    Hi Sam, great explanation on ASG and load balancers, helped me understand the concepts more and how the two services work together!
    I just captured one important detail that got me confused and did my own research to shed some light. In this video, at 10:42, you mentioned that load balancers only route traffic to EC2 instances on the same AZ. This is incorrect (or I might have just misunderstood your statement), since with Application Load Balancers, CROSS-ZONE load balancing is enabled by default that distributes the traffic across the registered targets in ALL enabled availability zone.
    Nonetheless, great tutorial man! Just felt the need to call the small misconception out especially to those that are reviewing for their certifications. Cheers!

  • @johnzavax
    @johnzavax Před rokem

    Thank you, your video was helpful...

  • @dennisasamoah2213
    @dennisasamoah2213 Před 2 lety

    this was a great tutorial

  • @PROTON838
    @PROTON838 Před 6 měsíci

    worth mentioning that if you go down the ssl route you will need to make sure that the load balancer security group is ammended to have https in the rules.

  • @nchusifohlahannemarie5648

    Good lectures.

  • @imyashkale
    @imyashkale Před 2 lety

    Excellent Work 👍😄

  • @GururajE-ge1sw
    @GururajE-ge1sw Před rokem +1

    It will be great if you make a separate video on setting up route 53 and load balancer.. Thank You

  • @CleverKisum
    @CleverKisum Před rokem

    Good one i needed that

  • @manoraja9356
    @manoraja9356 Před 2 lety

    Good one..Please upload videos on EBS, and lamda

  • @sameeraabeysekara7950

    Good job

  • @arjaygregorio2019
    @arjaygregorio2019 Před rokem

    What I need to do if we need to distribute traffic to other scale out? We have an existing target and it hits the main instance

  • @tech_totech2019
    @tech_totech2019 Před 2 lety

    thank you so much for uploading quality content. it would be great if you upload more cloud computing topics/ aws services.
    thanks😀

  • @maddymadanraj
    @maddymadanraj Před 2 lety

    when the new instances are created by auto-scaling then how to install or setup our node code on those instances ?
    thanks if anyone can help. then :)

  • @gfni
    @gfni Před měsícem

    Thank you

  • @CaimAstraea
    @CaimAstraea Před rokem

    How do you vertical scale in AWS ? I'd rather have a single instance that ramps up CPU / memory etc ?

  • @AKASH-sw9bs
    @AKASH-sw9bs Před rokem

    Hey, should we use public ip for ec2 instances? Doesn’t this cost?

  • @sixingyu8147
    @sixingyu8147 Před rokem

    Thanks man, save my ass on my homework.

  • @piyushaggarwal5207
    @piyushaggarwal5207 Před 4 měsíci

    Instance refresh has got too many options now. Will you create a short or a short video on that?

  • @AndrewEsh
    @AndrewEsh Před 2 měsíci

    One thing that AWS could add: Auto Scaling Group specification of the Launch Template down to the version. With this, there can be two ASGs that use two versions of the same LT. Then a rollout is to revise the LT, create a new ASG/TGP that uses the new version of the LT, and then adjust the LB percentage of requests reaching the new TGP to begin to phase in the new version. Without this, a phased rollout requires you to create a new launch template for each version. This defeats the purpose of having LTs that can be revised.

  • @piyushaggarwal5207
    @piyushaggarwal5207 Před 4 měsíci

    Choosing "Latest" launch template in ASG config might turn out to be a problem sometimes. What if you accidently put something wrong in user data? Just saying. I will prefer default.

  • @CardinalHijack
    @CardinalHijack Před 2 lety

    What would happen if this set up got DDOS'ed? your application group would spin up to max instances for the duration of the attack I assume?

  • @simranbanwait
    @simranbanwait Před 2 lety

    I would’ve great if it was visualized with images

  • @Davidlavieri
    @Davidlavieri Před rokem

    Load balancer can have both 80/443 listeners there was no need to create a new one;
    For custom vpc they can be on different subnets as long the targets subnets and lb subnets are on the same AZ

  • @pablomarcelmx
    @pablomarcelmx Před rokem

    what are the settings of the ami?

    • @SamMeechWard
      @SamMeechWard  Před rokem

      They're just basic HTTP servers running an express app czcams.com/video/dde-bWUeRMo/video.html&ab_channel=SamMeech-Ward

    • @pablomarcelmx
      @pablomarcelmx Před rokem

      @@SamMeechWard Fabulous!, everything is working now

  • @surathkumar8692
    @surathkumar8692 Před rokem

    sir can i have ur help

    • @SamMeechWard
      @SamMeechWard  Před rokem

      I sometimes respond to comments if you ask your question here 🤗

  • @seatconnect224
    @seatconnect224 Před rokem

    true webmaster)

  • @baztheman
    @baztheman Před rokem

    Great videos but the voice is way too low compare to other videos in CZcams.

    • @SamMeechWard
      @SamMeechWard  Před rokem

      Thank you, I think my voice is more consistent in my more recent videos

  • @pranay_gupta
    @pranay_gupta Před rokem +1

    the binary code in the background translates to:💩

  • @tylerhopkins2868
    @tylerhopkins2868 Před rokem

    bruh... what's up with them nails? lmao