SlideShare a Scribd company logo
VSHN AG I Neugasse 10 I 8005 Zürich I T 044 545 53 00 www.vshn.ch
Swiss Python Summit 2017
Scalable Python with
Docker, Kubernetes, OpenShift
Aarno Aukia
VSHN AG
VSHN AG I Neugasse 10 I 8005 Zürich I T 044 545 53 00 www.vshn.ch
Agenda
●
About Aarno / VSHN
●
How were we running python before
●
Shortcomings & wishes
●
What is Docker, Kubernetes, OpenShift ?
●
Why use them ?
●
Demo
VSHN AG I Neugasse 10 I 8005 Zürich I T 044 545 53 00 www.vshn.ch
Who
Aarno Aukia, CTO & co-founder
ETH → Google → Atrila → VSHN
@aarnoaukia http://about.me/aarno
VSHN - the DevOps Company
Since 2014: 18 people in Zürich
Running web applications on-premises and
in the clouds making both visitors and
developers happy
https://vshn.ch @vshn_ch
VSHN AG I Neugasse 10 I 8005 Zürich I T 044 545 53 00 www.vshn.ch
Ops: firefighting as a Service
VSHN AG I Neugasse 10 I 8005 Zürich I T 044 545 53 00 www.vshn.ch
DevOps: collaboration to fix source of problem
VSHN AG I Neugasse 10 I 8005 Zürich I T 044 545 53 00 www.vshn.ch
VSHN AG I Neugasse 10 I 8005 Zürich I T 044 545 53 00 www.vshn.ch
How were we running python applications ?
Virtual servers
Web-/App-/Cache-/Queue-/DB-services
managed by Puppet & Ansible
Config in GIT, separate repo from
application
Local VM with vagrant from same config
for development
VSHN AG I Neugasse 10 I 8005 Zürich I T 044 545 53 00 www.vshn.ch
Customer project with python, celery, postgres
VSHN AG I Neugasse 10 I 8005 Zürich I T 044 545 53 00 www.vshn.ch
Shortcomings
Scaling up/down servers takes manual
effort & time
Python/Postgres/Apache/RabitMQ
versions/plugins defined by configuration
management for each server, not for each
project/deployment and have to be
communicated separately
Adding new components is complex, lots
of moving parts and risk
VSHN AG I Neugasse 10 I 8005 Zürich I T 044 545 53 00 www.vshn.ch
Wishful thinking...
Solves build-ship-run workflow, integrates
in CI/CD, DevOps & self-service
Handles the standard software plattform
problems: scaling, hitless deployment,
monitoring, backup, etc
Open standards: 100% open source,
backed by big community
No lock-in, free to choose any provider,
works on any infrastructure
Extensible with API
VSHN AG I Neugasse 10 I 8005 Zürich I T 044 545 53 00 www.vshn.ch
Docker
Lightweight container runtime
Package code, runtime, plugins, libraries
'Dockerfile' describes image,
Automatically built, quickly started
Helps you to use 12-Factor-App pattern
(explicit entrypoint, port, volume
configurations)
https://blog.vshn.ch/2016/11/docker
https://github.com/docker/docker
VSHN AG I Neugasse 10 I 8005 Zürich I T 044 545 53 00 www.vshn.ch
12 Factor App Patterns: https://12factor.net/
●
Use declarative formats for setup
automation
●
Have a clean, portable contract with the
underlying operating system
●
Are suitable for deployment on modern
cloud platforms
●
Minimize divergence between
development and production, enabling
continuous deployment
●
And can scale up without significant
changes to tooling, architecture, or
development practices.
VSHN AG I Neugasse 10 I 8005 Zürich I T 044 545 53 00 www.vshn.ch
From container to production ?
VSHN AG I Neugasse 10 I 8005 Zürich I T 044 545 53 00 www.vshn.ch
Kubernetes
Container orchestrator:
'here is a container, run 3 of these with
this config and give me a loadbalancer'
'distribute all my containers over these
servers and make sure they can talk to
each other'
'here is a new version of this container,
update all my services without
interruption'
https://blog.vshn.ch/2016/08/openshift
https://github.com/kubernetes/kubernete
s
VSHN AG I Neugasse 10 I 8005 Zürich I T 044 545 53 00 www.vshn.ch
Container orchestration
VSHN AG I Neugasse 10 I 8005 Zürich I T 044 545 53 00 www.vshn.ch
OpenShift
How to get the application in the
container ?
Web-GUI, CLI client, REST-API
https://blog.vshn.ch/2016/08/openshift
https://github.com/openshift/origin
VSHN AG I Neugasse 10 I 8005 Zürich I T 044 545 53 00 www.vshn.ch
OpenShift
VSHN AG I Neugasse 10 I 8005 Zürich I T 044 545 53 00 www.vshn.ch
Why?
You have full control over the container
contents → no more old versions by the
hosting provider
You control the build, deploy, run process
from the GUI/CLI/API
Plattform takes care of seamless
deployment, SSL, load balancing, scaling,
system updates, monitoring, backups,
hardware, storage, network, etc
You don't need to handle Docker,
Kubernetes, OpenShift internals if you
don't want to
VSHN AG I Neugasse 10 I 8005 Zürich I T 044 545 53 00 www.vshn.ch
APPUiO by VSHN
Managed Docker, Kubernetes, OpenShift
Flavours: Big shared plattform in the
cloud, private plattform in the cloud or on-
premises
Hosted in Switzerland (ISO/FINMA-
certified) or whereever you want (AWS,
Azure, on-premises, etc)
Community for Developers and
Operations, Dev & Ops = DevOps
Free monthly half-day training TechLabs
Starting at CHF 40/mt
VSHN AG I Neugasse 10 I 8005 Zürich I T 044 545 53 00 www.vshn.ch
Get a free year of APPUiO
●
Get a free demo-account:
http://appuio.ch
●
Get a free-tier-account (soon)
●
Enter the draw for a year of APPUiO M
(1GB application RAM, 5GB SSD Storage)
●
http://bit.ly/pyappuio
VSHN AG I Neugasse 10 I 8005 Zürich I T 044 545 53 00 www.vshn.ch
Demotime
Links:
https://github.com/arska/python-hellowor
ld
https://github.com/arska/flask-helloworld
https://github.com/arska/cherrypy-hellow
orld
https://github.com/openshift/django-ex
VSHN AG I Neugasse 10 I 8005 Zürich I T 044 545 53 00 www.vshn.ch
Thanks!
We're looking fo
Python DevOps Engineers !
http://bit.ly/pydevops
Talk to @aarnoaukia or @andrekeller_ch

