SlideShare una empresa de Scribd logo
1 de 22
Descargar para leer sin conexión
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

Más contenido relacionado

La actualidad más candente

OpenStack Dashboard Folsom Roadmap
OpenStack Dashboard Folsom RoadmapOpenStack Dashboard Folsom Roadmap
OpenStack Dashboard Folsom Roadmap
devcamcar
 
Ceph Day Berlin: Hyperconverged cloud stack with Synnefo, Ganeti and Ceph
Ceph Day Berlin: Hyperconverged cloud stack with Synnefo, Ganeti and CephCeph Day Berlin: Hyperconverged cloud stack with Synnefo, Ganeti and Ceph
Ceph Day Berlin: Hyperconverged cloud stack with Synnefo, Ganeti and Ceph
Ceph Community
 

La actualidad más candente (20)

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

Destacado

Achieving Cost and Resource Efficiency through Docker, OpenShift and Kubernetes
Achieving Cost and Resource Efficiency through Docker, OpenShift and KubernetesAchieving Cost and Resource Efficiency through Docker, OpenShift and Kubernetes
Achieving Cost and Resource Efficiency through Docker, OpenShift and Kubernetes
Dean Delamont
 
Microservices, Containers, Docker and a Cloud-Native Architecture in the Midd...
Microservices, Containers, Docker and a Cloud-Native Architecture in the Midd...Microservices, Containers, Docker and a Cloud-Native Architecture in the Midd...
Microservices, Containers, Docker and a Cloud-Native Architecture in the Midd...
Kai Wähner
 

Destacado (9)

Cloud Computing Fundamental
Cloud Computing FundamentalCloud Computing Fundamental
Cloud Computing Fundamental
 
Docker Meetup - Melbourne 2015 - Kubernetes Deep Dive
Docker Meetup - Melbourne 2015 - Kubernetes Deep DiveDocker Meetup - Melbourne 2015 - Kubernetes Deep Dive
Docker Meetup - Melbourne 2015 - Kubernetes Deep Dive
 
Cloud computing stack
Cloud computing stackCloud computing stack
Cloud computing stack
 
fabric8 ... and Docker, Kubernetes & OpenShift
fabric8 ... and Docker, Kubernetes & OpenShiftfabric8 ... and Docker, Kubernetes & OpenShift
fabric8 ... and Docker, Kubernetes & OpenShift
 
Achieving Cost and Resource Efficiency through Docker, OpenShift and Kubernetes
Achieving Cost and Resource Efficiency through Docker, OpenShift and KubernetesAchieving Cost and Resource Efficiency through Docker, OpenShift and Kubernetes
Achieving Cost and Resource Efficiency through Docker, OpenShift and Kubernetes
 
Serverless on Kubernetes
Serverless on KubernetesServerless on Kubernetes
Serverless on Kubernetes
 
OpenShift Enterprise 3.1 vs kubernetes
OpenShift Enterprise 3.1 vs kubernetesOpenShift Enterprise 3.1 vs kubernetes
OpenShift Enterprise 3.1 vs kubernetes
 
Microservices, Containers, Docker and a Cloud-Native Architecture in the Midd...
Microservices, Containers, Docker and a Cloud-Native Architecture in the Midd...Microservices, Containers, Docker and a Cloud-Native Architecture in the Midd...
Microservices, Containers, Docker and a Cloud-Native Architecture in the Midd...
 
Feature Engineering
Feature EngineeringFeature Engineering
Feature Engineering
 

Similar a Scalable Python with Docker, Kubernetes, OpenShift

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

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

Más de Aarno Aukia

Más de Aarno Aukia (20)

Wie macht man aus Software einen Online-Service in der Cloud
Wie macht man aus Software einen Online-Service in der CloudWie macht man aus Software einen Online-Service in der Cloud
Wie macht man aus Software einen Online-Service in der Cloud
 
