Production simulations
Exit

INC-3528 · P1

MasterLinux Bordeaux agency: booking payments fail with 503 and the weekend's GCP bill exceeds a whole year's

Bordeaux · GCP project masterlinux-prod (europe-west1) · MasterLinux Bordeaux agency · Monday 07:40

The MasterLinux agency in Bordeaux sells trips online (riads, desert tours, flights and package holidays). On the GCP project masterlinux-prod (region europe-west1):

  • the Cloud Run service api-paiements takes the payments for bookings on www.masterlinux.lab;
  • each booking publishes an event to the Pub/Sub topic reservations-evenements;
  • the Cloud Function (2nd gen) fn-enrichir-reservations, triggered by Eventarc on that topic, adds the weather, the exchange rate and the airport transfer, and writes to Cloud SQL sql-ml-prod.

Saturday 17/10 at 21:38, the developer deployed a new version of the function (“publish the enriched event for the notification service”). On Sunday, the site was slow at times.

This Monday since 06:50, api-paiements has been returning 503s and database errors right in the booking peak for the school holidays. At 07:15, the bank called the agency manager: a Google Cloud charge of more than 38,000 USD for the weekend (the usual monthly bill is 1,900 USD). The accountant wants to “cut the project's billing right now”. A developer wants to “delete that overflowing Pub/Sub topic”.

You are the on-call SRE engineer, on ml-poste-01 (gcloud, Editor role on the project). You can open an IAP session on ml-bastion (psql to Cloud SQL) and on ml-runner-01 (functions repository, deployments), and open Cloud Shell with the billing account (read access to the BigQuery export). Stop the bleeding without losing a single booking, then put the service back in order.

This simulation is part of a production simulation pack.

Unlock every production simulation

AWS, Azure, Google Cloud, on-premise and multi-cloud, from Beginner to Extreme: the real incidents of IT service companies and large IT organisations, available for a year.

Try the free demo simulation first

Already enrolled? Log in.