Overview
Syllabus
Introduzione
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
WHAT IS FABRIC?
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?
DB NODE SET UP
LAUNCH STEPS
CREATE NODE
KEY PAIR
CREATE SECURITY GROUPS
AUTHORIZE INTERNAL TRAFFIC AND OPEN PORTS
ASSIGN ELASTIC IPS
TAG THE NODE
SETUP DB NODE
GET PACKAGES FOR ROLE
INSTALL UBUNTU PACKAGES ON THE SERVER
SETUP POSTGRESQL
CREATE DATABASE
INTERACTIVE QUICK UPDATE
QUICK UPDATE CONTINUED
DEPLOY TO BUILD SERVER
OTHER TOOLS TO INVESTIGATE
OTHER CLOUD PROVIDERS
QUESTIONS?
Taught by
EuroPython Conference