Talk

Pythonic deployment of (Python) applications

Friday, May 24

11:40 - 12:25
RoomPanino
LanguageEnglish
Audience levelIntermediate
Elevator pitch

If you do Kubernetes your deployment is a lot of YAML code, isn’t it? And of course you can’t unit test it.—It’s all YAML.

What if you could do everything in Python? What if you could “associate” workloads, using Python code?

Come and learn about Juju and Charmed operators. You’ll love it!

Abstract

How do you deploy your Python (Web) application? If your setup is container-based you’re likely using Kubernetes. Is it fun? No. It’s complex. It’s a lot of YAML. Maybe it’s okay-ish - if your setup is not too complex -, but it could be better. Less complex, more lightweight. And then again, how does your test suite look like for the deployment process? You don’t have any? Sure, it’s all YAML. Yak!

What if you could do everything in Python? What if you could “associate” workloads, e.g. a database, with your application in the cloud, using Python code? What if you could write tests with Pytest to ensure your deployment continues to work? Does that sound too good to be true?

Canonical has been developing this technology for years. It is proven and solid, yet still exciting to use! Let’s dive into what could be the best you have seen in the last decade for deploying your Python Web application. Say hello to Python and test-driven deployments, ditch YAML and say yes to stability! See a live demo and take home working code to experiment with your own setup.

TagsDeployment/Continuous Integration
Participant

Peter Bittner

Peter is a developer - of people, companies and code. A perfectionist with deadlines. Just like Django.

He is a Linux and Free Software enthusiast, and a seasoned maintainer and contributor to Open Source projects you may know if you care about cleaning up Python bytecode, BDD & testing, Django, DevOps automation and GitLab, usually related to making software development easier and more fun.