AWS EC2 Auto Scaling Groups with Application Load Balancer

Поделиться
HTML-код
  • Опубликовано: 25 авг 2024
  • This video explains how to add an Application load balancer to your auto scaling group to distribute the load across multiple instances.
    References:
    Auto scaling group - • AWS EC2 Auto Scaling G...
    Application load balancers - • Application Load Balan...

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

  • @user-wl6kt1mt9j
    @user-wl6kt1mt9j Год назад +1

    Thank you so much! You've made my day with this video. Great presentation by the way.

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

      I am so glad that you liked it :) thanks for your support!

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

    Awesome video

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

    could you please help if their are some changes on the application (code) how auto scaling create new instance with new code.

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

      Hi Hitesh,
      If the application code changes, I would assume the underlying image would change. So, you might need to patch the AMI and update the ASG, more details here - docs.aws.amazon.com/systems-manager/latest/userguide/automation-walk-patch-windows-ami-autoscaling.html
      Otherwise, you can try using a combination of CodeDeploy and ASG, more details here - docs.aws.amazon.com/codedeploy/latest/userguide/integrations-aws-auto-scaling.html
      Please let me know if you are looking to handle a different scenario.

  • @ruchidavda4513
    @ruchidavda4513 2 года назад

    @4:05 do you mean to edit inbound rules in all security groups

    • @listentolearn2363
      @listentolearn2363  2 года назад

      Hi Ruchi,
      If you have more than one security group attached to your VM, the union of all the rules from each security group will be applied to the VM. So, it should be ok to add the rule in just one security group.

  • @ruchidavda4513
    @ruchidavda4513 2 года назад

    If target groups Heath status shows unhealthy what should be done?

    • @listentolearn2363
      @listentolearn2363  2 года назад

      Could you please check the below settings -
      1. The security group associated with the servers allows port 80 access from LB security group
      2. The security group associated with the LB allows port 80 access from 0.0.0.0
      3. The NAT gateway and Internet gateways are attached to the private and public subnets respectively
      4. The health checks are configured correctly with appropriate settings as shown
      5. The server has executed the user data script and configured correctly.

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

    poor sound