Lock in $30 Savings on PRO—Offer Ends Soon! ⏳

IaaS and Paravirtualization | Application Deplo...

IaaS and Paravirtualization | Application Deployment with DigitalOcean

Third DurianPy (Davao Python) Meetup. Demo on how to Deploy Python Powered Applications in Production and Compare the Difference in Development Environment. And sharing experience what might be the best Cloud Services of choice.

Avatar for Nathaniel Varona

Nathaniel Varona

June 28, 2014
Tweet

More Decks by Nathaniel Varona

Other Decks in Programming

Transcript

  1. Types of Cloud (App Level) 1. Software as a Service

    (SaaS) ◦ GMail, Facebook, Twitter 2. Platform as a Service (PaaS) ◦ GAE, OpenShift, Heroku (Shared Hosting) 3. Infrastructure as a Service (IaaS) ◦ AWS, Rackspace, DigitalOcean
  2. Types of Virtualization (OS Level) 1. Full Virtualization ◦ VPS

    (Private Cloud) 2. Hardware-assisted Virtualization ◦ HVM (Private Cloud) 3. Paravirtualization ◦ Linux Container (Public Cloud)
  3. Running an Application 1. Development ◦ WSGI Application Server /

    Handler ◦ Built-In Simple HTTP Web Server ◦ SQLite Database 2. Production ◦ uWSGI Application Server / Handler ◦ NGINX Web Server ◦ PostgreSQL Database
  4. Running an Application (Figure) Web Server Web Request / Response

    Application Server / Handler Database Task Broker Worker
  5. Live Demo! Create a Server (OS Container) Install OS Dependencies

    (Packages, Libraries, Compilers) Create an Isolated Python Version (Operating System) Create an Isolated Python Environment (Project, Platform) Configure the Application (Application Server / Handler, Database) Connect the Application to Web Server (Web Server) …. DEBUG! http://bit.ly/1LXiHiz (Gist)