Laravel on Serverless — Deploy to AWS Lambda with Bref
No servers, no Nginx, no SSH. A detailed guide to running Laravel applications on AWS Lambda using Bref, with near-zero costs for low-traffic sites.
16 articles
Deploying and managing Laravel applications on AWS. Learn about EC2, RDS, S3, CloudFront, Lambda, and other AWS services for scalable cloud infrastructure.
No servers, no Nginx, no SSH. A detailed guide to running Laravel applications on AWS Lambda using Bref, with near-zero costs for low-traffic sites.
A guide to using Terraform to automate your entire AWS infrastructure for Laravel applications: VPC, EC2, RDS, S3, ElastiCache, ALB, CloudFront. No clicking, no memorizing CLI commands.
The final part: automate deployments with GitHub Actions, Laravel Envoy for zero-downtime releases, set up CloudWatch monitoring via Console, and complete the series.
Set up Application Load Balancer, free SSL via ACM, CloudFront CDN, and Route 53 DNS — all via the AWS Console, step by step with exact field values.
Set up RDS MySQL 8.0, S3 bucket, and ElastiCache Redis entirely via the AWS Console — click-by-click steps, then connect Laravel to all three services.
Launch an EC2 instance via the Console with Amazon Linux 2023, SSH in, install Nginx + PHP-FPM 8.4, set up Supervisor for queues, and deploy Laravel manually.
Design a production-ready AWS architecture entirely via the Console: VPC with public/private subnets, security groups, IAM roles — every step click-by-click.
Step-by-step guide using the AWS Console: create an account, secure root with MFA, set up an IAM user, configure billing alerts, and understand core AWS concepts.
The final part: automate deployments with GitHub Actions, Laravel Envoy for zero-downtime releases, CloudFront cache invalidation, automated rollbacks, and monitoring.
Set up Application Load Balancer with health checks, free SSL via ACM, CloudFront CDN for static assets, and Route 53 for domain management — complete HTTPS setup.
Set up RDS MySQL 8.0 in a private subnet, configure S3 for file uploads and backups, add ElastiCache Redis for sessions and cache, and connect Laravel to all three.
Launch an EC2 instance with Amazon Linux 2023, install and configure Nginx + PHP-FPM 8.4, set up Supervisor for queues, and deploy a Laravel app manually for the first time.
Design a production-ready AWS architecture for Laravel: VPC with public/private subnets, security groups, IAM roles, and the complete infrastructure blueprint before touching any server.
Before deploying anything: create an AWS account, secure it with MFA, set up an IAM user, install the AWS CLI, and understand the core AWS concepts you'll need throughout this series.
A comprehensive guide on installing Mailpit as a MailHog replacement on Amazon Linux 2023, configuring Nginx reverse proxy, and integrating with Laravel.
A detailed guide on installing Supervisor on Amazon Linux to manage Laravel Queue workers, ensuring processes always run in the background.