- Newest
- Most votes
- Most comments
When you restore an RDS instance from a snapshot, AWS creates a new RDS instance rather than overwriting an existing one. The creation of this new instance is logged as an event in the Amazon RDS console.
To find the log stating that the new RDS instance was created using a particular snapshot:
- Open the Amazon RDS console
- Navigate to the "Events" section
- Look for an event with a message similar to "Restored from snapshot [snapshot-name]" associated with your new RDS instance
By default, these events are retained for a limited time. To retain the log or event for more than a year, you have a few options:
-
Use AWS CloudTrail: This service provides a more comprehensive record of actions taken in your AWS account, including RDS snapshot restorations. CloudTrail logs can be stored in an S3 bucket for long-term retention.
-
Configure RDS Event Subscription: You can create an event subscription that sends notifications to an Amazon SNS topic when specific RDS events occur. These notifications can then be stored long-term in a database or other storage solution of your choice.
-
Use AWS Config: This service can track configuration changes in your AWS resources over time, including RDS instance creations and modifications.
Remember that retaining logs for extended periods may have cost implications, so consider your specific needs and compliance requirements when deciding on a long-term log retention strategy.
Sources
RDS Restore snapshot | AWS re:Post
Restoring from an RDS Custom for SQL Server DB snapshot - Amazon Relational Database Service
Relevant content
asked 3 years ago
- AWS OFFICIALUpdated 4 years ago
