Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Deploying Web Applications to the Cloud with Python

EuroPython Conference via YouTube

Overview

Learn how to deploy web applications to the cloud using Python in this 48-minute conference talk from EuroPython 2011. Explore hosting and deployment challenges, compare traditional hosting to Amazon AWS, and dive into Amazon's infrastructure. Discover how to make EC2 connections, launch instances, inspect running instances and security groups, and create security groups for app servers. Gain hands-on experience with Fabric examples, including executing commands on remote servers and handling first deployments. Investigate DjangoZoom for one-click re-deployments and understand the importance of repeatable deployments. Follow along with a detailed walkthrough of setting up database nodes, creating security groups, assigning Elastic IPs, and installing necessary packages. Explore PostgreSQL setup, database creation, and quick update processes. Conclude with an overview of other cloud providers and tools to investigate for web application deployment.

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

Reviews

Start your review of Deploying Web Applications to the Cloud with Python

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.