More Related Content

PDF
Docker Containers in Azure
PDF
DevOps for E-Commerce
PDF
From 0 to cloud in 60 seconds
PDF
SecDevOps 2017
PPTX
OpenStack vagrant & dashboard
PDF
Cloud Native Computing Meetup Zürich
PDF
OpenStack Storage Buddy Ceph
PDF
Introduction to Docker
Docker Containers in Azure
DevOps for E-Commerce
From 0 to cloud in 60 seconds
SecDevOps 2017
OpenStack vagrant & dashboard
Cloud Native Computing Meetup Zürich
OpenStack Storage Buddy Ceph
Introduction to Docker

What's hot (20)

PPT
OpenStack Dashboard Folsom Roadmap
PDF
Webinar: OpenStack Accelerates Software Development
PPTX
Using Docker in Production
PDF
Automated Serverless Pipelines with #GitOps on Codefresh
PDF
FaaS-and-Furious
PDF
Cloud Native Java in Kubernetes
PDF
1 cloud, 2 clouds, 3 clouds, tons...
PDF
OpenNebula Conf 2014 | Deploying OpenNebula in a Snap using Configuration Man...
PPTX
Container Days Conference Plesk 2016 - How AWS, Docker and Microservices infl...
PPTX
Monitoring mayhem - Using Prometheus
PPTX
WordPress Meetup Karlsruhe Plesk 2016 - Die Veränderung der Web Entwicklung -...
PDF
Kubernetes on AWS @ Zalando Tech
PPTX
How AWS,Docker and Microservices Influence Company Websites - Plesk
PPTX
Ceph Day Berlin: Hyperconverged cloud stack with Synnefo, Ganeti and Ceph
PPTX
AWS Meetup - Liquid Studio Helsinki
PDF
Continuous Lifecycle: Hijack Kubernetes
PDF
Cloud Native Islamabad - Getting Closer to Continuous Delivery with Knative
PDF
GitHub Actions 101
PDF
KCD Guatemala - Abstracciones sobre Abstracciones
PPTX
Multi-cloud CI/CD with failover powered by K8s, Istio, Helm, and Codefresh
OpenStack Dashboard Folsom Roadmap
Webinar: OpenStack Accelerates Software Development
Using Docker in Production
Automated Serverless Pipelines with #GitOps on Codefresh
FaaS-and-Furious
Cloud Native Java in Kubernetes
1 cloud, 2 clouds, 3 clouds, tons...
OpenNebula Conf 2014 | Deploying OpenNebula in a Snap using Configuration Man...
Container Days Conference Plesk 2016 - How AWS, Docker and Microservices infl...
Monitoring mayhem - Using Prometheus
WordPress Meetup Karlsruhe Plesk 2016 - Die Veränderung der Web Entwicklung -...
Kubernetes on AWS @ Zalando Tech
How AWS,Docker and Microservices Influence Company Websites - Plesk
Ceph Day Berlin: Hyperconverged cloud stack with Synnefo, Ganeti and Ceph
AWS Meetup - Liquid Studio Helsinki
Continuous Lifecycle: Hijack Kubernetes
Cloud Native Islamabad - Getting Closer to Continuous Delivery with Knative
GitHub Actions 101
KCD Guatemala - Abstracciones sobre Abstracciones
Multi-cloud CI/CD with failover powered by K8s, Istio, Helm, and Codefresh
Ad

