Serverless Laravel

A masterclass for Laravel developers who want to quickly and efficiently scale their applications using Vapor

I don’t like managing servers, I just want to write code. Security updates and configuration are one thing, but you also have to make sure your servers are ready to handle large spikes of traffic without suffering downtime. So you’ll be over-provisioning servers ($$$) or suffering downtime. There is a better way, and that’s serverless.

If you're ready to buy the course, you can buy it now, watch the videos and join us over in the private Discord group.

Jack has been using Vapor since it first launched and has a lot of experience with it. He's in a perfect position to teach this course

Taylor Otwell, Creator of Laravel

Why I got tired of managing servers

2AM wake up calls

Our application goes offline in the middle of the night. Guess whose getting woken up? Me. With Vapor, our servers don't go offline because we're serverless.

Application downtime

What happens if the server goes offline? How many servers should I put behind my load balancer? What if one breaks, can the remaining server handle traffic?

Scaling issues

We're going live with a big application. Can our servers handle the traffic? Will our server fall over and embarass us? How long will it take to get the server back online?

Varying server load

Our application isn't popular between 2am - 5am but needs double the capacity between 6am - 12PM, but then dies down at 1PM for 3 hours, then back up at 4PM. What a headache...

Laravel Vapor is the future

Automatic scaling

Laravel Vapor runs on serverless technology, meaning you don't have physical servers. Because of this, your application can automatically scale on-demand, and you only pay for what you need.

No expensive DevOps costs

Have you ever received a quote for DevOps? Our last one was for $1,000 per month to keep our servers online. We now pay $39 per month for Vapor, which has saved us over $11,500 per year!

No server maintenance

No updates, no server reboots, no hardware issues, nothing. You don't have to worry about any virtual servers because the AWS team takes care of everything for you. Server maintenance isn't an issue until your application goes offline.

Easy deployment

Deploying your application to Vapor is a smooth process. They handle everything, including DNS configuration, firewalls, load balancers, moving assets to a global CDN, metrics and more.

Before Jack joined the Fathom Analytics team, we had numerous challenges with keeping our servers online and put out a lot of fires. Since our move to Laravel Vapor, we've had no server issues and have not had to even think about servers.

Paul Jarvis, Cofounder of Fathom Analytics & Author of Company of One

Course Contents

Welcome to Serverless Laravel

What is Serverless?
What is Vapor and who is it for?

Let’s get set-up

Linking with AWS
How to get free AWS credits

Creating your first project

Installing Vapor
YAML file basics
Deploying your project
Adding a domain to your project
Adding a database to your project
Adding Redis to your project
Managing environment variables and secrets
Using an external DNS provider

Advanced environment configuration

Disabling services you don't need
Avoiding cold starts by pre-warming
Provisioned Concurrency vs Vapor Prewarming
How to prevent a DDoS attack from bankrupting you
Timeouts, memory, and concurrency
Build Hooks vs Deploy Hooks
DDoS Protection Basics

Databases & Redis

Serverless vs Fixed Size
Database redundancy & scaling
Monitoring your database
Attaching a second database to an environment
Sharing a database between environments
Scaling & monitoring your Redis cluster
Using Redis to speed up session performance


Understanding Simple Queue Service (SQS)
Assume the worst
Preventing your jobs from being processed multiple times
Building jobs that can handle database downtimes

Handling Static Assets

Static assets in Vapor
Laravel Mix
Background images in your CSS

Dude, where's my filesystem?

Using an S3 bucket for your files
Never upload files through your Laravel app
Oh, here’s my filesystem

Networks & Security

Jumpbox, Jumpbox, Jumpbox, them boys up to somethin'
Connecting to your private database
NAT Gateways
API Gateway vs Application Load Balancer
Keeping your projects isolated

Business & Costs

Persuading your boss or client to use Vapor
How to estimate costs for Vapor
Cost-saving techniques
A real-world example of costs


Essential commands
Continuous Integration with ChipperCI


Provisioning custom domains for your users

Everything else

Don't forget to Base64 Encode your binary responses
Weird DynamoDB error? Let’s solve it!
Response size in Lambda
Uncaught exceptions vs DynamoDB

Get Serverless Laravel, $249 $149

Learn everything you need to know about Laravel Vapor and save yourself hundreds of hours by taking the express route to mastery.

Buy the course now, $149 Purchase an unlimited team license

Frequently asked questions

Do I need experience with AWS before I take this course?

No. We cover the basics, and move onto more advanced areas later in the course. I recommend watching the videos in order.

Can I pay with PayPal?

Absolutely. We use Lemon Squeezy for payment processing, so you can pay with your card or Paypal.

What if I decide it's not for me?

No problem. I'll refund you in full if you email within 7 days of purchase, no questions asked.

How do I access and watch the videos?

Once you've purchased the course, you'll receive an email with a license key & a registration link. You can then sign-up and work through the videos at your own pace.

Can I get an invoice?

You most definitely can. Lemon Squeezy sends you an email when you make a purchase, and there's a link in the email for you to print an invoice.

Is the price inclusive of VAT?

The price displayed here is exclusive of VAT. Depending on your location, Lemon Squeezy may add VAT to your purchase.

I’m Jack Ellis, Serverless Laravel’s instructor & cofounder of Fathom Analytics

I am also the cofounder of Fathom Analytics, a privacy-focused analytics platform that has taken the industry by storm. I was one of the first users on Laravel Vapor, and we have been using it for our infrastructure from the moment it launched. All the knowledge I share in this course has been accumulated through hundreds of hours in the battlefield. This course is going to save you so much time.

I've been using Laravel for a long time, and have a lot of experience with scaling applications. I've written articles about scaling Laravel applications and detailed explanations on our move to Vapor. My advice has been read by tens of thousands of people, and now I want to share my knowledge with you.

© 2024 JackEllisWeb Limited
Privacy-first analytics by Fathom