~/talk

Serverless Django

Talkat DjangoCon US 2017 · 2017-08-13..08-18· [serverless, django]
github:Miserlou
slides:none on file

Shows how to convert an existing Django app to run on Zappa using AWS Lambda and API Gateway, claiming millisecond ephemeral servers, dramatic cost drops (one example saves ~$1,000/year) and scaling to trillions of events per year. Demonstrates zappa init/deploy, event-driven hooks for S3 avatar processing, scheduled jobs, and zappa.async for long tasks, and covers RDS + VPC setup, DisallowedHost and static-file gotchas, NoDB alternative, Let’s Encrypt/ACM SSL and the S3 infinite-loop pitfall to watch for.

AI-written summary · about

  1. 0:00Introduction
  2. 1:21What serverless means
  3. 3:30Zappa with Lambda and API Gateway
  4. 5:40Advantages of serverless Django
  5. 8:29Installing and initializing Zappa
  6. 10:35Django gotcha: allowed hosts and static files
  7. 12:21Database challenges in serverless
  8. 14:52Setting up VPC for Django
  9. 17:40Database management with zappa-django-utils
  10. 19:11Free SSL with Zappa and ACM
  11. 19:56Event-driven architecture
  12. 24:42Async tasks with Zappa decorator
  13. 26:34Global serverless Django deployments
  14. 31:33Database routing for global apps
  15. 32:18Conclusion and contributing
~/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.