SlideShare une entreprise Scribd logo
1  sur  26
Télécharger pour lire hors ligne
From Heroku to Kubernetes :
A production use case
Antoine Legrand
Smaine Kahlouch
Arkena 2016
2
AGENDA
• Presentation of Arkena
• Former Hosting plateform on Heroku, why to leave ?
• Is kubernetes able to provide similar features as
Heroku ?
• Migration steps
• Project lessons
• Deployment tools
WHO WE ARE
YOUR TRUSTED MEDIA PARTNER
3
A TDF Group
Business Unit
• 16 POPs CDN
• 1 Tbps connectivity
• 400 live radios & 360 live TVs
• 630 hours of On Demand video processed daily
• United Kingdom
• Norway
• USA
• Finland
• Denmark
• Poland
• France
• Spain
• Sweden
13 Offices in 9 Countries
A team of 400 employees
At a glance
ARKENA OTT / CDN
A UNIQUE EUROPEAN PRESENCE, ESPECIALLY FRANCE AND NORDICS
5
Content management
User accounts management
Content processing & protection
6
HEROKU KEY FEATURES
• No need to worry about the underlying infrastructure
• Easy to scale apps
• Full application stacks are easy to install with Heroku addons
• Easy to iterate from dev to production
7
CONTEXT
• Our VOD plateform gets increasingly successful with our
clients
• The Heroku Costs became significant
• Are we able to keep the same features as Heroku on Bare-
Metal ?
8
FEATURES REQUIREMENTS
• High availability and scalability
• Log management
• Monitoring
• Network performances
8
KUBERNETES CHOICE
• Kubernetes looked promising
• Deep investigation on kubernetes features
• POC validation
10
FEATURES REQUIREMENTS
• High availability and scalability
10
HIGH AVAILABILITY & SCALABILITY
• Pods and Replication controllers
• Quickly increase the number of replicas
• Horizontal pod autoscaling
• Multi datacenters architecture
• Database replication
12
FEATURES REQUIREMENTS
• High availability and scalability
• Log management
13
LOGS MANAGEMENT
• Kubernetes DaemonSet
• Log processing
• Reliable transport and storage
• Kibana WebUI
14
FEATURES REQUIREMENTS
• High availability and scalability
• Log management
• Monitoring
14
MONITORING
• Kubernetes Health checks
• Shinken servers (alerting)
• Data performances metrics : Influxdb with Heapster
• NewRelic hosted monitoring solution
16
FEATURES REQUIREMENTS
• High availability and scalability
• Log management
• Monitoring
• Network performances
16
ARKENA'S KUBERNETES CLUSTER
• 2 distinct kubernetes clusters
(1 per datacenter)
• 12 nodes (Total: 288 cpus
and 1152G of memory)
• Haproxy loadbalancers
• Multi-tenant database server
• Network plugin: Calico
19
MIGRATION STEPS FROM HEROKU
1. Deploy application stack on kubernetes
2. Copy Heroku's database on Arkena's db servers
3. Configure Heroku app to use Arkena's database server
4. QA tests (rollback if any problem)
5. Update the DNS
6. Keep both platforms running during a validation period
23
PROJECT PROGRESS ISSUES
• It's important to involve all teams.
• Not clear recomandations on High availability and
upgrade procedure
• Ecosystem tools are still young
20
KUBESPRAY
• Open Source project to deploy a kubernetes cluster
(Baremetal, AWS and GCE)
• Current supported network plugins : Weave, Flannel &
Calico.
Coming soon : Romana and Opencontrail
• Support most popular Linux distributions (CoreOS,
Centos/RHEL, Debian/Ubuntu)
• Continuous Integration tests.
About 60 3-nodes clusters per day
21
KPM APPS DEPLOYMENT
• Deploy full application stack
• Dependency management
• Reproducible and versionned deployment
• Ready to use application registry
22
KPM KEY FEATURES
• One command line to install an app stack
• Super easy packaging
http://kpm.kubespray.io
kpm install heapster
22
NEXT STEPS
• Ubernetes
• Continuous Deployment (Openshift, DEIS …)
• Network policies enforcement
• Custom metrics Autoscaling
23
CONCLUSION
• Successful migration from Heroku to Kubernetes on
production
• Technical teams are very interested on Kubernetes
• Better resources management
• Greatly reduced infrastructure costs
24
THANK YOU !
25
LINKS
Kubespray : https://docs.kubespray.io
Kubespray CI : https://travis.kubespray.io
Kpm : https://github.com/kubespray/kpm
Network benchs : https://smana.kubespray.io
French community : https://www.kubernetes-fr.org
26
About us
System engineer and Devops
Work Experience
Smaine is a senior technical lead and devops
engineer at Arkena with 10 years experience
in Devops, Linux and open source
softwares.He built several streaming
plateforms (CDN, OTT) and he's currently in
charge of the engineering of Arkena's OTT
Plateform.Furthermore he's the Ansible Paris
meetup organizer and had talks on different
topics (Docker, Kubernetes, Ansible).
Smaine Kahlouch Antoine Legrand
Lead software engineer
Work Experience
Antoine Legrand is a senior software
engineer with 7 years experience.He
designs and leads the development of
Arkena's video-on-demand platform
used by large Broadcasters (Tf1, BeIn
Sports, Elisa....).He's an open source
softwares addict and co-author of
kubespray.io project.