Viewers also liked (9)

PDF
Cloud Computing Fundamental
PDF
Docker Meetup - Melbourne 2015 - Kubernetes Deep Dive
PPTX
Cloud computing stack
PDF
fabric8 ... and Docker, Kubernetes & OpenShift
PPTX
Achieving Cost and Resource Efficiency through Docker, OpenShift and Kubernetes
PPTX
Serverless on Kubernetes
PPTX
OpenShift Enterprise 3.1 vs kubernetes
PDF
Microservices, Containers, Docker and a Cloud-Native Architecture in the Midd...
PDF
Feature Engineering
Cloud Computing Fundamental
Docker Meetup - Melbourne 2015 - Kubernetes Deep Dive
Cloud computing stack
fabric8 ... and Docker, Kubernetes & OpenShift
Achieving Cost and Resource Efficiency through Docker, OpenShift and Kubernetes
Serverless on Kubernetes
OpenShift Enterprise 3.1 vs kubernetes
Microservices, Containers, Docker and a Cloud-Native Architecture in the Midd...
Feature Engineering
Ad

Similar to Scalable Python with Docker, Kubernetes, OpenShift (20)

PDF
Swiss magento meetup: APPUiO
PDF
Scalable Web Applications with 100% open source
PDF
Cloud Native Computing Meetup Zürich Jan 11 2018
PDF
Swiss IPv6 Council – Case Study - Deployment von IPv6 in einer Container Plat...
PDF
IPv6 on Container Plattforms
PDF
DevOps and Drupal
PDF
IT Governance and Security Architecture in Docker, Kubernetes, OpenShift
PDF
Securing DevOps
PDF
DevOps and Magento
PDF
Exoscale: a swiss cloud provider built with Apache Cloudstack
PDF
RHOSP6 DELL Summit - OpenStack
PDF
Application Portability using Cloud Native Technology: Docker, Kubernetes
PDF
The 'Serverless' Paradigm, OpenWhisk and FIWARE
PDF
The Serverless Paradigm, OpenWhisk and FIWARE
PPTX
The twelve factor app
PDF
High-Performance FAAS with Nuclio
PDF
Openstack summit2013-hongkong
PDF
Openshift Container Platform: First ItalyMeetup
PDF
DevOps on AWS
PDF
Red hat cloud platforms
Swiss magento meetup: APPUiO
Scalable Web Applications with 100% open source
Cloud Native Computing Meetup Zürich Jan 11 2018
Swiss IPv6 Council – Case Study - Deployment von IPv6 in einer Container Plat...
IPv6 on Container Plattforms
DevOps and Drupal
IT Governance and Security Architecture in Docker, Kubernetes, OpenShift
Securing DevOps
DevOps and Magento
Exoscale: a swiss cloud provider built with Apache Cloudstack
RHOSP6 DELL Summit - OpenStack
Application Portability using Cloud Native Technology: Docker, Kubernetes
The 'Serverless' Paradigm, OpenWhisk and FIWARE
The Serverless Paradigm, OpenWhisk and FIWARE
The twelve factor app
High-Performance FAAS with Nuclio
Openstack summit2013-hongkong
Openshift Container Platform: First ItalyMeetup
DevOps on AWS
Red hat cloud platforms

