- Newest
- Most votes
- Most comments
When decommissioning Aurora or RDS databases, it's important to identify all associated resources to ensure a complete cleanup. Here's a comprehensive approach to finding related resources:
Before deletion:
- Check for instances associated with your cluster by using the describe-db-clusters command to list all instances that need to be deleted first
- Verify if deletion protection is enabled on your cluster, as this needs to be disabled before deletion
Additional resources to check for and clean up:
- Database snapshots and automated backups
- Subnet groups, parameter groups, and security groups
- AWS Backup plans associated with your database resources
- RDS Proxies that might be connected to your databases
- Service discovery instances if using service discovery
- CloudWatch alarms and metrics related to the database
- CloudFormation stacks that created or reference the database
- AWS Secrets Manager secrets storing database credentials
- Lambda functions that interact with the database
- Any VPC endpoints configured for database access
Your current approach of stopping the database for a testing period before deletion is a good practice. Using AWS Cost Explorer with grouping by usage type can help identify any remaining resources that might be causing charges after you believe everything has been cleaned up.
If you're still unsure about associated resources after checking these items, AWS Billing Support can provide a detailed analysis to identify any hidden resources that might be causing ongoing charges.
Sources
Deleting an Amazon DocumentDB cluster - Amazon DocumentDB
How to stop Relational Database Service? | AWS re:Post
Trying to turn off on services in my account | AWS re:Post
Troubleshoot Amazon ECS cluster deletion issues | AWS re:Post
Deleting Aurora DB clusters and DB instances - Amazon Aurora
Relevant content
- AWS OFFICIALUpdated 3 years ago
