The serverless architecture and platforms like AWS Lambda have revolutionized the ease of hosting and maintaining web applications, but most lack support for PHP.
In this video, I use a package called Bref, which helps scaffold out configurations for the serverless framework and provides a custom runtime in order to deploy PHP applications to AWS Lambda instances.
The result? Zero-downtime deployments with a single command line and the ability to handle massive amounts of requests with ease. All with virtually zero changes in your actual application source code!
Watch the full video to see how PHP on Lambda compares against the same application hosted on a VPS with a traditional LAMP stack.
Some helpful links:
- 0:00 Intro
- 0:40 Adding Bref
- 2:27 Serverless Config
- 3:39 Deploying Our App
- 4:33 Fixing The Stateless Problem
- 7:11 Running CLI Commands
- 8:47 Comparing Lambda vs VPS
- 10:44 What’s Next?
Send me new video ideas and vote on what’s coming next:
Follow me on Twitter!
Join my newsletter, where I send out new information about twice a month in the PHP, JavaScript, and Docker realms:
8 views
20
4
6 months ago 00:27:57 1
Learn how to use Laravel as Lambda functions - Serverless architecture
8 months ago 00:12:33 8
Serverless PHP is pretty good
10 months ago 00:44:45 1
Where No PHP Has Gone Before - David Flanagan
10 months ago 01:03:21 2
Serverless PHP: how does it really work? - Matthieu Napoli
2 years ago 00:08:54 3
Deploy Laravel applications fast and cheap
2 years ago 00:03:05 13
PHP in 2023
3 years ago 00:07:19 177
Deploy a Laravel App for FREE on Vercel Serverless! 👨💻
4 years ago 00:19:23 1
Всё о фулстек программистах. Перспективы. Какие стеки бывают. Фокус для фулстека
5 years ago 00:11:08 58
Laravel Vapor - первые впечатления
5 years ago 01:31:45 2
Открытый вебинар «ServerLess PHP»
5 years ago 00:59:13 28
Laravel 6, semver, serverless PHP, and Laravel Vapor