~/talk

PHP on Lambda with Custom Runtimes

Talkat PHP UK Conference 2023 · 2023-02-14..02-16· [php, serverless]
slides:none on file

Shows how to run real PHP on AWS Lambda by building a custom runtime: compiled PHP on Amazon Linux 2 packaged as a Lambda layer or built into a container image, using the Lambda runtime API and optionally the runtime interface emulator. Demonstrates an actual service that takes email via SES -> S3 -> Lambda email round trip, randomly capitalizes the body and replies, and exposes the same handler over function URLs cheaper than API Gateway. Covers memory/CPU tradeoffs, cold vs warm starts, and that bref/serverless simplifies production.

AI-written summary · about

  1. 0:00PHP on Lambda intro
  2. 1:06Why Lambda for PHP
  3. 3:19Lambda scaling and billing
  4. 9:25Lambda storage options
  5. 12:14Lambda performance limits
  6. 15:02Lambda billing costs
  7. 17:36Cold and warm starts
  8. 21:29Custom runtimes for PHP
  9. 25:45Runtime lifecycle
  10. 31:27PHP Lambda with Docker
  11. 36:08Event processing
  12. 38:16PHP Lambda demo
  13. 47:50API Gateway setup
  14. 51:12Lambda function URLs
  15. 52:39Deploy PHP via Docker
  16. 54:48Production PHP with Bref
  17. 56:33Q&A
~/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.