Horizontally Scaling using Amazon Application Load Balancer (ALB) and Auto Scaling Group

Published: 15 July 2024
on channel: The Technology Sandbox
16,011
448

In this video I take a look at horizontally scaling within the Amazon cloud infrastructure by using an Application Load Balancer and Auto Scaling Group. This information applies regardless of the web application's language. I happen to be using a Laravel / PHP applicaton, but the same process applies to Node, Python, or any other code base.

This is a long video and but provides a lot of information. Here are the chapters if you want to jump around:

TIMESTAMPS
00:00 Introduction
00:32 Background and Architecture
02:54 Infrastructure
07:32 Review Existing Deployment in AWS Console
09:49 Create Amazon Machine Image (AMI)
10:43 Create Application Load Balancer (ALB)
13:14 Create Target Group for ALB
13:11 Create AMI (Amazon Machine Image) For Web Tier
15:02 Create SSL/TLS Certificate for the ALB
18:01 Configure Route 53 with DNS entries for ALB
20:11 Create Auto Scaling Group
20:43 Create Launch Template for the Auto Scaling Group
23:44 Configuring Auto Scaling Group
25:21 Attach Auto Scaling Group to our ALB
30:24 Auto Scaling Group initial actions after creation
33:12 Manually Deregister EC2 Instance from Target Group
35:05 Manually Scaling Down
39:20 Manually Scaling Up
42:07 Auto Scaling Group Configuration Options
46:23 Create CPU Target for Auto Scaling Group
49:50 Trigger the CPU Target
51:13 Configure Health Checks to detect and replace unhealthy instances
54:02 Auto Scaling Actions Review
55:25 Wrap Up and Road Map



This is a continuation of the previous videos in the series where we are developing our capability to deploy an application to Amazon AWS. Previously we covered:

7 Steps To Deploy Laravel to AWS (8 videos, start here:    • 2024 - 7 Steps To Deploy Laravel to A...  )
DevOps and Infrastructure As Code (4 videos, start here:    • Infrastructure as Code: Step 1 - Amaz...  )
DevOps - Continuous Integration / Continuous Delivery (3 videos, start here:    • DevOps - Continuous Integration / Con...  )
MySQL Master / Slave Deployment in Amazon AWS (   • MySQL Master / Slave Deployment in Am...  )
Amazon AWS RDS Fully Managed Database Deployment (   • Amazon AWS RDS Fully Managed Database...  )
Amazon AWS ElastiCache Deployment (   • Amazon AWS ElastiCache Deployment #aw...  )
Scaling Laravel Horizon Workers and Scheduler (   • Scaling Laravel Horizon Workers and S...  )
Nginx and PHP-FPM Performance Optimization (   • Nginx and PHP-FPM Performance Optimiz...  )
Vertically Scaling Laravel/PHP In Amazon AWS (   • Vertically Scaling Laravel/PHP In Ama...  )
Horizontally Scaling Laravel/PHP In Amazon AWS (   • Horizontally Scaling Laravel/PHP In A...  )

#amazon #amazonaws #aws

#alb #loadbalancer #loadbalancing #autoscale

#scaling #laravel

#technologysandbox


Watch video Horizontally Scaling using Amazon Application Load Balancer (ALB) and Auto Scaling Group online without registration, duration hours minute second in high quality. This video was added by user The Technology Sandbox 15 July 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 16,011 once and liked it 448 people.