Contenu connexe

Tendances

Kubernetes and OpenStack at Scale
Kubernetes and OpenStack at ScaleKubernetes and OpenStack at Scale
Kubernetes and OpenStack at ScaleStephen Gordon
 
Fabric8 - Being devOps doesn't suck anymore
Fabric8 - Being devOps doesn't suck anymoreFabric8 - Being devOps doesn't suck anymore
Fabric8 - Being devOps doesn't suck anymoreHenryk Konsek
 
oVirt 3.6 Deep Dive: Refresh LUN size
oVirt 3.6 Deep Dive: Refresh LUN sizeoVirt 3.6 Deep Dive: Refresh LUN size
oVirt 3.6 Deep Dive: Refresh LUN sizeFreddy Rolland
 
CD, docker and kubernetes
CD, docker and  kubernetesCD, docker and  kubernetes
CD, docker and kubernetesMartin Podval
 
Extended and embedding: containerd update & project use cases
Extended and embedding: containerd update & project use casesExtended and embedding: containerd update & project use cases
Extended and embedding: containerd update & project use casesPhil Estes
 
Disaster recovery solution with open nebula and storpool
Disaster recovery solution with open nebula and storpoolDisaster recovery solution with open nebula and storpool
Disaster recovery solution with open nebula and storpoolOpenNebula Project
 
WSO2 Kubernetes Reference Architecture - Nov 2017
WSO2 Kubernetes Reference Architecture - Nov 2017WSO2 Kubernetes Reference Architecture - Nov 2017
WSO2 Kubernetes Reference Architecture - Nov 2017Imesh Gunaratne
 
Introducing Koki Short
Introducing Koki ShortIntroducing Koki Short
Introducing Koki ShortSidhartha Mani
 
OSDC 2018 | Monitoring Kubernetes at Scale by Monica Sarbu
OSDC 2018 | Monitoring Kubernetes at Scale by Monica SarbuOSDC 2018 | Monitoring Kubernetes at Scale by Monica Sarbu
OSDC 2018 | Monitoring Kubernetes at Scale by Monica SarbuNETWAYS
 
Create a One Click Migration (OCM) process to Automate Repeatable Infrastruct...
Create a One Click Migration (OCM) process to Automate Repeatable Infrastruct...Create a One Click Migration (OCM) process to Automate Repeatable Infrastruct...
Create a One Click Migration (OCM) process to Automate Repeatable Infrastruct...Quantyca - Data at Core
 
A Closer Look at Kubernetes Pods and Replica Sets
A Closer Look at Kubernetes Pods and Replica SetsA Closer Look at Kubernetes Pods and Replica Sets
A Closer Look at Kubernetes Pods and Replica SetsJanakiram MSV
 
OSDC 2018 | Scaling & High Availability MySQL learnings from the past decade+...
OSDC 2018 | Scaling & High Availability MySQL learnings from the past decade+...OSDC 2018 | Scaling & High Availability MySQL learnings from the past decade+...
OSDC 2018 | Scaling & High Availability MySQL learnings from the past decade+...NETWAYS
 
FOSDEM 2019: A containerd Project Update
FOSDEM 2019: A containerd Project UpdateFOSDEM 2019: A containerd Project Update
FOSDEM 2019: A containerd Project UpdatePhil Estes
 
