+1 -1 +20
Vote on this proposal

vagrant, chef/ansible and gunicorn like get set and go

by alok bhan (speaking)

Section
Infrastructure
Technical level
Intermediate

Objective

Boxes are nice and production ready local boxes are just awesome. If you have loved virtualenv you are gonna get madly in love this Vagrant tool.
Vagrant is a free open-source tool for handling of virtualized environments which can be manipulated with any configuration script like Chef/Ansible to automate hardware bootup.
This talk is aimed at any python web-framework (though we setup Django webserver) developer of any experience. Attendees can expect a tour of possibilities which Vagrant offers to support teamwork and quality assurance using Chef/ansible scripts.
This setting-up includes hosting development branch locally with nginx+gunicorn combination.

Description

Vagrant is a free open-source tool for manipulation of virtualized environments.
Major benefits of using Vagrant are:
Super smooth on-boarding of new team-members. With a one-time effort of vagrant + virtualenv + Chef/ansible scripts, it is amazingly simple to a setup a virtual box with all required packages already installed and configured. This allows kick-starting a new team member or rebooting production instance locally in minutes.
Other major benefit is every team-member works in near production environment setup.

Chef/ansible are configuration management tools. We will use any of these two to setup our vagrant box for first run.

Last part of the talk is my experience with deploying django. Choosing web server for a python web framework is talk of its own. We will kickstart our vagrant box with gunicorn + nginx setup. Attendees can expect brief discussion on running local web server with Chef/Ansible scripts plus my experiences with web servers(apache+mod_python till nginx+gunicorn) integration with Django.

Speaker bio

Works as a developer (working mostly with django) at Tarams Technologies. He also handles designing and integration part along with maintaining tech stack for his client. He started as Java developer for a year before moving to python and django.
He loves to solve real world problems with technology and improving the underlined technology day-by-day by overcoming scaling+autmation+deployment challenges.