INC-3526 · P1
The MasterLinux mutual: the members' area returns 500 errors, the database is “inaccessible” and Auto Scaling can no longer launch a single instance
Nantes · AWS accounts masterlinux-prod and masterlinux-securite (eu-west-3) · MasterLinux · Monday 08:20
The MasterLinux health mutual is based in Nantes (62,000 members, employees of SMEs and self-employed
professionals). Its members' area adherents.masterlinux.lab and the mobile app go through the API
api-adherents (Auto Scaling group asg-api-adherents, EC2), which reads:
- the RDS PostgreSQL database
db-ml-adherents(KMS-encrypted); - its password in Secrets Manager (
prod/api-adherents/db); - the supporting documents (prescriptions, invoices) in the S3 bucket
masterlinux-pieces-justificatives-prod(SSE-KMS); - and its EBS volumes encrypted by the launch template.
All this encryption relies on one customer-managed KMS key, called through the alias
alias/ml-donnees. The infrastructure is described in Terraform (repository infra-masterlinux), applied
by GitHub Actions on the self-hosted runner ml-runner-01, with the role gha-terraform-deploy.
Friday 16/10, two changes were merged at the end of the day: an IAM tightening of the application roles (PR #409) and a Terraform cleanup “group the encryption foundation into a module” (PR #412, the developer). The pipeline was green. Quiet weekend.
This Monday since 07:50: 500 errors on the members' area, the mobile app shows “service
unavailable”, Auto Scaling fails every attempt to add instances for the Monday peak, and
the reimbursements service can no longer download any document. This week's reimbursements go out on
Thursday. The security manager is sure that “it's the IAM tightening” and wants to
attach AdministratorAccess to the API's role. The CIO suggests “creating a new
key and restoring last night's snapshot”.
You are the on-call cloud engineer, on ml-poste-01 (AWS CLI v2, profile masterlinux-prod
by default, region eu-west-3). You can open an SSM session on the API instance, log in
to the Terraform runner, and switch to the masterlinux-securite account (organization CloudTrail,
SCPs) with aws-vault. Restore the service without losing a single piece of encrypted data.
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.