~/talk

Deploying web applications to the cloud with Python

Talkat EuroPython 2011 · 2011-06-20..06-26· [cloud-infrastructure, python]
slides:none on file

Shows how boto + fabric launch, configure and deploy a full Django stack so a single command like fab full_system creates frontend, app and DB nodes with tagged roles, security groups and elastic IPs in minutes. Uses cloud-init user-data to inject SSH keys, installs role-specific packages, runs migrations and optionally reinstalls pip deps. Persists data with EBS snapshots and keeps rollbacks, quick updates and automated, repeatable deployments; contrasts push-based Fabric with declarative tools like Chef/Puppet.

AI-written summary · about

  1. 0:00Intro
  2. 2:46HOSTING AND DEPLOYMENT CHALLENGES
  3. 4:30TRADITIONAL HOSTING VS. AMAZON AWS
  4. 6:30AMAZON INFRASTRUCTURE
  5. 10:52MAKING AN EC2 CONNECTION
  6. 12:22LAUNCHING AN INSTANCE
  7. 13:04INSPECT RUNNING INSTANCE
  8. 13:58INSPECT SECURITY GROUPS
  9. 14:41CREATE SECURITY GROUP FOR APP SERVER
  10. 17:10AUTHORIZE SSH FROM ANY MACHINE
  11. 18:45SIMPLE FABRIC EXAMPLE
  12. 19:27EXAMPLE OUTPUT
  13. 20:15FAILURE HANDLING
  14. 20:58EXECUTE COMMANDS ON REMOTE SERVER
  15. 22:02HANDLE FIRST DEPLOYS TOO
  16. 23:07DEFINING CONNECTIONS BEFOREHAND
  17. 24:57WHAT IS DJANGOZOOM?
  18. 27:03ONE-CLICK TO RE-DEPLOY
  19. 27:41WHY REPEATABLE DEPLOYMENTS?
  20. 29:58FABFILEPY FOR DJANGOZOOM
  21. 30:31DB NODE SET UP
  22. 30:57LAUNCH STEPS
  23. 31:37CREATE NODE
  24. 32:18KEY PAIR
  25. 33:01CREATE SECURITY GROUPS
  26. 33:20AUTHORIZE INTERNAL TRAFFIC AND OPEN PORTS
  27. 33:40ASSIGN ELASTIC IPS
  28. 34:56SETUP DB NODE
  29. 35:14GET PACKAGES FOR ROLE
  30. 35:45INSTALL UBUNTU PACKAGES ON THE SERVER
  31. 36:28SETUP POSTGRESOL
  32. 37:05CREATE DATABASE
  33. 38:36INTERACTIVE QUICK UPDATE
  34. 39:28QUICK UPDATE CONTINUED
  35. 40:26DEPLOY TO BUILD SERVER
  36. 41:08OTHER TOOLS TO INVESTIGATE
  37. 43:17OTHER CLOUD PROVIDERS
  38. 44:43QUESTIONS?
~/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.