Serverless PHP is pretty good

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:
В начало