AWS Tutorial to create Application Load Balancer and Auto Scaling Group
ฝัง
- เผยแพร่เมื่อ 2 มิ.ย. 2024
- In this AWS tutorial video we will learn How to create AWS Application Load Balancer with Autoscaling Group. Throughout the video you will get proper understanding and practical knowledge on how to set up load balancer with autoscaling group.
AWS Official Documentation on Application Load Balancer : docs.aws.amazon.com/elasticlo...
AWS Official Documentation on Autoscaling group : docs.aws.amazon.com/autoscali...
Load balancer and autoscaling group is used together to manage websites and applications with high traffic hosted on AWS. In this video we will be creating application load balancer but after completely going through this aws cloud tutorial you will have experience and knowledge to even create Network Load Balancer.
#aws #loadbalancer #autoscaling
Connect with me on LinkedIn : / nasiullha-chaudhari
Timestamps
What is this AWS tutorial about? 0:00
Video Intro 0:20
Tutorial starts here 0:25
Why do we use Load Balancers 01:10
Steps to create Load Balancer 01:35
AWS Load Balancer Target Group 03:48
What is Autoscaling 06:52
Steps to create Autoscaling group in AWS 07:08
Load balancer in AWS distributes traffic across multiple instances or services to ensure optimal performance and high availability. It improves application scalability and fault tolerance.
Auto scaling group (ASG) automatically adjusts the number of instances based on demand or specified conditions. It ensures that the desired number of instances are available to handle the workload efficiently. ASG works with other AWS services to monitor instance health and adjust capacity as needed.
Benefits: Improved performance, high availability, scalability, fault tolerance, and simplified operations.
Cloudchamp is your favourite TH-cam channel to learn Devops and cloud. The motive of this channel is to help people learn Devops tools and technologies along with sharing my learnings on Devops, Git, Linux AWS and Freelancing. Watch this video an learn to setup load balancer and autoscaling group
Join this channel to get access to perks:
/ @cloudchamp
I love your tutorials. I feel like I actually gain experience and nuance from your step by step guides.
I'm even getting used to your speed😂
Will you make a playlist on the order in which people should follow your tutorials?
Glad you like them!
Pretty clear and well explained, thank you so much!
You are welcome 🤗
Damn that speed men! You're a GENIUS, keep the good work going and thanks!
Thank you 😊
Happy to help, let me know if you need help
A good tutorial for my revision, Nice and clearly explained. saved in my digital archive.
Excellent 👌
Thank you 😊 happy to help
So thanks you taught load balancer and auto scaling perfectly 👍
You are welcome 🤗
Happy to help
You are just awesome Brother , you explained the things in jus a matter of time. Keep good work and god bless you always.
Thanks a ton
Amazing videos - most of which I have to run at 0.75 speed to just get what you are doing! Thanks for these!! :)
Glad you like them!
Sorry for being too fast
@@cloudchamp Please don't apologise - it wasn't a criticism :) Love the videos - keep up the good work. Best wishes from the UK!
3 topics well explained in about 12 mins
You are welcome 🤗
Great explanation! Can we do this load balancer and auto scaling with code deploy for CICD as well?
Your videos are incredible clear and easy to follow! Thanks
One question, if I want to execute some commands in the auto scaling group instances how I can do that?
In my case I’m using docker compose to deploy the containers but I have to do “docker compose up” in order to create the container(I’m learning so I don’t want to use ECS)
You can ssh into the servers and run the command but it would be limited to only that server and if the server is deleted it will create a fresh one from the Ami so you can run the docker compose up command and then create Ami that should be used by autoscaling group
Hello champ, thanks for the video. I wanna ask you about a specific situation and I hope you can answer me, I have a system and that system is on a server that has cpanel on it and the system is using whm api so I should use cpanel, how could I auto scale that server knowing that cpanel license works only for one server? Thanks 😊😊
Hi, thank for the video series. Could you please help me with the code you have written to show these web pages. Thanks!
This is Perfect. No like, comment and share bullshit. Pure Knowledge.
🙏🙏🙏
Means a lot!
Nice explain and great work...👍 Keep it up
Thank you Rahul 😀🤝
bro, top content! want to ask, which tool to use to simulate high concurrent user so that I can see it increase to actual 5 max instance?
Great video bro I really needed this to create load balancer and auto scaling group ☺️
Glad it was helpful!
Thanks for watching! I'm glad you found the video helpful for creating a load balancer and auto scaling group.
@CloudChamp Can please share with us the userdata code you used to see instance id and AZ while we access from Internet
Bro thanks for your information. My doubts is how we can do a code deploy on auto scale group instance.
Hey brother can you what are the software you use to edit your youtube videos, shorts, thumbnail??
On single instance Inside nginx we add IP or domain. But now we have autoscaled and now we have multiple instances. Now what is the value for nginx script block for all instances. Also do we need to add dns of LB in dns or ip?
Ecosystem setup for cloud student ?
What eco. U use for work
Once the cpu utilisation Morethan 80 it will create a new instance ie called auto scaling up and how to the auto scaling down? Or how set the auto scaling down?
So informative video bro ❤️
Glad you liked it
Great explanation Bhau ..
All doubts are cleared .. Thank you.🙌
Plzz one tutorial on the Implementing CI/CD pipeline using Nexus and deploy into apache tomcat☺
Very soon
Great video
Glad you enjoyed it
Thanks for sharing
Thanks for watching!
Thanks for watching!
i have a front end server which is on public subnet and its backend server on private subnet. how can I create an ALB and ASG for both.
Gr8t tutorial
Thanks 😊
Very interesting
Glad you think so!
hey mr. champ you are so flawless!🤗
Thank you so much 😊
Your appreciation means a lot. Happy to help
After doing asg my instance didn't shows the public IP can I what mistake I made ?
Bro please post a video on how you create web page with instance id and cpu utilization
And after creating Auto-Scaling, i copied and searched public ip from one of scale up instances its not working bro
Did u installed anything in instances
hi sir
can you please make a video on cloud watch and cloud trial
if you have link about those topics , please share sir
You had mentioned minimum 1 server is needed. but there were already 2 servers in target groups. Then why ASG create 1 more. It should have consider those existing two servers and actually asg should delete one of them to maintain minimum 1 server criteria. Does it mean ASG do not consider servers which are pre-exist in Target group before creating ASG
Yes it’s not considered because when creating autoscaling group we connect it with load balancer so every server created by autoscaling will always be in target group 👍🏻
Ek video mai devops engineer konse channel se kare basic se plzz make video
We create image of only one server right then how auto scaling can track two server?eg: I have created 2 instances but Linux and windows and I imaged my window instance auto scale created 2 instances of my windows image then what about linux instance
Same doubt
Great explanation bro. Can you create videos for serverless framework and create resources using it
Yes, soon
What if the application needs to listen on multiple ports (443, 80, and other custom ports). Can you add autoscale to manage multiple listener ports and scale their backends ?
ALB has port mapping features where you add multiple listeners for multiple ports
does the autoscaling function add backends to different target groups.. while scaling out / in?
Bro I have completed my AWS course so how can I do freelancing please reply
Hi Bro
I'm from Non IT field and want to switch to a new domain either in Devops or AWS Cloud by doing certifications.Can u pls suggest which one to choose among them and gain knowledge along with hands on for next 6 months to have a better career growth.
AWS cloud is part of Devops so you can start with AWS & then later DevOps
@@cloudchamp
Ok bro
Tq 🤝
@@prasanthsai2364 You are welcome :)
If i make a change to the server after the ami is created and used in the ASG..do i need to create another ami and update the asg?
Yes
what about the data? lets say we have data on primary instance, and auto scaling created new instance. Now one load balancer pings new instance, will it show data from main instance volume. can u explain on this.
You can use a shared volume using efs to have same data in all servers
How do you access the instance with ip ?. 0:46
The video is very informative and practical just one suggestion your face is kind of blocking most of the content
Noted I’ll make it smaller next time
Hi bro, How do your getting instance details like ur getting in browser page.
I used a script to get that
Why create AMI from the running instance and then create a template using that AMI? Can't you just create template from the running instance without taking an extra step?
Are u planning to start devops course (zero-hero)
If yes when pls
Can u reply on my response
Hey,
My name is Daksh.
I'm from India, and I just passed my 12th and I wanna be a cloud architect but I don't know any process or how to prepare what to prepare and from where I don't wanna do college so I was thinking if you can help me.
I stumbled upon your channel yesterday and been watching your videos since then can you pls provide me a rough roadmap to help me
Pls provide me with some help I really need your guidance
And pls tell me what should I do first
I already created a roadmap video on devops do check out
your videos are very good. Only d thing is you speaks very fast.
Sorry for that
Bhaiya linux konse TH-cam channel se padhe basic to ADV plzz tell
Mene ek video banaya hai wo check karo
How New Instances created by ASG are picked by TargetGroup ??
while creating TargetGroup we are manually adding Instances to TargetGroup.
But later when we create auto scaling we define the target group so all new instances created by autoscaling group gets automatically registered in target group 👍🏻
How to put load on ec2
please do one video on cicd pipeline with jenkins and kubernetes
Sure very soon
Can you share code which you are using for webserver, like it shows the instance id and cpu load
Yes I am soon creating aws project video which has the code and set it up for 3 tier application
I am also willing to see that
Did you get it @user-oh4jz9u5v
hi can u explain about what is desired minimum capacity?
Desired capacity means how many servers do you want to be running all times,
Minimum is the count that your servers will not be less than this when scaling down
Maximum is the number of the servers it can go up to when scaling up ⬆️
where we can get that application which shows ip and cpu
You can simply create it using python or simply copy paste the code from the video 👍🏻
how to the auto scaling down? Or how set the auto scaling down?
Me check karr raha ths mene speed 2x nahi kiya na🤣 but your explanation good. Just explain slowly 😅. Thanks
🤣🤣 eminent teaching aws
@@cloudchampbrother still I tried 7-8 times but my instances that’s connected to target group it’s still showcasing unhealthy how to sort this please let me know
Check the security group and health check settings also you should have something on the path you mentioned in health checks@@harshvardhan1214hv
Please can you mentor me I’ve just started learning DevOps
Sure Bellamy please schedule a call from the link in the channel’s about section
What a rap, i can remix this video with beatboxing
😂😂😂🤣please try I will upload if it’s good
Hi Rap god
Uh, summa-lumma, dooma-lumma, you assumin' I'm a human
What I gotta do to get it through to you I'm superhuman? 🤣🤣🤣
Devops is dead because of platform engineering???
Absolutely not all these new terms like platform engineering, SRE are exactly or very close to devops roles 👍🏻
You are talking too fast, try to slow down but good insight! thank you
Fix your playback speed for ur requirement
@@thanuyarpp It's on 1x, he is just talking too fast, anyways doesn't matter anymore.
Why u are not doing job??
Tbh I am still exploring and at the moment I have few ways to pay my bills and have some money in the pocket.
Also I want to learn things I want at the moment and work when I like so I chose Freelancing but I do have many offer from friends and CTOs
I might work again for a company which would align with my goals but let’s see.
But I was inspired by Naval’s quote : A taste of freedom can make you unemployable.
bro your instagram id ?
itscloudchamp