More from Aarno Aukia (20)

PDF
DevOps for AI: running LLMs in production with Kubernetes and KubeFlow
PDF
Wie macht man aus Software einen Online-Service in der Cloud
PDF
DevOps & DevSecOps in Swiss Banking
PDF
The printing press of 2021 - using GitLab to publish the VSHN Handbook
PDF
Applikationsmodernisierung: Der Weg von Legacy in die Cloud
PDF
DevSecOps - Security in DevOps
PDF
Security in the DevOps pipeline of containerized core application: Case Study...
PDF
Next gen software operations models in the cloud
PDF
Von der Straße in die Cloud: Optimierung von Logistikprozessen mit Docker, Ku...
PDF
Kubecon 2019 Recap
PDF
DevSecOps: Bringing security to the DevOps pipeline
PDF
DevSecOps: Bringing security to the DevOps pipeline
PDF
DevSecOps: Bringing security to the DevOps pipeline
PDF
My broken container is gone - how to debug containers on container platforms
PDF
Automated Server Administration for DevSecOps
PDF
Wir arbeiten in der Cloud – eine Herausforderung für das IT Management?
PDF
Continuous security improvements in the DevOps process
PDF
Moving Applications to the cloud
PDF
Migration von Applikationen in die Cloud
PDF
Cloud Native Computing & DevOps
DevOps for AI: running LLMs in production with Kubernetes and KubeFlow
Wie macht man aus Software einen Online-Service in der Cloud
DevOps & DevSecOps in Swiss Banking
The printing press of 2021 - using GitLab to publish the VSHN Handbook
Applikationsmodernisierung: Der Weg von Legacy in die Cloud
DevSecOps - Security in DevOps
Security in the DevOps pipeline of containerized core application: Case Study...
Next gen software operations models in the cloud
Von der Straße in die Cloud: Optimierung von Logistikprozessen mit Docker, Ku...
Kubecon 2019 Recap
DevSecOps: Bringing security to the DevOps pipeline
DevSecOps: Bringing security to the DevOps pipeline
DevSecOps: Bringing security to the DevOps pipeline
My broken container is gone - how to debug containers on container platforms
Automated Server Administration for DevSecOps
Wir arbeiten in der Cloud – eine Herausforderung für das IT Management?
Continuous security improvements in the DevOps process
Moving Applications to the cloud
Migration von Applikationen in die Cloud
Cloud Native Computing & DevOps

Recently uploaded (20)

PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PPTX
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PDF
Digital Strategies for Manufacturing Companies
PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
System and Network Administraation Chapter 3
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
How Creative Agencies Leverage Project Management Software.pdf
PPTX
Transform Your Business with a Software ERP System
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
System and Network Administration Chapter 2
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
Understanding Forklifts - TECH EHS Solution
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PPTX
ai tools demonstartion for schools and inter college
PDF
Softaken Excel to vCard Converter Software.pdf
PDF
Design an Analysis of Algorithms I-SECS-1021-03
Navsoft: AI-Powered Business Solutions & Custom Software Development
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Digital Strategies for Manufacturing Companies
Odoo POS Development Services by CandidRoot Solutions
System and Network Administraation Chapter 3
PTS Company Brochure 2025 (1).pdf.......
How Creative Agencies Leverage Project Management Software.pdf
Transform Your Business with a Software ERP System
VVF-Customer-Presentation2025-Ver1.9.pptx
Design an Analysis of Algorithms II-SECS-1021-03
System and Network Administration Chapter 2
2025 Textile ERP Trends: SAP, Odoo & Oracle
Understanding Forklifts - TECH EHS Solution
CHAPTER 2 - PM Management and IT Context
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
How to Migrate SBCGlobal Email to Yahoo Easily
ai tools demonstartion for schools and inter college
Softaken Excel to vCard Converter Software.pdf
Design an Analysis of Algorithms I-SECS-1021-03