DevOps & DevSecOps in Swiss Banking
DevOps & DevSecOps in Swiss BankingDevOps & DevSecOps in Swiss Banking
DevOps & DevSecOps in Swiss Banking
 
The printing press of 2021 - using GitLab to publish the VSHN Handbook
The printing press of 2021 - using GitLab to publish the VSHN HandbookThe printing press of 2021 - using GitLab to publish the VSHN Handbook
The printing press of 2021 - using GitLab to publish the VSHN Handbook
 
Applikationsmodernisierung: Der Weg von Legacy in die Cloud
Applikationsmodernisierung: Der Weg von Legacy in die CloudApplikationsmodernisierung: Der Weg von Legacy in die Cloud
Applikationsmodernisierung: Der Weg von Legacy in die Cloud
 
DevSecOps - Security in DevOps
DevSecOps - Security in DevOpsDevSecOps - Security in DevOps
DevSecOps - Security in DevOps
 
Security in the DevOps pipeline of containerized core application: Case Study...
Security in the DevOps pipeline of containerized core application: Case Study...Security in the DevOps pipeline of containerized core application: Case Study...
Security in the DevOps pipeline of containerized core application: Case Study...
 
Next gen software operations models in the cloud
Next gen software operations models in the cloudNext gen software operations models in the cloud
Next gen software operations models in the cloud
 
Von der Straße in die Cloud: Optimierung von Logistikprozessen mit Docker, Ku...
Von der Straße in die Cloud: Optimierung von Logistikprozessen mit Docker, Ku...Von der Straße in die Cloud: Optimierung von Logistikprozessen mit Docker, Ku...
Von der Straße in die Cloud: Optimierung von Logistikprozessen mit Docker, Ku...
 
Kubecon 2019 Recap
Kubecon 2019 RecapKubecon 2019 Recap
Kubecon 2019 Recap
 
DevSecOps: Bringing security to the DevOps pipeline
DevSecOps: Bringing security to the DevOps pipelineDevSecOps: Bringing security to the DevOps pipeline
DevSecOps: Bringing security to the DevOps pipeline
 
DevSecOps: Bringing security to the DevOps pipeline
DevSecOps: Bringing security to the DevOps pipelineDevSecOps: Bringing security to the DevOps pipeline
DevSecOps: Bringing security to the DevOps pipeline
 
DevSecOps: Bringing security to the DevOps pipeline
DevSecOps: Bringing security to the DevOps pipelineDevSecOps: 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
My broken container is gone - how to debug containers on container platformsMy broken container is gone - how to debug containers on container platforms
My broken container is gone - how to debug containers on container platforms
 
Automated Server Administration for DevSecOps
Automated Server Administration for DevSecOpsAutomated Server Administration for DevSecOps
Automated Server Administration for DevSecOps
 
Wir arbeiten in der Cloud – eine Herausforderung für das IT Management?
Wir arbeiten in der Cloud – eine Herausforderung für das IT Management?Wir arbeiten in der Cloud – eine Herausforderung für das IT Management?
Wir arbeiten in der Cloud – eine Herausforderung für das IT Management?
 
Continuous security improvements in the DevOps process
Continuous security improvements in the DevOps processContinuous security improvements in the DevOps process
Continuous security improvements in the DevOps process
 
Moving Applications to the cloud
Moving Applications to the cloudMoving Applications to the cloud
Moving Applications to the cloud
 
Migration von Applikationen in die Cloud
Migration von Applikationen in die CloudMigration von Applikationen in die Cloud
Migration von Applikationen in die Cloud
 
Cloud Native Computing & DevOps
Cloud Native Computing & DevOpsCloud Native Computing & DevOps
Cloud Native Computing & DevOps
 
Cloud Native Computing
Cloud Native ComputingCloud Native Computing
Cloud Native Computing
 

Último

%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
masabamasaba
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
masabamasaba
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
chiefasafspells
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
masabamasaba
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
VictoriaMetrics
 

Último (20)

%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
WSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - KeynoteWSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - Keynote
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 

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