SlideShare ist ein Scribd-Unternehmen logo
1 von 38
Downloaden Sie, um offline zu lesen
The great fire of 2021
Kris Buytaert
@krisbuytaert
@krisbuytaert
March 10 , 2021
●
03:59 Incoming Phone call
●
“Our Datacenter is On fire”
●
5 minutes of waking up..
going downstairs trying to
realize what was just said to
me, partial panic , partial .. it
can’t be THAT bad
@krisbuytaert
Fire
@krisbuytaert
Kris Buytaert
●
I used to be a Dev,
●
Then Became an Op
●
CTO and Open Source Consultant @inuits.eu
●
Everything is a freaking DNS Problem
●
Evangelizing devops
●
Organiser of #devopsdays, #cfgmgmtcamp, #loadays, ….
@krisbuytaert
Impact :
●
3.6 million websites
across 464.000
distinct domains
●
https://news.netcraft.com/archives/2021/03/10/ovh-fire.html
@krisbuytaert
Immediate Assesment ?
●
What Customer Facing Production services have we lost ?
●
What Internal Production services have we lost ?
– Do we need any of those to recover ?
●
What are the priorities ?
– Which services
●
24/7 money generating platforms
●
Office hours tooling
– What parts of these services
●
Basic Service, no redundancy
@krisbuytaert
Our Immediate visible Impact
●
Multiple customers failed over automatically to
the 2ndary DC
●
1 VIP address failed to move
●
1 platform was spread over SBG2 & SBG1
●
1 DR site destroyed
@krisbuytaert
Failing VIP
●
1 VIP address failed to move (API call failed)
●
Manual action to use a different public IP for the loadbalancer
●
Updated DNS records
●
Except for the 1 domain the customer controlled.
●
This cost us about 60 minutes before we could reach someone with
the right credentials to update the dns
●
Some customer devices had the VIP address hardcoded :(
– Manual interventions needed :(
@krisbuytaert
Customer Impact
●
1 platform was spread over SBG2 &
SBG1
●
Rebootstrapped the platform on a
different ISP, restored the backup
●
At 0900 am platform was ready for use,
●
We were improving performance of the
platform
●
Customer wouldn’t have known if we
didn’t tell them
@krisbuytaert
Total Loss:
●
We lost 13 physical
servers
●
135 vm’s
@krisbuytaert
Root Cause
●
Klaba does not say the UPS is the definite cause. "We don’t have all the answers today,"
he said. The OVHcloud staff responded to alarms at 11.42 pm on Tuesday, but the
affected part of the data center had already filled with smoke: "Two minutes after, they
took the decision to leave, because it was too dangerous."
●
The firefighter's thermal cameras found UPS7 and UPS8 on fire, but further data will be
extracted from on-site cameras: "We have 300 cameras in Strasbourg," said Klaba. "We
expect to have all the answers about how it started. We will give you all the information."
●
https://www.datacenterdynamics.com/en/news/ovh-fire-octave-klaba-says-ups-systems-
were-ablaze/
@krisbuytaert
Our Impact
NextCloud
●
Gitlab
●
Lots of development
environments
●
Lots of Test nodes
●
Partial K8s clusters
@krisbuytaert
We survived
●
18 hours of work
●
2 engineers at night
●
4-5 during daytime
●
Recovery
●
Communication
●
Restoring Backups
@krisbuytaert
At 0910
●
Another customer seemed to have issues
accessing some files
●
We had overlooked 1 gluster cluster that
seemed healthy but wasn’t
●
Switched to a single node mount point
(don’t try this at home)
@krisbuytaert
No data was lost
@krisbuytaert
Phase II
●
After 0900 we started restoring our internal tools from
backup
●
Verified all the secondary nodes would be making backups
●
Verified we had sufficient diskspace left
●
“Shoemaker always wears the worst shoes”
●
Challenge : Hardware !
@krisbuytaert
Hardware Landrush
●
Everybody needed new
hardware
●
We had spare hardware
ready for a new platform in
the wrong DC of a different
supplier . Temporary OK
●
We spun up new hardware
at a different supplier
@krisbuytaert
Wrong decisions
●
On day 2 we wasted at least 6 hours trying
spinning up a new supplier
●
Figuring out their network and redundancy
strategies was not the right time
●
We could scale on the existing suppliers
@krisbuytaert
Phase III
●
Restoring the rest of the services
●
What boxen would we be getting back ?
●
What boxen were foobar ?
●
(in the end we only got 3 physical servers back which were in SBG3),
the rest was lost
●
Priority on making sure all pipeline promotions of actively
developed platforms were running again
●
Hardware availability
@krisbuytaert
The day after
●
New DR platform where needed
●
Inventory of what besides production was impacted (lots of
development boxen, partial clusters)
●
Prioritization of what needs to be 100% back first
●
What hardware do we have / need additionally
@krisbuytaert
Your NEW DR Plan
●
You have just lost your DR site
●
You need to plan again
– Do we take the risk for now ?
– Do we respin a new DR ?
●
IAC + Datasync makes DR Trivial
@krisbuytaert
What saved us ?
●
Real Infrastructure as Code
●
Architecture
●
Backups
●
Fast escalation
@krisbuytaert
Real Infrastructure as Code
●
Desired State => Puppetize all the things
●
100% control , no 3rd parties involved
– Provision vm
– Deploy applications
– Deploy database schemas
●
No handovers , 1 person can deploy this, no other teams involved
●
Exported resources for Loadbalancers (haproxy), Monitoring (icinga), Databases (mysql)etc
– Heavy automation
●
All deployed versions are available in (yum) repositories
●
Everything is a Pipeline Puppet, Hiera, DNS, ... (jenkins)
@krisbuytaert
CloudNative vs Cloudnaive
●
We don’t own hardware
●
Baremetal on demand at $ < AWS
– Hetzner / ovh / ...
●
Spin up 120 seconds, decomission
when unneeded.
●
vm definitions are in code
●
Ansible to bootstrap, Puppet for
Desired state
@krisbuytaert
Multi Cloud
●
OVH
●
Hetzner
●
...
●
Workload is spread
●
Customer DR is in other
Supplier
@krisbuytaert
Multi Datacenter
●
OVH
– SBG, GRA, RBX, ..
●
Hetzner
– FSN X, HEL
@krisbuytaert
CloudNative ?
●
Critical Customer services are build redundantly,
(corosync, haproxy, mysql, elastic)
●
Losing a bare metal should doesnot have an impact
●
We can rebootstrap our nodes (kickstart+ puppet +
ansible)
●
All UGC data we know about is backed up (rsnapshot)
@krisbuytaert
Cloud Agnostic
●
A vm is a vm is a vm
●
Vendor Specific
Features
– e.g VIP addresses are
abstracted in code
@krisbuytaert
Dedicated stacks per Customer/Project
●
Single Purpose vm’s
●
Single Purpose Database Clusters
●
Single Purpose Storage Clusters
●
Single Purpose Loadbalancers
=> Reduced impact, Reduced complexity
@krisbuytaert
Clusters are Multi DC
●
Depending on scale , preference on HA vs
actual Loadbalancing
●
Pinning of resources within 1 DC
●
Lessons Learned: we need Multi Campus
@krisbuytaert
HA Applications
●
No local file usage
– If local files -> {gluster,drbd,...}
●
MySQL replication
●
Elastic multiple nodes (if we can’t generate the
data)
●
Multiple instances of rabbitmq
@krisbuytaert
HA Storage
●
VM’s on Local Disk
– 100% puppetized => no differences in config/ software
deployment
– “Disposable”
●
Storage distributed
– Gluster, DRBD, (Ceph)
●
(No Raid)
@krisbuytaert
Backups
●
Are both on site
●
And off Site
@krisbuytaert
Documentation
●
Mkdocs based
●
Git repo
●
Locally available
@krisbuytaert
Lessons Learned
●
Make sure you can always provision more resources on multiple
providers
●
A Datacenter is not always Datacenter, even with different buildings
you need Campus redundancy
●
Fix the shoemaker problem
●
Everything IS a fscking dns problem
– U WANT control over the DNS of the production sites you run
●
Or an MTU problem
@krisbuytaert
Thnx
Thnx to everyone who helped
out during the outage !
@krisbuytaert
March 10 , 2021
@krisbuytaert
Contact
Inuits
Inuits
Essensteenweg 31
Essensteenweg 31
Brasschaat
Brasschaat
Belgium
Belgium
891.514.231
891.514.231
+32 475 961221
+32 475 961221
Kris Buytaert Kris.Buytaert@inuits.eu
Kris Buytaert Kris.Buytaert@inuits.eu
Further Reading
Further Reading
@krisbuytaert
@krisbuytaert
http://www.krisbuytaert.be/blog/
http://www.krisbuytaert.be/blog/
https://inuits.eu/
https://inuits.eu/

Weitere ähnliche Inhalte

Was ist angesagt?

Building a Distributed Build System at Google Scale
Building a Distributed Build System at Google ScaleBuilding a Distributed Build System at Google Scale
Building a Distributed Build System at Google ScaleAysylu Greenberg
 
Docs or it didn’t happen
Docs or it didn’t happenDocs or it didn’t happen
Docs or it didn’t happenAll Things Open
 
Security: The Value of SBOMs
Security: The Value of SBOMsSecurity: The Value of SBOMs
Security: The Value of SBOMsWeaveworks
 
The Power of GitOps with Flux & GitOps Toolkit
The Power of GitOps with Flux & GitOps ToolkitThe Power of GitOps with Flux & GitOps Toolkit
The Power of GitOps with Flux & GitOps ToolkitWeaveworks
 
Gitops: the kubernetes way
Gitops: the kubernetes wayGitops: the kubernetes way
Gitops: the kubernetes waysparkfabrik
 
Intro to Kubernetes & GitOps Workshop
Intro to Kubernetes & GitOps WorkshopIntro to Kubernetes & GitOps Workshop
Intro to Kubernetes & GitOps WorkshopWeaveworks
 
Get started with gitops and flux
Get started with gitops and fluxGet started with gitops and flux
Get started with gitops and fluxLibbySchulze1
 
CodiLime Tech Talk - Dawid Trzebiatowski i Wojciech Urbański: Opening the Flo...
CodiLime Tech Talk - Dawid Trzebiatowski i Wojciech Urbański: Opening the Flo...CodiLime Tech Talk - Dawid Trzebiatowski i Wojciech Urbański: Opening the Flo...
CodiLime Tech Talk - Dawid Trzebiatowski i Wojciech Urbański: Opening the Flo...CodiLime
 
Netflix OSS Meetup Season 4 Episode 4
Netflix OSS Meetup Season 4 Episode 4Netflix OSS Meetup Season 4 Episode 4
Netflix OSS Meetup Season 4 Episode 4aspyker
 
Secure GitOps pipelines for Kubernetes with Snyk & Weaveworks
Secure GitOps pipelines for Kubernetes with Snyk & WeaveworksSecure GitOps pipelines for Kubernetes with Snyk & Weaveworks
Secure GitOps pipelines for Kubernetes with Snyk & WeaveworksWeaveworks
 
Kubernetes configuration and security policies with KubeLinter | DevNation Te...
Kubernetes configuration and security policies with KubeLinter | DevNation Te...Kubernetes configuration and security policies with KubeLinter | DevNation Te...
Kubernetes configuration and security policies with KubeLinter | DevNation Te...Red Hat Developers
 
The journey to GitOps
The journey to GitOpsThe journey to GitOps
The journey to GitOpsNicola Baldi
 
GitOps for Helm Users by Scott Rigby
GitOps for Helm Users by Scott RigbyGitOps for Helm Users by Scott Rigby
GitOps for Helm Users by Scott RigbyWeaveworks
 
Kubernetes GitOps featuring GitHub, Kustomize and ArgoCD
Kubernetes GitOps featuring GitHub, Kustomize and ArgoCDKubernetes GitOps featuring GitHub, Kustomize and ArgoCD
Kubernetes GitOps featuring GitHub, Kustomize and ArgoCDSunnyvale
 
PuppetConf 2017: Cloud, Containers, Puppet and You- Carl Caum, Puppet
PuppetConf 2017: Cloud, Containers, Puppet and You- Carl Caum, PuppetPuppetConf 2017: Cloud, Containers, Puppet and You- Carl Caum, Puppet
PuppetConf 2017: Cloud, Containers, Puppet and You- Carl Caum, PuppetPuppet
 
Docker Deployments
Docker DeploymentsDocker Deployments
Docker DeploymentsDocker, Inc.
 
Open design at large scale
Open design at large scaleOpen design at large scale
Open design at large scaleshykes
 
Gitlab meets Kubernetes
Gitlab meets KubernetesGitlab meets Kubernetes
Gitlab meets Kubernetesinovex GmbH
 

Was ist angesagt? (20)

Building a Distributed Build System at Google Scale
Building a Distributed Build System at Google ScaleBuilding a Distributed Build System at Google Scale
Building a Distributed Build System at Google Scale
 
Meetup 23 - 03 - Application Delivery on K8S with GitOps
Meetup 23 - 03 - Application Delivery on K8S with GitOpsMeetup 23 - 03 - Application Delivery on K8S with GitOps
Meetup 23 - 03 - Application Delivery on K8S with GitOps
 
Docs or it didn’t happen
Docs or it didn’t happenDocs or it didn’t happen
Docs or it didn’t happen
 
Security: The Value of SBOMs
Security: The Value of SBOMsSecurity: The Value of SBOMs
Security: The Value of SBOMs
 
The Power of GitOps with Flux & GitOps Toolkit
The Power of GitOps with Flux & GitOps ToolkitThe Power of GitOps with Flux & GitOps Toolkit
The Power of GitOps with Flux & GitOps Toolkit
 
GitOps with Gitkube
GitOps with GitkubeGitOps with Gitkube
GitOps with Gitkube
 
Gitops: the kubernetes way
Gitops: the kubernetes wayGitops: the kubernetes way
Gitops: the kubernetes way
 
Intro to Kubernetes & GitOps Workshop
Intro to Kubernetes & GitOps WorkshopIntro to Kubernetes & GitOps Workshop
Intro to Kubernetes & GitOps Workshop
 
Get started with gitops and flux
Get started with gitops and fluxGet started with gitops and flux
Get started with gitops and flux
 
CodiLime Tech Talk - Dawid Trzebiatowski i Wojciech Urbański: Opening the Flo...
CodiLime Tech Talk - Dawid Trzebiatowski i Wojciech Urbański: Opening the Flo...CodiLime Tech Talk - Dawid Trzebiatowski i Wojciech Urbański: Opening the Flo...
CodiLime Tech Talk - Dawid Trzebiatowski i Wojciech Urbański: Opening the Flo...
 
Netflix OSS Meetup Season 4 Episode 4
Netflix OSS Meetup Season 4 Episode 4Netflix OSS Meetup Season 4 Episode 4
Netflix OSS Meetup Season 4 Episode 4
 
Secure GitOps pipelines for Kubernetes with Snyk & Weaveworks
Secure GitOps pipelines for Kubernetes with Snyk & WeaveworksSecure GitOps pipelines for Kubernetes with Snyk & Weaveworks
Secure GitOps pipelines for Kubernetes with Snyk & Weaveworks
 
Kubernetes configuration and security policies with KubeLinter | DevNation Te...
Kubernetes configuration and security policies with KubeLinter | DevNation Te...Kubernetes configuration and security policies with KubeLinter | DevNation Te...
Kubernetes configuration and security policies with KubeLinter | DevNation Te...
 
The journey to GitOps
The journey to GitOpsThe journey to GitOps
The journey to GitOps
 
GitOps for Helm Users by Scott Rigby
GitOps for Helm Users by Scott RigbyGitOps for Helm Users by Scott Rigby
GitOps for Helm Users by Scott Rigby
 
Kubernetes GitOps featuring GitHub, Kustomize and ArgoCD
Kubernetes GitOps featuring GitHub, Kustomize and ArgoCDKubernetes GitOps featuring GitHub, Kustomize and ArgoCD
Kubernetes GitOps featuring GitHub, Kustomize and ArgoCD
 
PuppetConf 2017: Cloud, Containers, Puppet and You- Carl Caum, Puppet
PuppetConf 2017: Cloud, Containers, Puppet and You- Carl Caum, PuppetPuppetConf 2017: Cloud, Containers, Puppet and You- Carl Caum, Puppet
PuppetConf 2017: Cloud, Containers, Puppet and You- Carl Caum, Puppet
 
Docker Deployments
Docker DeploymentsDocker Deployments
Docker Deployments
 
Open design at large scale
Open design at large scaleOpen design at large scale
Open design at large scale
 
Gitlab meets Kubernetes
Gitlab meets KubernetesGitlab meets Kubernetes
Gitlab meets Kubernetes
 

Ähnlich wie stackconf 2021 | Help, My Datacenter is on Fire

Continuous Infrastructure First
Continuous Infrastructure FirstContinuous Infrastructure First
Continuous Infrastructure FirstKris Buytaert
 
Building real time Data Pipeline using Spark Streaming
Building real time Data Pipeline using Spark StreamingBuilding real time Data Pipeline using Spark Streaming
Building real time Data Pipeline using Spark Streamingdatamantra
 
Task migration using CRIU
Task migration using CRIUTask migration using CRIU
Task migration using CRIURohit Jnagal
 
Scaling Monitoring At Databricks From Prometheus to M3
Scaling Monitoring At Databricks From Prometheus to M3Scaling Monitoring At Databricks From Prometheus to M3
Scaling Monitoring At Databricks From Prometheus to M3LibbySchulze
 
How Klout migrated from CDH3 to CDH4 …and survived to tell about it
How Klout migrated from CDH3 to CDH4 …and survived to tell about itHow Klout migrated from CDH3 to CDH4 …and survived to tell about it
How Klout migrated from CDH3 to CDH4 …and survived to tell about itIan Kallen
 
Server fleet management using Camunda by Akhil Ahuja
Server fleet management using Camunda by Akhil AhujaServer fleet management using Camunda by Akhil Ahuja
Server fleet management using Camunda by Akhil Ahujacamunda services GmbH
 
Webinar: Building a multi-cloud Kubernetes storage on GitLab
Webinar: Building a multi-cloud Kubernetes storage on GitLabWebinar: Building a multi-cloud Kubernetes storage on GitLab
Webinar: Building a multi-cloud Kubernetes storage on GitLabMayaData Inc
 
THE RISE AND FALL OF SERVERLESS COSTS - TAMING THE (SERVERLESS) BEAST
THE RISE AND FALL OF SERVERLESS COSTS - TAMING THE (SERVERLESS) BEASTTHE RISE AND FALL OF SERVERLESS COSTS - TAMING THE (SERVERLESS) BEAST
THE RISE AND FALL OF SERVERLESS COSTS - TAMING THE (SERVERLESS) BEASTOpher Dubrovsky
 
Apache Cassandra at Target - Cassandra Summit 2014
Apache Cassandra at Target - Cassandra Summit 2014Apache Cassandra at Target - Cassandra Summit 2014
Apache Cassandra at Target - Cassandra Summit 2014Dan Cundiff
 
Webinar: Choosing the Right Shard Key for High Performance and Scale
Webinar: Choosing the Right Shard Key for High Performance and ScaleWebinar: Choosing the Right Shard Key for High Performance and Scale
Webinar: Choosing the Right Shard Key for High Performance and ScaleMongoDB
 
Piano Media - approach to data gathering and processing
Piano Media - approach to data gathering and processingPiano Media - approach to data gathering and processing
Piano Media - approach to data gathering and processingMartinStrycek
 
AWS Techniques and lessons writing low cost autoscaling GitLab runners
AWS Techniques and lessons writing low cost autoscaling GitLab runnersAWS Techniques and lessons writing low cost autoscaling GitLab runners
AWS Techniques and lessons writing low cost autoscaling GitLab runnersAnthony Scata
 
Cassandra Day London 2015: The Resilience of Apache Cassandra
Cassandra Day London 2015: The Resilience of Apache CassandraCassandra Day London 2015: The Resilience of Apache Cassandra
Cassandra Day London 2015: The Resilience of Apache CassandraDataStax Academy
 
Kubernetes Forum Seoul 2019: Re-architecting Data Platform with Kubernetes
Kubernetes Forum Seoul 2019: Re-architecting Data Platform with KubernetesKubernetes Forum Seoul 2019: Re-architecting Data Platform with Kubernetes
Kubernetes Forum Seoul 2019: Re-architecting Data Platform with KubernetesSeungYong Oh
 
What makes me to migrate entire VPC JAWS PANKRATION 2021
What makes me to migrate entire VPC JAWS PANKRATION 2021What makes me to migrate entire VPC JAWS PANKRATION 2021
What makes me to migrate entire VPC JAWS PANKRATION 2021Naomi Yamasaki
 
Google Cloud - Stand Out Features
Google Cloud - Stand Out FeaturesGoogle Cloud - Stand Out Features
Google Cloud - Stand Out FeaturesGDG Cloud Bengaluru
 
Tapjoy OpenStack Summit Paris Breakout Session
Tapjoy OpenStack Summit Paris Breakout SessionTapjoy OpenStack Summit Paris Breakout Session
Tapjoy OpenStack Summit Paris Breakout SessionWeston Jossey
 
NetflixOSS Meetup season 3 episode 1
NetflixOSS Meetup season 3 episode 1NetflixOSS Meetup season 3 episode 1
NetflixOSS Meetup season 3 episode 1Ruslan Meshenberg
 

Ähnlich wie stackconf 2021 | Help, My Datacenter is on Fire (20)

Continuous Infrastructure First
Continuous Infrastructure FirstContinuous Infrastructure First
Continuous Infrastructure First
 
Building real time Data Pipeline using Spark Streaming
Building real time Data Pipeline using Spark StreamingBuilding real time Data Pipeline using Spark Streaming
Building real time Data Pipeline using Spark Streaming
 
Task migration using CRIU
Task migration using CRIUTask migration using CRIU
Task migration using CRIU
 
Scaling Monitoring At Databricks From Prometheus to M3
Scaling Monitoring At Databricks From Prometheus to M3Scaling Monitoring At Databricks From Prometheus to M3
Scaling Monitoring At Databricks From Prometheus to M3
 
How Klout migrated from CDH3 to CDH4 …and survived to tell about it
How Klout migrated from CDH3 to CDH4 …and survived to tell about itHow Klout migrated from CDH3 to CDH4 …and survived to tell about it
How Klout migrated from CDH3 to CDH4 …and survived to tell about it
 
Server fleet management using Camunda by Akhil Ahuja
Server fleet management using Camunda by Akhil AhujaServer fleet management using Camunda by Akhil Ahuja
Server fleet management using Camunda by Akhil Ahuja
 
Cloud arch patterns
Cloud arch patternsCloud arch patterns
Cloud arch patterns
 
Webinar: Building a multi-cloud Kubernetes storage on GitLab
Webinar: Building a multi-cloud Kubernetes storage on GitLabWebinar: Building a multi-cloud Kubernetes storage on GitLab
Webinar: Building a multi-cloud Kubernetes storage on GitLab
 
THE RISE AND FALL OF SERVERLESS COSTS - TAMING THE (SERVERLESS) BEAST
THE RISE AND FALL OF SERVERLESS COSTS - TAMING THE (SERVERLESS) BEASTTHE RISE AND FALL OF SERVERLESS COSTS - TAMING THE (SERVERLESS) BEAST
THE RISE AND FALL OF SERVERLESS COSTS - TAMING THE (SERVERLESS) BEAST
 
Apache Cassandra at Target - Cassandra Summit 2014
Apache Cassandra at Target - Cassandra Summit 2014Apache Cassandra at Target - Cassandra Summit 2014
Apache Cassandra at Target - Cassandra Summit 2014
 
Webinar: Choosing the Right Shard Key for High Performance and Scale
Webinar: Choosing the Right Shard Key for High Performance and ScaleWebinar: Choosing the Right Shard Key for High Performance and Scale
Webinar: Choosing the Right Shard Key for High Performance and Scale
 
Piano Media - approach to data gathering and processing
Piano Media - approach to data gathering and processingPiano Media - approach to data gathering and processing
Piano Media - approach to data gathering and processing
 
AWS Techniques and lessons writing low cost autoscaling GitLab runners
AWS Techniques and lessons writing low cost autoscaling GitLab runnersAWS Techniques and lessons writing low cost autoscaling GitLab runners
AWS Techniques and lessons writing low cost autoscaling GitLab runners
 
GitOps , done Right
GitOps , done RightGitOps , done Right
GitOps , done Right
 
Cassandra Day London 2015: The Resilience of Apache Cassandra
Cassandra Day London 2015: The Resilience of Apache CassandraCassandra Day London 2015: The Resilience of Apache Cassandra
Cassandra Day London 2015: The Resilience of Apache Cassandra
 
Kubernetes Forum Seoul 2019: Re-architecting Data Platform with Kubernetes
Kubernetes Forum Seoul 2019: Re-architecting Data Platform with KubernetesKubernetes Forum Seoul 2019: Re-architecting Data Platform with Kubernetes
Kubernetes Forum Seoul 2019: Re-architecting Data Platform with Kubernetes
 
What makes me to migrate entire VPC JAWS PANKRATION 2021
What makes me to migrate entire VPC JAWS PANKRATION 2021What makes me to migrate entire VPC JAWS PANKRATION 2021
What makes me to migrate entire VPC JAWS PANKRATION 2021
 
Google Cloud - Stand Out Features
Google Cloud - Stand Out FeaturesGoogle Cloud - Stand Out Features
Google Cloud - Stand Out Features
 
Tapjoy OpenStack Summit Paris Breakout Session
Tapjoy OpenStack Summit Paris Breakout SessionTapjoy OpenStack Summit Paris Breakout Session
Tapjoy OpenStack Summit Paris Breakout Session
 
NetflixOSS Meetup season 3 episode 1
NetflixOSS Meetup season 3 episode 1NetflixOSS Meetup season 3 episode 1
NetflixOSS Meetup season 3 episode 1
 

Kürzlich hochgeladen

Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptkotipi9215
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyFrank van der Linden
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝soniya singh
 

Kürzlich hochgeladen (20)

Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The Ugly
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
 

stackconf 2021 | Help, My Datacenter is on Fire

  • 1. The great fire of 2021 Kris Buytaert @krisbuytaert
  • 2. @krisbuytaert March 10 , 2021 ● 03:59 Incoming Phone call ● “Our Datacenter is On fire” ● 5 minutes of waking up.. going downstairs trying to realize what was just said to me, partial panic , partial .. it can’t be THAT bad
  • 4. @krisbuytaert Kris Buytaert ● I used to be a Dev, ● Then Became an Op ● CTO and Open Source Consultant @inuits.eu ● Everything is a freaking DNS Problem ● Evangelizing devops ● Organiser of #devopsdays, #cfgmgmtcamp, #loadays, ….
  • 5. @krisbuytaert Impact : ● 3.6 million websites across 464.000 distinct domains ● https://news.netcraft.com/archives/2021/03/10/ovh-fire.html
  • 6. @krisbuytaert Immediate Assesment ? ● What Customer Facing Production services have we lost ? ● What Internal Production services have we lost ? – Do we need any of those to recover ? ● What are the priorities ? – Which services ● 24/7 money generating platforms ● Office hours tooling – What parts of these services ● Basic Service, no redundancy
  • 7. @krisbuytaert Our Immediate visible Impact ● Multiple customers failed over automatically to the 2ndary DC ● 1 VIP address failed to move ● 1 platform was spread over SBG2 & SBG1 ● 1 DR site destroyed
  • 8. @krisbuytaert Failing VIP ● 1 VIP address failed to move (API call failed) ● Manual action to use a different public IP for the loadbalancer ● Updated DNS records ● Except for the 1 domain the customer controlled. ● This cost us about 60 minutes before we could reach someone with the right credentials to update the dns ● Some customer devices had the VIP address hardcoded :( – Manual interventions needed :(
  • 9. @krisbuytaert Customer Impact ● 1 platform was spread over SBG2 & SBG1 ● Rebootstrapped the platform on a different ISP, restored the backup ● At 0900 am platform was ready for use, ● We were improving performance of the platform ● Customer wouldn’t have known if we didn’t tell them
  • 10. @krisbuytaert Total Loss: ● We lost 13 physical servers ● 135 vm’s
  • 11. @krisbuytaert Root Cause ● Klaba does not say the UPS is the definite cause. "We don’t have all the answers today," he said. The OVHcloud staff responded to alarms at 11.42 pm on Tuesday, but the affected part of the data center had already filled with smoke: "Two minutes after, they took the decision to leave, because it was too dangerous." ● The firefighter's thermal cameras found UPS7 and UPS8 on fire, but further data will be extracted from on-site cameras: "We have 300 cameras in Strasbourg," said Klaba. "We expect to have all the answers about how it started. We will give you all the information." ● https://www.datacenterdynamics.com/en/news/ovh-fire-octave-klaba-says-ups-systems- were-ablaze/
  • 12. @krisbuytaert Our Impact NextCloud ● Gitlab ● Lots of development environments ● Lots of Test nodes ● Partial K8s clusters
  • 13. @krisbuytaert We survived ● 18 hours of work ● 2 engineers at night ● 4-5 during daytime ● Recovery ● Communication ● Restoring Backups
  • 14. @krisbuytaert At 0910 ● Another customer seemed to have issues accessing some files ● We had overlooked 1 gluster cluster that seemed healthy but wasn’t ● Switched to a single node mount point (don’t try this at home)
  • 16. @krisbuytaert Phase II ● After 0900 we started restoring our internal tools from backup ● Verified all the secondary nodes would be making backups ● Verified we had sufficient diskspace left ● “Shoemaker always wears the worst shoes” ● Challenge : Hardware !
  • 17. @krisbuytaert Hardware Landrush ● Everybody needed new hardware ● We had spare hardware ready for a new platform in the wrong DC of a different supplier . Temporary OK ● We spun up new hardware at a different supplier
  • 18. @krisbuytaert Wrong decisions ● On day 2 we wasted at least 6 hours trying spinning up a new supplier ● Figuring out their network and redundancy strategies was not the right time ● We could scale on the existing suppliers
  • 19. @krisbuytaert Phase III ● Restoring the rest of the services ● What boxen would we be getting back ? ● What boxen were foobar ? ● (in the end we only got 3 physical servers back which were in SBG3), the rest was lost ● Priority on making sure all pipeline promotions of actively developed platforms were running again ● Hardware availability
  • 20. @krisbuytaert The day after ● New DR platform where needed ● Inventory of what besides production was impacted (lots of development boxen, partial clusters) ● Prioritization of what needs to be 100% back first ● What hardware do we have / need additionally
  • 21. @krisbuytaert Your NEW DR Plan ● You have just lost your DR site ● You need to plan again – Do we take the risk for now ? – Do we respin a new DR ? ● IAC + Datasync makes DR Trivial
  • 22. @krisbuytaert What saved us ? ● Real Infrastructure as Code ● Architecture ● Backups ● Fast escalation
  • 23. @krisbuytaert Real Infrastructure as Code ● Desired State => Puppetize all the things ● 100% control , no 3rd parties involved – Provision vm – Deploy applications – Deploy database schemas ● No handovers , 1 person can deploy this, no other teams involved ● Exported resources for Loadbalancers (haproxy), Monitoring (icinga), Databases (mysql)etc – Heavy automation ● All deployed versions are available in (yum) repositories ● Everything is a Pipeline Puppet, Hiera, DNS, ... (jenkins)
  • 24. @krisbuytaert CloudNative vs Cloudnaive ● We don’t own hardware ● Baremetal on demand at $ < AWS – Hetzner / ovh / ... ● Spin up 120 seconds, decomission when unneeded. ● vm definitions are in code ● Ansible to bootstrap, Puppet for Desired state
  • 25. @krisbuytaert Multi Cloud ● OVH ● Hetzner ● ... ● Workload is spread ● Customer DR is in other Supplier
  • 26. @krisbuytaert Multi Datacenter ● OVH – SBG, GRA, RBX, .. ● Hetzner – FSN X, HEL
  • 27. @krisbuytaert CloudNative ? ● Critical Customer services are build redundantly, (corosync, haproxy, mysql, elastic) ● Losing a bare metal should doesnot have an impact ● We can rebootstrap our nodes (kickstart+ puppet + ansible) ● All UGC data we know about is backed up (rsnapshot)
  • 28. @krisbuytaert Cloud Agnostic ● A vm is a vm is a vm ● Vendor Specific Features – e.g VIP addresses are abstracted in code
  • 29. @krisbuytaert Dedicated stacks per Customer/Project ● Single Purpose vm’s ● Single Purpose Database Clusters ● Single Purpose Storage Clusters ● Single Purpose Loadbalancers => Reduced impact, Reduced complexity
  • 30. @krisbuytaert Clusters are Multi DC ● Depending on scale , preference on HA vs actual Loadbalancing ● Pinning of resources within 1 DC ● Lessons Learned: we need Multi Campus
  • 31. @krisbuytaert HA Applications ● No local file usage – If local files -> {gluster,drbd,...} ● MySQL replication ● Elastic multiple nodes (if we can’t generate the data) ● Multiple instances of rabbitmq
  • 32. @krisbuytaert HA Storage ● VM’s on Local Disk – 100% puppetized => no differences in config/ software deployment – “Disposable” ● Storage distributed – Gluster, DRBD, (Ceph) ● (No Raid)
  • 33. @krisbuytaert Backups ● Are both on site ● And off Site
  • 35. @krisbuytaert Lessons Learned ● Make sure you can always provision more resources on multiple providers ● A Datacenter is not always Datacenter, even with different buildings you need Campus redundancy ● Fix the shoemaker problem ● Everything IS a fscking dns problem – U WANT control over the DNS of the production sites you run ● Or an MTU problem
  • 36. @krisbuytaert Thnx Thnx to everyone who helped out during the outage !
  • 38. @krisbuytaert Contact Inuits Inuits Essensteenweg 31 Essensteenweg 31 Brasschaat Brasschaat Belgium Belgium 891.514.231 891.514.231 +32 475 961221 +32 475 961221 Kris Buytaert Kris.Buytaert@inuits.eu Kris Buytaert Kris.Buytaert@inuits.eu Further Reading Further Reading @krisbuytaert @krisbuytaert http://www.krisbuytaert.be/blog/ http://www.krisbuytaert.be/blog/ https://inuits.eu/ https://inuits.eu/