Scalable Python with Docker, Kubernetes, OpenShift

  • 1. VSHN AG I Neugasse 10 I 8005 Zürich I T 044 545 53 00 www.vshn.ch Swiss Python Summit 2017 Scalable Python with Docker, Kubernetes, OpenShift Aarno Aukia VSHN AG
  • 2. VSHN AG I Neugasse 10 I 8005 Zürich I T 044 545 53 00 www.vshn.ch Agenda ● About Aarno / VSHN ● How were we running python before ● Shortcomings & wishes ● What is Docker, Kubernetes, OpenShift ? ● Why use them ? ● Demo
  • 3. VSHN AG I Neugasse 10 I 8005 Zürich I T 044 545 53 00 www.vshn.ch Who Aarno Aukia, CTO & co-founder ETH → Google → Atrila → VSHN @aarnoaukia http://about.me/aarno VSHN - the DevOps Company Since 2014: 18 people in Zürich Running web applications on-premises and in the clouds making both visitors and developers happy https://vshn.ch @vshn_ch
  • 4. VSHN AG I Neugasse 10 I 8005 Zürich I T 044 545 53 00 www.vshn.ch Ops: firefighting as a Service
  • 5. VSHN AG I Neugasse 10 I 8005 Zürich I T 044 545 53 00 www.vshn.ch DevOps: collaboration to fix source of problem
  • 6. VSHN AG I Neugasse 10 I 8005 Zürich I T 044 545 53 00 www.vshn.ch
  • 7. VSHN AG I Neugasse 10 I 8005 Zürich I T 044 545 53 00 www.vshn.ch How were we running python applications ? Virtual servers Web-/App-/Cache-/Queue-/DB-services managed by Puppet & Ansible Config in GIT, separate repo from application Local VM with vagrant from same config for development
  • 8. VSHN AG I Neugasse 10 I 8005 Zürich I T 044 545 53 00 www.vshn.ch Customer project with python, celery, postgres
  • 9. VSHN AG I Neugasse 10 I 8005 Zürich I T 044 545 53 00 www.vshn.ch Shortcomings Scaling up/down servers takes manual effort & time Python/Postgres/Apache/RabitMQ versions/plugins defined by configuration management for each server, not for each project/deployment and have to be communicated separately Adding new components is complex, lots of moving parts and risk
  • 10. VSHN AG I Neugasse 10 I 8005 Zürich I T 044 545 53 00 www.vshn.ch Wishful thinking... Solves build-ship-run workflow, integrates in CI/CD, DevOps & self-service Handles the standard software plattform problems: scaling, hitless deployment, monitoring, backup, etc Open standards: 100% open source, backed by big community No lock-in, free to choose any provider, works on any infrastructure Extensible with API
  • 11. VSHN AG I Neugasse 10 I 8005 Zürich I T 044 545 53 00 www.vshn.ch Docker Lightweight container runtime Package code, runtime, plugins, libraries 'Dockerfile' describes image, Automatically built, quickly started Helps you to use 12-Factor-App pattern (explicit entrypoint, port, volume configurations) https://blog.vshn.ch/2016/11/docker https://github.com/docker/docker
  • 12. VSHN AG I Neugasse 10 I 8005 Zürich I T 044 545 53 00 www.vshn.ch 12 Factor App Patterns: https://12factor.net/ ● Use declarative formats for setup automation ● Have a clean, portable contract with the underlying operating system ● Are suitable for deployment on modern cloud platforms ● Minimize divergence between development and production, enabling continuous deployment ● And can scale up without significant changes to tooling, architecture, or development practices.
  • 13. VSHN AG I Neugasse 10 I 8005 Zürich I T 044 545 53 00 www.vshn.ch From container to production ?
  • 14. VSHN AG I Neugasse 10 I 8005 Zürich I T 044 545 53 00 www.vshn.ch Kubernetes Container orchestrator: 'here is a container, run 3 of these with this config and give me a loadbalancer' 'distribute all my containers over these servers and make sure they can talk to each other' 'here is a new version of this container, update all my services without interruption' https://blog.vshn.ch/2016/08/openshift https://github.com/kubernetes/kubernete s
  • 15. VSHN AG I Neugasse 10 I 8005 Zürich I T 044 545 53 00 www.vshn.ch Container orchestration
  • 16. VSHN AG I Neugasse 10 I 8005 Zürich I T 044 545 53 00 www.vshn.ch OpenShift How to get the application in the container ? Web-GUI, CLI client, REST-API https://blog.vshn.ch/2016/08/openshift https://github.com/openshift/origin
  • 17. VSHN AG I Neugasse 10 I 8005 Zürich I T 044 545 53 00 www.vshn.ch OpenShift
  • 18. VSHN AG I Neugasse 10 I 8005 Zürich I T 044 545 53 00 www.vshn.ch Why? You have full control over the container contents → no more old versions by the hosting provider You control the build, deploy, run process from the GUI/CLI/API Plattform takes care of seamless deployment, SSL, load balancing, scaling, system updates, monitoring, backups, hardware, storage, network, etc You don't need to handle Docker, Kubernetes, OpenShift internals if you don't want to
  • 19. VSHN AG I Neugasse 10 I 8005 Zürich I T 044 545 53 00 www.vshn.ch APPUiO by VSHN Managed Docker, Kubernetes, OpenShift Flavours: Big shared plattform in the cloud, private plattform in the cloud or on- premises Hosted in Switzerland (ISO/FINMA- certified) or whereever you want (AWS, Azure, on-premises, etc) Community for Developers and Operations, Dev & Ops = DevOps Free monthly half-day training TechLabs Starting at CHF 40/mt
  • 20. VSHN AG I Neugasse 10 I 8005 Zürich I T 044 545 53 00 www.vshn.ch Get a free year of APPUiO ● Get a free demo-account: http://appuio.ch ● Get a free-tier-account (soon) ● Enter the draw for a year of APPUiO M (1GB application RAM, 5GB SSD Storage) ● http://bit.ly/pyappuio
  • 21. VSHN AG I Neugasse 10 I 8005 Zürich I T 044 545 53 00 www.vshn.ch Demotime Links: https://github.com/arska/python-hellowor ld https://github.com/arska/flask-helloworld https://github.com/arska/cherrypy-hellow orld https://github.com/openshift/django-ex
  • 22. VSHN AG I Neugasse 10 I 8005 Zürich I T 044 545 53 00 www.vshn.ch Thanks! We're looking fo Python DevOps Engineers ! http://bit.ly/pydevops Talk to @aarnoaukia or @andrekeller_ch