AWS Tutorial to create Application Load Balancer and Auto Scaling Group

Sdílet
Vložit
  • čas přidán 7. 07. 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 CZcams 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

Komentáře • 124

  • @amdtoon
    @amdtoon Před rokem +7

    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?

  • @terribleink4882
    @terribleink4882 Před 9 měsíci

    Damn that speed men! You're a GENIUS, keep the good work going and thanks!

    • @cloudchamp
      @cloudchamp  Před 9 měsíci

      Thank you 😊
      Happy to help, let me know if you need help

  • @DIEGAZ00
    @DIEGAZ00 Před 10 měsíci

    Pretty clear and well explained, thank you so much!

  • @fashinaoluwaseun5517
    @fashinaoluwaseun5517 Před 10 měsíci

    A good tutorial for my revision, Nice and clearly explained. saved in my digital archive.

    • @cloudchamp
      @cloudchamp  Před 10 měsíci

      Excellent 👌
      Thank you 😊 happy to help

  • @smartengineer4484
    @smartengineer4484 Před rokem +1

    So thanks you taught load balancer and auto scaling perfectly 👍

    • @cloudchamp
      @cloudchamp  Před rokem

      You are welcome 🤗
      Happy to help

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

    You are just awesome Brother , you explained the things in jus a matter of time. Keep good work and god bless you always.

  • @abhishekanand2782
    @abhishekanand2782 Před 10 měsíci +1

    This is Perfect. No like, comment and share bullshit. Pure Knowledge.

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

    3 topics well explained in about 12 mins

  • @TheB1nary
    @TheB1nary Před 8 měsíci

    Amazing videos - most of which I have to run at 0.75 speed to just get what you are doing! Thanks for these!! :)

    • @cloudchamp
      @cloudchamp  Před 8 měsíci +1

      Glad you like them!
      Sorry for being too fast

    • @TheB1nary
      @TheB1nary Před 8 měsíci +1

      @@cloudchamp Please don't apologise - it wasn't a criticism :) Love the videos - keep up the good work. Best wishes from the UK!

  • @rahulsalunke618
    @rahulsalunke618 Před rokem

    Nice explain and great work...👍 Keep it up

  • @viral_shortsviralshorts

    Great video bro I really needed this to create load balancer and auto scaling group ☺️

    • @cloudchamp
      @cloudchamp  Před rokem

      Glad it was helpful!

    • @cloudchamp
      @cloudchamp  Před rokem

      Thanks for watching! I'm glad you found the video helpful for creating a load balancer and auto scaling group.

  • @juanestebanfrancotorres9435

    Great video

  • @inthecloud1043
    @inthecloud1043 Před rokem

    So informative video bro ❤️

  • @luvmymum5866
    @luvmymum5866 Před 11 měsíci

    Gr8t tutorial

  • @lasantha.sanjeewa
    @lasantha.sanjeewa Před rokem

    Thanks for sharing

  • @diegoalejandropuertolopez1527
    @diegoalejandropuertolopez1527 Před 10 měsíci +3

    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)

    • @cloudchamp
      @cloudchamp  Před 10 měsíci +1

      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

  • @user-zf1rn3ou3v
    @user-zf1rn3ou3v Před rokem

    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☺

  • @gamingchamp2834
    @gamingchamp2834 Před rokem

    Very interesting

  • @ravinaborkar807
    @ravinaborkar807 Před 9 měsíci

    hey mr. champ you are so flawless!🤗

    • @cloudchamp
      @cloudchamp  Před 9 měsíci

      Thank you so much 😊
      Your appreciation means a lot. Happy to help

  • @Open4Profit
    @Open4Profit Před 5 měsíci

    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.

    • @cloudchamp
      @cloudchamp  Před 5 měsíci

      You can use a shared volume using efs to have same data in all servers

  • @joshuadablo2784
    @joshuadablo2784 Před 9 měsíci

    Great explanation! Can we do this load balancer and auto scaling with code deploy for CICD as well?

  • @user-ki3ip1bq5o
    @user-ki3ip1bq5o Před 4 měsíci +2

    @CloudChamp Can please share with us the userdata code you used to see instance id and AZ while we access from Internet

  • @somedayitsgonnamakesense

    so let's say on my first instance (ubuntu) is where my app resides, i manually installed the app there
    when autoscaling and load balancing works and they will route it to the newly created instances, is my app also available in the new instances?
    if so, how? the AMI is the default empty AMI from AWS, how did my app magically be available on the new instances as well?

  • @clickbait2470
    @clickbait2470 Před rokem

    Great explanation bro. Can you create videos for serverless framework and create resources using it

  • @hafizbaharuddin9358
    @hafizbaharuddin9358 Před 5 měsíci

    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?

  • @RRR-es3il
    @RRR-es3il Před 5 měsíci

    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?

  • @funmafiaentertainment
    @funmafiaentertainment Před 3 měsíci

    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?

  • @hannoushy583
    @hannoushy583 Před 10 měsíci

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

  • @trivandrum-achayan
    @trivandrum-achayan Před 5 měsíci

    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.

  • @eyesoffloraandfauna8728

    Ecosystem setup for cloud student ?
    What eco. U use for work

  • @yogendrahj9365
    @yogendrahj9365 Před 5 měsíci +1

    Hi, thank for the video series. Could you please help me with the code you have written to show these web pages. Thanks!

  • @ekaswinac8464
    @ekaswinac8464 Před 8 měsíci

    Bro thanks for your information. My doubts is how we can do a code deploy on auto scale group instance.

  • @ashwinichivate3905
    @ashwinichivate3905 Před 11 měsíci

    your videos are very good. Only d thing is you speaks very fast.

  • @somethingspecial8163
    @somethingspecial8163 Před 7 měsíci

    After doing asg my instance didn't shows the public IP can I what mistake I made ?

  • @heams9945
    @heams9945 Před 10 měsíci

    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

  • @goofyguy6954
    @goofyguy6954 Před rokem

    Hey brother can you what are the software you use to edit your youtube videos, shorts, thumbnail??

  • @jayeshm7109
    @jayeshm7109 Před rokem +3

    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

    • @cloudchamp
      @cloudchamp  Před rokem

      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 👍🏻

  • @praveenakumarapy4914
    @praveenakumarapy4914 Před rokem

    please do one video on cicd pipeline with jenkins and kubernetes

  • @networkfreddy2000
    @networkfreddy2000 Před 9 měsíci

    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?

  • @rohankademani6406
    @rohankademani6406 Před 10 měsíci

    The video is very informative and practical just one suggestion your face is kind of blocking most of the content

    • @cloudchamp
      @cloudchamp  Před 10 měsíci

      Noted I’ll make it smaller next time

  • @anime8544
    @anime8544 Před rokem

    Ek video mai devops engineer konse channel se kare basic se plzz make video

  • @yuksryan
    @yuksryan Před 11 měsíci

    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

  • @user-do2tq2hq2r
    @user-do2tq2hq2r Před 11 měsíci

    hi sir
    can you please make a video on cloud watch and cloud trial
    if you have link about those topics , please share sir

  • @Janasainik__PSPK
    @Janasainik__PSPK Před 10 měsíci

    Did u installed anything in instances

  • @mysterioentize
    @mysterioentize Před 8 měsíci

    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 ?

    • @cloudchamp
      @cloudchamp  Před 8 měsíci +1

      ALB has port mapping features where you add multiple listeners for multiple ports

    • @mysterioentize
      @mysterioentize Před 8 měsíci

      does the autoscaling function add backends to different target groups.. while scaling out / in?

  • @SpaceCreeperYT_2
    @SpaceCreeperYT_2 Před rokem +1

    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

    • @cloudchamp
      @cloudchamp  Před rokem

      I already created a roadmap video on devops do check out

  • @asd-155
    @asd-155 Před 9 měsíci

    Hi bro, How do your getting instance details like ur getting in browser page.

    • @cloudchamp
      @cloudchamp  Před 9 měsíci +1

      I used a script to get that

  • @prasanthsai2364
    @prasanthsai2364 Před rokem +1

    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.

    • @cloudchamp
      @cloudchamp  Před rokem +1

      AWS cloud is part of Devops so you can start with AWS & then later DevOps

    • @prasanthsai2364
      @prasanthsai2364 Před rokem

      @@cloudchamp
      Ok bro
      Tq 🤝

    • @cloudchamp
      @cloudchamp  Před rokem

      @@prasanthsai2364 You are welcome :)

  • @ravi4519
    @ravi4519 Před 8 měsíci

    How do you access the instance with ip ?. 0:46

  • @abhimaripuri1523
    @abhimaripuri1523 Před rokem

    Are u planning to start devops course (zero-hero)
    If yes when pls

  • @naveenkalidindi1801
    @naveenkalidindi1801 Před 11 měsíci

    How New Instances created by ASG are picked by TargetGroup ??
    while creating TargetGroup we are manually adding Instances to TargetGroup.

    • @cloudchamp
      @cloudchamp  Před 11 měsíci

      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 👍🏻

  • @peerzadeshadab216
    @peerzadeshadab216 Před rokem

    Bro I have completed my AWS course so how can I do freelancing please reply

  • @myuvaraj4515
    @myuvaraj4515 Před rokem

    hi can u explain about what is desired minimum capacity?

    • @cloudchamp
      @cloudchamp  Před rokem +1

      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 ⬆️

  • @psychoskybgmi8364
    @psychoskybgmi8364 Před 7 měsíci

    How to put load on ec2

  • @anime8544
    @anime8544 Před rokem

    Bhaiya linux konse CZcams channel se padhe basic to ADV plzz tell

    • @cloudchamp
      @cloudchamp  Před rokem

      Mene ek video banaya hai wo check karo

  • @_man.on.strings__
    @_man.on.strings__ Před 4 měsíci

    where we can get that application which shows ip and cpu

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

      You can simply create it using python or simply copy paste the code from the video 👍🏻

  • @RajivKumar-gb9is
    @RajivKumar-gb9is Před 10 měsíci

    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?

  • @user-oh4jz9zu5v
    @user-oh4jz9zu5v Před rokem

    Can you share code which you are using for webserver, like it shows the instance id and cpu load

    • @cloudchamp
      @cloudchamp  Před rokem +5

      Yes I am soon creating aws project video which has the code and set it up for 3 tier application

    • @anupakulathunga345
      @anupakulathunga345 Před 11 měsíci

      I am also willing to see that

    • @psychoskybgmi8364
      @psychoskybgmi8364 Před 7 měsíci

      Did you get it @user-oh4jz9u5v

  • @Prosperity80s
    @Prosperity80s Před rokem

    Please can you mentor me I’ve just started learning DevOps

    • @cloudchamp
      @cloudchamp  Před rokem

      Sure Bellamy please schedule a call from the link in the channel’s about section

  • @user-cw8xe9bg1y
    @user-cw8xe9bg1y Před 4 měsíci

    Hi Rap god

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

      Uh, summa-lumma, dooma-lumma, you assumin' I'm a human
      What I gotta do to get it through to you I'm superhuman? 🤣🤣🤣

  • @marathicoder7179
    @marathicoder7179 Před rokem

    Me check karr raha ths mene speed 2x nahi kiya na🤣 but your explanation good. Just explain slowly 😅. Thanks

    • @cloudchamp
      @cloudchamp  Před rokem

      🤣🤣 eminent teaching aws

    • @Harshvd104
      @Harshvd104 Před 10 měsíci

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

    • @cloudchamp
      @cloudchamp  Před 10 měsíci

      Check the security group and health check settings also you should have something on the path you mentioned in health checks@@Harshvd104

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

    how to the auto scaling down? Or how set the auto scaling down?

  • @vivinsan6909
    @vivinsan6909 Před 9 měsíci

    What a rap, i can remix this video with beatboxing

    • @cloudchamp
      @cloudchamp  Před 9 měsíci

      😂😂😂🤣please try I will upload if it’s good

  • @KnuKnuu
    @KnuKnuu Před rokem

    Devops is dead because of platform engineering???

    • @cloudchamp
      @cloudchamp  Před rokem

      Absolutely not all these new terms like platform engineering, SRE are exactly or very close to devops roles 👍🏻

  • @user-uu1pm1kz5x
    @user-uu1pm1kz5x Před 11 měsíci

    You are talking too fast, try to slow down but good insight! thank you

    • @thanuyarpp
      @thanuyarpp Před 11 měsíci

      Fix your playback speed for ur requirement

    • @user-uu1pm1kz5x
      @user-uu1pm1kz5x Před 11 měsíci

      @@thanuyarpp It's on 1x, he is just talking too fast, anyways doesn't matter anymore.

  • @MayurSolanki87
    @MayurSolanki87 Před rokem

    Why u are not doing job??

    • @cloudchamp
      @cloudchamp  Před 11 měsíci +2

      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.

  • @h2devilgamer499
    @h2devilgamer499 Před rokem

    bro your instagram id ?