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.
Short answer
Nothing is scheduled until you move it to Managed resources, so production stays untouched by default. To make that explicit, tag the resource
snoozedb:enabled=false or add an organization rule such as Environment=production. Matching resources are evaluated at every sync, appear as Protected, and are never started or stopped. Use a lock for temporary maintenance on a managed resource.Protection layers
- Triage: newly discovered resources land in To triage. The scheduler ignores them until someone chooses Manage.
- Resource tag:
snoozedb:enabled=falseprotects 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-dbThen 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=productionTag conventions drift
A rule only matches the exact key and value. If teams use both
Environment=production and env=prod, add both rules or standardize the tags first.