ONAP MultiCloud/K8s Casablanca
ONAP MultiCloud/K8s CasablancaONAP MultiCloud/K8s Casablanca
ONAP MultiCloud/K8s CasablancaVictor Morales
 

Tendances (20)

CRI, OCI, and CRI-O
CRI, OCI, and CRI-OCRI, OCI, and CRI-O
CRI, OCI, and CRI-O
 
Kubernetes and OpenStack at Scale
Kubernetes and OpenStack at ScaleKubernetes and OpenStack at Scale
Kubernetes and OpenStack at Scale
 
Fabric8 - Being devOps doesn't suck anymore
Fabric8 - Being devOps doesn't suck anymoreFabric8 - Being devOps doesn't suck anymore
Fabric8 - Being devOps doesn't suck anymore
 
Kubernetes
KubernetesKubernetes
Kubernetes
 
oVirt 3.6 Deep Dive: Refresh LUN size
oVirt 3.6 Deep Dive: Refresh LUN sizeoVirt 3.6 Deep Dive: Refresh LUN size
oVirt 3.6 Deep Dive: Refresh LUN size
 
Carbon 5 : A Preview
Carbon 5 : A PreviewCarbon 5 : A Preview
Carbon 5 : A Preview
 
CD, docker and kubernetes
CD, docker and  kubernetesCD, docker and  kubernetes
CD, docker and kubernetes
 
Containers and HPC
Containers and HPCContainers and HPC
Containers and HPC
 
Docker for HPC in a Nutshell
Docker for HPC in a NutshellDocker for HPC in a Nutshell
Docker for HPC in a Nutshell
 
Extended and embedding: containerd update & project use cases
Extended and embedding: containerd update & project use casesExtended and embedding: containerd update & project use cases
Extended and embedding: containerd update & project use cases
 
Disaster recovery solution with open nebula and storpool
Disaster recovery solution with open nebula and storpoolDisaster recovery solution with open nebula and storpool
Disaster recovery solution with open nebula and storpool
 
WSO2 Kubernetes Reference Architecture - Nov 2017
WSO2 Kubernetes Reference Architecture - Nov 2017WSO2 Kubernetes Reference Architecture - Nov 2017
WSO2 Kubernetes Reference Architecture - Nov 2017
 
WSO2 Container Strategy
WSO2 Container StrategyWSO2 Container Strategy
WSO2 Container Strategy
 
Introducing Koki Short
Introducing Koki ShortIntroducing Koki Short
Introducing Koki Short
 
OSDC 2018 | Monitoring Kubernetes at Scale by Monica Sarbu
OSDC 2018 | Monitoring Kubernetes at Scale by Monica SarbuOSDC 2018 | Monitoring Kubernetes at Scale by Monica Sarbu
OSDC 2018 | Monitoring Kubernetes at Scale by Monica Sarbu
 
Create a One Click Migration (OCM) process to Automate Repeatable Infrastruct...
Create a One Click Migration (OCM) process to Automate Repeatable Infrastruct...Create a One Click Migration (OCM) process to Automate Repeatable Infrastruct...
Create a One Click Migration (OCM) process to Automate Repeatable Infrastruct...
 
A Closer Look at Kubernetes Pods and Replica Sets
A Closer Look at Kubernetes Pods and Replica SetsA Closer Look at Kubernetes Pods and Replica Sets
A Closer Look at Kubernetes Pods and Replica Sets
 
OSDC 2018 | Scaling & High Availability MySQL learnings from the past decade+...
OSDC 2018 | Scaling & High Availability MySQL learnings from the past decade+...OSDC 2018 | Scaling & High Availability MySQL learnings from the past decade+...
OSDC 2018 | Scaling & High Availability MySQL learnings from the past decade+...
 
FOSDEM 2019: A containerd Project Update
FOSDEM 2019: A containerd Project UpdateFOSDEM 2019: A containerd Project Update
FOSDEM 2019: A containerd Project Update
 
ONAP MultiCloud/K8s Casablanca
ONAP MultiCloud/K8s CasablancaONAP MultiCloud/K8s Casablanca
ONAP MultiCloud/K8s Casablanca
 

En vedette

Salman Khaja - Resume
Salman Khaja - ResumeSalman Khaja - Resume
Salman Khaja - ResumeSalman Khaja
 
