Overview
Syllabus
Intro
HOSTING AND DEPLOYMENT CHALLENGES
TRADITIONAL HOSTING VS. AMAZON AWS
AMAZON INFRASTRUCTURE
MAKING AN EC2 CONNECTION
LAUNCHING AN INSTANCE
INSPECT RUNNING INSTANCE
INSPECT SECURITY GROUPS
CREATE SECURITY GROUP FOR APP SERVER
AUTHORIZE SSH FROM ANY MACHINE
SIMPLE FABRIC EXAMPLE
EXAMPLE OUTPUT
FAILURE HANDLING
EXECUTE COMMANDS ON REMOTE SERVER
HANDLE FIRST DEPLOYS TOO
DEFINING CONNECTIONS BEFOREHAND
WHAT IS DJANGOZOOM?
ONE-CLICK TO RE-DEPLOY
WHY REPEATABLE DEPLOYMENTS?
FABFILEPY FOR DJANGOZOOM
DB NODE SET UP
LAUNCH STEPS
CREATE NODE
KEY PAIR
CREATE SECURITY GROUPS
AUTHORIZE INTERNAL TRAFFIC AND OPEN PORTS
ASSIGN ELASTIC IPS
SETUP DB NODE
GET PACKAGES FOR ROLE
INSTALL UBUNTU PACKAGES ON THE SERVER
SETUP POSTGRESOL
CREATE DATABASE
INTERACTIVE QUICK UPDATE
QUICK UPDATE CONTINUED
DEPLOY TO BUILD SERVER
OTHER TOOLS TO INVESTIGATE
OTHER CLOUD PROVIDERS
QUESTIONS?
Taught by
EuroPython Conference