Load Balance a Laravel App
A load balancer serves as the single entry point to your application from the internet. It distributes incoming traffic across multiple targets, which could be EC2 instances or Lambda functions.
In this course, we will distribute traffic across two EC2 instances located in different availability zones. This increases the availability of your applications and allows you to easily add or remove instances at any time to increase or decrease capacity.
Series episodes
Configure the Network
11m 46sLearn how to create a VPC to securely host your servers and load balancer in this friendly, step-by-step Laracasts tutorial. Start building your network today!
Create the Instances
8m 27sCreate two EC2 instances in separate availability zones with this step-by-step Laracasts tutorial. Boost your AWS skills and infrastructure setup!
Issue a Certificate
3m 18sIssue an SSL certificate with AWS Certificate Manager for your domain—secure traffic, enable HTTPS, and deploy trusted certs step-by-step.
Create the Load Balancer
5m 31sCreate and configure an AWS load balancer to distribute traffic, boost scalability, and ensure high availability for your app.
Configure Listeners
4m 42sConfigure load balancer listeners to accept client requests, apply rules and SSL, and reliably forward traffic to your instances for stable routing.
Provision the Servers
4m 16sProvision two servers and deploy your app - finalize the mini-series with hands-on setup, configuration, and deployment best practices.




