DEV Community

Cover image for Taking down a revenue-generating component
baran
baran

Posted on • Edited on • Originally published at baran.live

Taking down a revenue-generating component

I've taken down production at Sky before, a revenue-generating component.

Specifically, the component for processing and fulfilling orders from skystore.com.

We were in the process of migrating this component from eu-west to eu-central and unbeknownst to me I thought we were ready to go ahead with deleting the cluster in eu-west... we definitely weren't.

The repo was already configured to deploy to eu-central and all references to eu-west had been deleted. There were no references to eu-west anywhere, apart from the remaining k8s production pods.

Luckily we have a docker registry that an engineer on our team knew how to use to find a deployment of the production pods on eu-west so we could rectify my mistake.

Production was down for a good 20 hours or so in which we had amassed 25+ orders worth about £300 on the queue.

Definitely a learning experience. Made me realise it's not a bad thing to slow down from time to time and understand the consequences of my actions.

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay