AWS Auto Scaling Groups and Load Balancers
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.c...
Cloud Computing Playlist: • AWS Cloud Computing Co...
🔗Moar Links
My Website: www.sammeechwa...
Instagram: / meech_ward
Github: github.com/org...
Binary in the background: 11110000 10011111 10010010 10101001
💩
Пікірлер: 52
Thanks for your video, it makes the complex relationships among load balancer, target group and auto scaling group easier to understand.
Man I graduated from your class. Now, a full year into my job, still watching your videos and learning from you! Thanks
Launch templates are just awesome. ASG, Load balancers also. Everything seems so smooth now that it is all configured. Thank you
Great job explaining! Thanks for taking the time to make this for us all!
your content is pure gold. straight to the point
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.
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!
Thank you. I have learned a lot within less than 30 minutes.
@SamMeechWard
2 жыл бұрын
You’re welcome. I’m glad I could help
man you smashed it. :) perfect video i was waiting for… keep up the hard work. very clear and understandable.
great!! your explanation is so good. im from brazil and i could understand it all.
It will be great if you make a separate video on setting up route 53 and load balancer.. Thank You
This playlist is so good thank you for sharing your knowledge
This is gold. Thank you!
Quality content. Thanks Mr Meechward!!
Very clear explanation! Thank you
Thank you, your video was helpful...
Thanks man, save my ass on my homework.
Thank you
Good job
Good lectures.
this was a great tutorial
Excellent Work 👍😄
@SamMeechWard
2 жыл бұрын
Thanks 🤗
thank you so much for uploading quality content. it would be great if you upload more cloud computing topics/ aws services. thanks😀
How do you vertical scale in AWS ? I'd rather have a single instance that ramps up CPU / memory etc ?
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.
Good one i needed that
Instance refresh has got too many options now. Will you create a short or a short video on that?
Good one..Please upload videos on EBS, and lamda
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.
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
Hey, should we use public ip for ec2 instances? Doesn’t this cost?
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 :)
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
@noboringdays
Жыл бұрын
how? There was only one field.
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?
@davidribeiro
2 жыл бұрын
Yes, unless AWS Shield is able to detect it.
@nchusifohlahannemarie5648
2 жыл бұрын
Use aws shield
true webmaster)
I would’ve great if it was visualized with images
what are the settings of the ami?
@SamMeechWard
Жыл бұрын
They're just basic HTTP servers running an express app kzread.info/dash/bejne/lpiZj8SQhci4fdI.html&ab_channel=SamMeech-Ward
@pablomarcelmx
Жыл бұрын
@@SamMeechWard Fabulous!, everything is working now
sir can i have ur help
@SamMeechWard
Жыл бұрын
I sometimes respond to comments if you ask your question here 🤗
Great videos but the voice is way too low compare to other videos in KZread.
@SamMeechWard
Жыл бұрын
Thank you, I think my voice is more consistent in my more recent videos
the binary code in the background translates to:💩
bruh... what's up with them nails? lmao
@SamMeechWard
Жыл бұрын
thank you