Change the future

Friday 4:15 p.m.–5 p.m.

Deploy your Python app in 5 min with a PaaS

Nate Aune

Audience level:
Intermediate
Category:
Cloud

Description

How can you avoid servers and get back to coding? Platform-as-a-service (PaaS) makes deployment easy. But which PaaS do you choose and how do you get started? This talk will examine several of the leading PaaS providers and discuss their pros/cons. We'll also give examples for how to deploy the same app to each of them to see the differences.

Abstract

We'll take Mezzanine, a popular Django-based CMS and show how to deploy it to the leading PaaS providers. I'll show example config files for each provider, and what code was necessary to change to get it to deploy.

Particular pain points we'll cover are how to deal with static assets, options for caching, how to handle database migrations while minimizing downtime, and import/export of data.

We'll wrap it up with a comparison with pros/cons of each provider, and what features each supports.

1) Intro (10 min):

  • Who am I?
  • What is a PaaS and why might you want to use it?
  • What are the drawbacks/downsides of using a Paas?

2) Deploying Mezzanine to:

  • Stackato (5 min)
  • Heroku (5 min)
  • Dotcloud (5 min)
  • Redhat's OpenShift (5 min)
  • Amazon Elastic Beanstalk (5 min)

3) Wrap-up (10 min)

  • Comparison chart showing pros/cons of each provider
  • Pricing info on each one
  • Demo of django-deployer, a universal PaaS deployment tool