Docs/How do I make sure a scheduler never stops a production database?

How do I make sure a scheduler never stops a production database?

Use triage, the snoozedb:enabled=false tag, organization tag rules, and locks so automated scheduling never touches production RDS, EC2, or EKS resources.

Protection layers

  • Triage: newly discovered resources land in To triage. The scheduler ignores them until someone chooses Manage.
  • Resource tag: snoozedb:enabled=false protects a single resource without any other setting.
  • Organization rule: a tag rule in Settings, for example Environment=production, protects every matching resource in the organization.
  • Commitments: an RDS database covered by a matching Reserved Instance appears as Protected with the reservation reason.
  • Cluster members: RDS instances that belong to an Aurora or Multi-AZ DB cluster are never scheduled, started, or stopped.
  • Lock: blocks automatic start and stop on a managed resource until someone removes it, for example during a migration.

Tag a database from the AWS CLI

You can add tags from the SnoozeDB dashboard, or with your own AWS identity:

aws rds add-tags-to-resource \
  --resource-name arn:aws:rds:eu-west-1:123456789012:db:prod-db \
  --tags Key=snoozedb:enabled,Value=false

aws rds list-tags-for-resource \
  --resource-name arn:aws:rds:eu-west-1:123456789012:db:prod-db

Then run Sync Now. The database moves to Protected and its schedule no longer applies. Removing the exclusion later returns the resource to To triage; it does not reactivate management on its own.

Protect a whole environment

In organization Settings, add a tag-based exclusion rule. Every RDS database, EC2 instance, and EKS cluster carrying the tag is protected:

Environment=production