Geography, Countries
Geography, CountriesGeography, Countries
Geography, CountriesFatima Sabri
 
«Продукция Feron для яркого Нового года»
«Продукция Feron для яркого Нового года»«Продукция Feron для яркого Нового года»
«Продукция Feron для яркого Нового года»FeronLTD
 
«Преимущества новых LED ламп»
«Преимущества новых LED ламп»«Преимущества новых LED ламп»
«Преимущества новых LED ламп»FeronLTD
 
Caso patologia, encefalitozoonosis
Caso patologia, encefalitozoonosis Caso patologia, encefalitozoonosis
Caso patologia, encefalitozoonosis Fausto Pantoja
 
Social learning manual presentation week 6 team c
Social learning manual presentation week 6 team cSocial learning manual presentation week 6 team c
Social learning manual presentation week 6 team cAlisa Bown
 
технология електротехнічних робіт
технология електротехнічних робіттехнология електротехнічних робіт
технология електротехнічних робітfalkovolodymyr
 
Stabiliser salt stack_avec_ansible
Stabiliser salt stack_avec_ansibleStabiliser salt stack_avec_ansible
Stabiliser salt stack_avec_ansibleSmaïne KAHLOUCH
 

En vedette (17)

Salman Khaja - Resume
Salman Khaja - ResumeSalman Khaja - Resume
Salman Khaja - Resume
 
08
0808
08
 
Geography, Countries
Geography, CountriesGeography, Countries
Geography, Countries
 
«Продукция Feron для яркого Нового года»
«Продукция Feron для яркого Нового года»«Продукция Feron для яркого Нового года»
«Продукция Feron для яркого Нового года»
 
Herramientas gerenciales 1
Herramientas gerenciales 1Herramientas gerenciales 1
Herramientas gerenciales 1
 
The srangers analysis
The srangers analysisThe srangers analysis
The srangers analysis
 
«Преимущества новых LED ламп»
«Преимущества новых LED ламп»«Преимущества новых LED ламп»
«Преимущества новых LED ламп»
 
Kashif Hamid CV
Kashif Hamid CVKashif Hamid CV
Kashif Hamid CV
 
Caso patologia, encefalitozoonosis
Caso patologia, encefalitozoonosis Caso patologia, encefalitozoonosis
Caso patologia, encefalitozoonosis
 
Social learning manual presentation week 6 team c
Social learning manual presentation week 6 team cSocial learning manual presentation week 6 team c
Social learning manual presentation week 6 team c
 
технология електротехнічних робіт
технология електротехнічних робіттехнология електротехнічних робіт
технология електротехнічних робіт
 
Family!
Family! Family!
Family!
 
Installing JVM
Installing JVMInstalling JVM
Installing JVM
 
94 cjp
94 cjp94 cjp
94 cjp
 
Stabiliser salt stack_avec_ansible
Stabiliser salt stack_avec_ansibleStabiliser salt stack_avec_ansible
Stabiliser salt stack_avec_ansible
 
GMOs
GMOsGMOs
GMOs
 
Au vest no299
Au vest no299Au vest no299
Au vest no299
 

Similaire à Arkena from heroku_to_k8s

Running and Managing Kubernetes on OpenStack
Running and Managing Kubernetes on OpenStackRunning and Managing Kubernetes on OpenStack
Running and Managing Kubernetes on OpenStackVictor Palma
 
Leveraging OpenStack at Scale: How the Elastic Cloud Drives Innovation Velocity
Leveraging OpenStack at Scale: How the Elastic Cloud Drives Innovation VelocityLeveraging OpenStack at Scale: How the Elastic Cloud Drives Innovation Velocity
Leveraging OpenStack at Scale: How the Elastic Cloud Drives Innovation VelocityTesora
 
Rancher Labs - Your own PaaS in action
Rancher Labs - Your own PaaS in actionRancher Labs - Your own PaaS in action
Rancher Labs - Your own PaaS in actionOpenNebula Project
 
NGINX Lunch and Learn Event: Kubernetes and the NGINX Plus Ingress controller
NGINX Lunch and Learn Event: Kubernetes and the NGINX Plus Ingress controllerNGINX Lunch and Learn Event: Kubernetes and the NGINX Plus Ingress controller
NGINX Lunch and Learn Event: Kubernetes and the NGINX Plus Ingress controllerKatherine Bagood
 
