~/talk

Running Symfony on AWS Lambda

Talkat SymfonyLive London 2018 · 2018-09-27..09-28· [serverless, php]
github:nealio82
slides:none on file

Sets up a real Symfony app on AWS Lambda using bref, API Gateway, CloudWatch, S3 and RDS, showing a working Symfony 4 REST API, a website with assets served from a CDN, and admin uploads using pre-signed S3 URLs. Moves sessions from local files to the database, precompiles cache in build hooks, and uses bref CLI to run remote console commands. Measured performance is ~20 ms slower than Node, memory up to 1 GB improves latency, and VPC cold starts can hit 11–13 seconds.

AI-written summary · about

  1. 0:00Introduction
  2. 1:15Why run on Lambda
  3. 2:55Lambda PHP from scratch
  4. 3:51Breath
  5. 4:36CloudWatch
  6. 5:02Environments
  7. 5:32Hello World
  8. 12:41Database Connection
  9. 13:29Running Commands
  10. 15:50Making URLs prettier
  11. 16:01Admin system
  12. 16:25Scenes
  13. 17:51Service S3 Assets
  14. 18:36Package Assets
  15. 19:11Uploading Assets
  16. 19:38Admin Panel
  17. 20:08Migration
  18. 22:13Multipart form support
  19. 22:35Presign URLs
  20. 23:38Deleting files
  21. 25:22Recap
  22. 25:40Example Command
  23. 27:11Examples
  24. 28:01Setting up the app directory
  25. 28:41Running PHP on Lambda
  26. 29:29Profiling
  27. 30:18Performance
  28. 31:19Overview
  29. 31:41Competition
  30. 32:11Feedback
~/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.