Secret sauce that brings YouTube followers, views, likes
Get Free YouTube Subscribers, Views and Likes

Serverless PHP is pretty good

Follow
Andrew Schmelyun

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? Zerodowntime 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:
https://bref.sh
https://serverless.com

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: https://suggest.gg/aschmelyun

Follow me on Twitter!   / aschmelyun  

Join my newsletter, where I send out new information about twice a month in the PHP, JavaScript, and Docker realms: https://aschmelyun.substack.com

posted by vacation3u