Introduction to Apache Mesos and DC/OS
Introduction to Apache Mesos and DC/OSIntroduction to Apache Mesos and DC/OS
Introduction to Apache Mesos and DC/OSSteve Wong
 
DEVNET-1183 OpenShift + Kubernetes + Docker
DEVNET-1183	OpenShift + Kubernetes + DockerDEVNET-1183	OpenShift + Kubernetes + Docker
DEVNET-1183 OpenShift + Kubernetes + DockerCisco DevNet
 
APPLICATIONS AND CONTAINERS AT SCALE: OpenShift + Kubernetes + Docker
APPLICATIONS AND CONTAINERS AT SCALE: OpenShift + Kubernetes + DockerAPPLICATIONS AND CONTAINERS AT SCALE: OpenShift + Kubernetes + Docker
APPLICATIONS AND CONTAINERS AT SCALE: OpenShift + Kubernetes + DockerSteven Pousty
 
Evénement Docker Paris: Anticipez les nouveaux business model et réduisez vos...
Evénement Docker Paris: Anticipez les nouveaux business model et réduisez vos...Evénement Docker Paris: Anticipez les nouveaux business model et réduisez vos...
Evénement Docker Paris: Anticipez les nouveaux business model et réduisez vos...Docker, Inc.
 
Docker Containers Deep Dive
Docker Containers Deep DiveDocker Containers Deep Dive
Docker Containers Deep DiveWill Kinard
 
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, KubernetesAarno Aukia
 
EGI TF 2013 / Cloud Interoperability Week – Hands-On Tutorial
EGI TF 2013 / Cloud Interoperability Week – Hands-On TutorialEGI TF 2013 / Cloud Interoperability Week – Hands-On Tutorial
EGI TF 2013 / Cloud Interoperability Week – Hands-On TutorialOpenNebula Project
 
Persistent Storage for stateful applications on Kubernetes made easy with Ope...
Persistent Storage for stateful applications on Kubernetes made easy with Ope...Persistent Storage for stateful applications on Kubernetes made easy with Ope...
Persistent Storage for stateful applications on Kubernetes made easy with Ope...MayaData Inc
 
Centralizing Kubernetes and Container Operations
Centralizing Kubernetes and Container OperationsCentralizing Kubernetes and Container Operations
Centralizing Kubernetes and Container OperationsKublr
 
Why kubernetes matters
Why kubernetes mattersWhy kubernetes matters
Why kubernetes mattersPlatform9
 
YARN Containerized Services: Fading The Lines Between On-Prem And Cloud
YARN Containerized Services: Fading The Lines Between On-Prem And CloudYARN Containerized Services: Fading The Lines Between On-Prem And Cloud
YARN Containerized Services: Fading The Lines Between On-Prem And CloudDataWorks Summit
 
Betfair + Couchbase
Betfair + CouchbaseBetfair + Couchbase
Betfair + Couchbasebloodredsun
 

Similaire à Arkena from heroku_to_k8s (20)

Data harmonycloudpowerpointclientfacing
Data harmonycloudpowerpointclientfacingData harmonycloudpowerpointclientfacing
Data harmonycloudpowerpointclientfacing
 
Running and Managing Kubernetes on OpenStack
Running and Managing Kubernetes on OpenStackRunning and Managing Kubernetes on OpenStack
Running and Managing Kubernetes on OpenStack
 
Docker for Mac
Docker for MacDocker for Mac
Docker for Mac
 
Leveraging OpenStack at Scale: How the Elastic Cloud Drives Innovation Velocity
Leveraging OpenStack at Scale: How the Elastic Cloud Drives Innovation VelocityLeveraging OpenStack at Scale: How the Elastic Cloud Drives Innovation Velocity
Leveraging OpenStack at Scale: How the Elastic Cloud Drives Innovation Velocity
 
Rancher Labs - Your own PaaS in action
Rancher Labs - Your own PaaS in actionRancher Labs - Your own PaaS in action
Rancher Labs - Your own PaaS in action
 
Rancher Labs - Your own PaaS in action
Rancher Labs - Your own PaaS in actionRancher Labs - Your own PaaS in action
Rancher Labs - Your own PaaS in action
 
