~/talk

Running Your PHP Site on AWS Lambda

Talkat PHP UK Conference 2019 · 2019-02-20..02-22· [serverless, php]
github:nealio82
slides:none on file

Shows how to run real PHP apps on AWS Lambda layers with the Bref runtime, AWS SAM CLI deployment, API Gateway custom domains and S3 presigned uploads; demonstrates a working Symfony site with sessions moved to a database, assets on a CDN, and console invocations via a Lambda console function. Reveals limits: 250 MB unzipped, 1,000 concurrent default, cold starts up to ~11s on low memory but sub-20ms warm responses; build/deploy scripts and cache warming make it practical.

AI-written summary · about

  1. 0:00Intro
  2. 0:56Why use AWS Lambda
  3. 2:17The anatomy of AWS Lambda
  4. 5:31The goal of AWS Lambda
  5. 6:11What does Bref do
  6. 6:59What does Sam do
  7. 9:38How to test locally
  8. 10:19Fixing an error
  9. 14:21Cloud Formation
  10. 17:34Custom Domain Names
  11. 20:32Recap
  12. 21:29Fully featured websites
  13. 22:37Converting to Lambda
  14. 24:32Exception
  15. 25:23PDOException
  16. 26:45Database Connection
  17. 28:25Deploy
  18. 32:41Migration
  19. 34:51Console
  20. 35:38Migrations
  21. 37:10Uploading
  22. 38:52JavaScript
  23. 39:47Upload Kitty
  24. 41:04Cold Start
  25. 42:25Pingdom
  26. 42:47PHP Lambda
  27. 43:23Performance benchmarks
  28. 44:24What about microservices
  29. 44:46Create a PHP function
  30. 45:15How do I roll my own
  31. 45:48MySQL
  32. 47:18Blackfyre
  33. 47:47AWS Billing Console
  34. 48:38What are we working on
  35. 49:11Join us
  36. 49:34Questions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.