Part four of six in the 2017 edition of our annual PyCon Must-See Series, highlighting the talks our staff especially loved at PyCon. While there were many great talks, this is our team's shortlist.
I went into Andrew T Baker’s talk on deploying Python applications with some excitement about learning some new deployment methods. I had no idea that Andrew was going to deploy a simple “Hello World” app live, in 5 different ways!
-
First up, Andrew used ngrok to expose localhost running on his machine to the web. I’ve used ngrok before to share with QA, but never thought about using it to share with a client. Interesting!
-
Heroku was up next with a gunicorn Python web app server, with a warning that scaling is costly after the one free app per account.
-
The third deploy was “Serverless” with an example via AWS Lambda, although many other serverless options exist.
-
The next deploy was described as the way most web shops deploy, via virtual machines. The example deploy was done over the Google Cloud Platform, but another popular method for this is via Amazon EC2. This method is fairly manual, Andrew explained, with a need to Secure Shell (SSH) into your server after you spin it up.
-
The final deploy was done via Docker with a warning that it is still fairly new and there isn't as much documentation available.
I am planning to rewatch Andrew’s talk and follow along on my machine. I’m excited to see what I can do.