NGINX Lunch and Learn Event: Kubernetes and the NGINX Plus Ingress controller
NGINX Lunch and Learn Event: Kubernetes and the NGINX Plus Ingress controllerNGINX Lunch and Learn Event: Kubernetes and the NGINX Plus Ingress controller
NGINX Lunch and Learn Event: Kubernetes and the NGINX Plus Ingress controller
 
Introduction to Apache Mesos and DC/OS
Introduction to Apache Mesos and DC/OSIntroduction to Apache Mesos and DC/OS
Introduction to Apache Mesos and DC/OS
 
DEVNET-1183 OpenShift + Kubernetes + Docker
DEVNET-1183	OpenShift + Kubernetes + DockerDEVNET-1183	OpenShift + Kubernetes + Docker
DEVNET-1183 OpenShift + Kubernetes + Docker
 
APPLICATIONS AND CONTAINERS AT SCALE: OpenShift + Kubernetes + Docker
APPLICATIONS AND CONTAINERS AT SCALE: OpenShift + Kubernetes + DockerAPPLICATIONS AND CONTAINERS AT SCALE: OpenShift + Kubernetes + Docker
APPLICATIONS AND CONTAINERS AT SCALE: OpenShift + Kubernetes + Docker
 
Evénement Docker Paris: Anticipez les nouveaux business model et réduisez vos...
Evénement Docker Paris: Anticipez les nouveaux business model et réduisez vos...Evénement Docker Paris: Anticipez les nouveaux business model et réduisez vos...
Evénement Docker Paris: Anticipez les nouveaux business model et réduisez vos...
 
Docker Containers Deep Dive
Docker Containers Deep DiveDocker Containers Deep Dive
Docker Containers Deep Dive
 
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
 
EGI TF 2013 / Cloud Interoperability Week – Hands-On Tutorial
EGI TF 2013 / Cloud Interoperability Week – Hands-On TutorialEGI TF 2013 / Cloud Interoperability Week – Hands-On Tutorial
EGI TF 2013 / Cloud Interoperability Week – Hands-On Tutorial
 
Persistent Storage for stateful applications on Kubernetes made easy with Ope...
Persistent Storage for stateful applications on Kubernetes made easy with Ope...Persistent Storage for stateful applications on Kubernetes made easy with Ope...
Persistent Storage for stateful applications on Kubernetes made easy with Ope...
 
Centralizing Kubernetes and Container Operations
Centralizing Kubernetes and Container OperationsCentralizing Kubernetes and Container Operations
Centralizing Kubernetes and Container Operations
 
Why kubernetes matters
Why kubernetes mattersWhy kubernetes matters
Why kubernetes matters
 
YARN Containerized Services: Fading The Lines Between On-Prem And Cloud
YARN Containerized Services: Fading The Lines Between On-Prem And CloudYARN Containerized Services: Fading The Lines Between On-Prem And Cloud
YARN Containerized Services: Fading The Lines Between On-Prem And Cloud
 
Betfair + Couchbase
Betfair + CouchbaseBetfair + Couchbase
Betfair + Couchbase
 
OpenStack Marketing Meeting Oct 2
OpenStack Marketing Meeting Oct 2OpenStack Marketing Meeting Oct 2
OpenStack Marketing Meeting Oct 2
 

Dernier

Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfOverkill Security
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 

Dernier (20)

Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 

Arkena from heroku_to_k8s

  • 1. From Heroku to Kubernetes : A production use case Antoine Legrand Smaine Kahlouch Arkena 2016
  • 2. 2 AGENDA • Presentation of Arkena • Former Hosting plateform on Heroku, why to leave ? • Is kubernetes able to provide similar features as Heroku ? • Migration steps • Project lessons • Deployment tools
  • 3. WHO WE ARE YOUR TRUSTED MEDIA PARTNER 3 A TDF Group Business Unit • 16 POPs CDN • 1 Tbps connectivity • 400 live radios & 360 live TVs • 630 hours of On Demand video processed daily • United Kingdom • Norway • USA • Finland • Denmark • Poland • France • Spain • Sweden 13 Offices in 9 Countries A team of 400 employees At a glance
  • 4. ARKENA OTT / CDN A UNIQUE EUROPEAN PRESENCE, ESPECIALLY FRANCE AND NORDICS 5 Content management User accounts management Content processing & protection
  • 5. 6 HEROKU KEY FEATURES • No need to worry about the underlying infrastructure • Easy to scale apps • Full application stacks are easy to install with Heroku addons • Easy to iterate from dev to production
  • 6. 7 CONTEXT • Our VOD plateform gets increasingly successful with our clients • The Heroku Costs became significant • Are we able to keep the same features as Heroku on Bare- Metal ?
  • 7. 8 FEATURES REQUIREMENTS • High availability and scalability • Log management • Monitoring • Network performances
  • 8. 8 KUBERNETES CHOICE • Kubernetes looked promising • Deep investigation on kubernetes features • POC validation
  • 9. 10 FEATURES REQUIREMENTS • High availability and scalability
  • 10. 10 HIGH AVAILABILITY & SCALABILITY • Pods and Replication controllers • Quickly increase the number of replicas • Horizontal pod autoscaling • Multi datacenters architecture • Database replication
  • 11. 12 FEATURES REQUIREMENTS • High availability and scalability • Log management
  • 12. 13 LOGS MANAGEMENT • Kubernetes DaemonSet • Log processing • Reliable transport and storage • Kibana WebUI
  • 13. 14 FEATURES REQUIREMENTS • High availability and scalability • Log management • Monitoring
  • 14. 14 MONITORING • Kubernetes Health checks • Shinken servers (alerting) • Data performances metrics : Influxdb with Heapster • NewRelic hosted monitoring solution
  • 15. 16 FEATURES REQUIREMENTS • High availability and scalability • Log management • Monitoring • Network performances
  • 16. 16 ARKENA'S KUBERNETES CLUSTER • 2 distinct kubernetes clusters (1 per datacenter) • 12 nodes (Total: 288 cpus and 1152G of memory) • Haproxy loadbalancers • Multi-tenant database server • Network plugin: Calico
  • 17. 19 MIGRATION STEPS FROM HEROKU 1. Deploy application stack on kubernetes 2. Copy Heroku's database on Arkena's db servers 3. Configure Heroku app to use Arkena's database server 4. QA tests (rollback if any problem) 5. Update the DNS 6. Keep both platforms running during a validation period
  • 18. 23 PROJECT PROGRESS ISSUES • It's important to involve all teams. • Not clear recomandations on High availability and upgrade procedure • Ecosystem tools are still young
  • 19. 20 KUBESPRAY • Open Source project to deploy a kubernetes cluster (Baremetal, AWS and GCE) • Current supported network plugins : Weave, Flannel & Calico. Coming soon : Romana and Opencontrail • Support most popular Linux distributions (CoreOS, Centos/RHEL, Debian/Ubuntu) • Continuous Integration tests. About 60 3-nodes clusters per day
  • 20. 21 KPM APPS DEPLOYMENT • Deploy full application stack • Dependency management • Reproducible and versionned deployment • Ready to use application registry
  • 21. 22 KPM KEY FEATURES • One command line to install an app stack • Super easy packaging http://kpm.kubespray.io kpm install heapster
  • 22. 22 NEXT STEPS • Ubernetes • Continuous Deployment (Openshift, DEIS …) • Network policies enforcement • Custom metrics Autoscaling
  • 23. 23 CONCLUSION • Successful migration from Heroku to Kubernetes on production • Technical teams are very interested on Kubernetes • Better resources management • Greatly reduced infrastructure costs
  • 25. 25 LINKS Kubespray : https://docs.kubespray.io Kubespray CI : https://travis.kubespray.io Kpm : https://github.com/kubespray/kpm Network benchs : https://smana.kubespray.io French community : https://www.kubernetes-fr.org
  • 26. 26 About us System engineer and Devops Work Experience Smaine is a senior technical lead and devops engineer at Arkena with 10 years experience in Devops, Linux and open source softwares.He built several streaming plateforms (CDN, OTT) and he's currently in charge of the engineering of Arkena's OTT Plateform.Furthermore he's the Ansible Paris meetup organizer and had talks on different topics (Docker, Kubernetes, Ansible). Smaine Kahlouch Antoine Legrand Lead software engineer Work Experience Antoine Legrand is a senior software engineer with 7 years experience.He designs and leads the development of Arkena's video-on-demand platform used by large Broadcasters (Tf1, BeIn Sports, Elisa....).He's an open source softwares addict and co-author of kubespray.io project.