- Newest
- Most votes
- Most comments
Hi,
AWS CloudTrail automatically keeps a record of any actions taken by a user, role, or AWS service for the last 90 days in each region, so you can use it to figure out what happened.
I hope this helps.
Based on the information provided, it's unlikely that your RDS instance stopped automatically due to low usage or exceeding limits. In fact, RDS instances don't typically stop on their own unless explicitly configured to do so.
However, there is an important behavior to note regarding RDS instances that have been manually stopped. If an RDS instance remains in a "Stopped" state for 7 consecutive days, AWS automatically starts the instance. This is a built-in feature to prevent instances from remaining inactive indefinitely and to ensure they don't fall behind on required maintenance updates.
In your case, you mentioned the instance was "turned off temporarily for 6 days." This suggests that the instance may have been manually stopped at some point, either intentionally or unintentionally. After 7 days, it would have automatically restarted if left in that state.
To prevent unexpected stops or starts in the future:
- Regularly review your RDS instance status and any recent actions taken on it.
- Set up Amazon CloudWatch alarms to notify you of state changes in your RDS instances.
- Use AWS CloudTrail to monitor API calls related to your RDS instances, which might provide more insight into what triggered any stops or starts.
- If you need to keep the instance stopped for an extended period, consider taking a snapshot and deleting the instance, then restoring from the snapshot when needed.
If you continue to experience unexpected behavior with your RDS instance, it would be advisable to contact AWS support for further assistance, as they can provide more detailed insights into your specific situation.
Sources
Lightsail RDS Instance - Restarted on its own | AWS re:Post
Understand why Amazon RDS for Oracle DB instances automatically restart | AWS re:Post
Point 3 was the best place to find out who shut it down while the 1 and 2 are monitoring steps
Relevant content
asked a year ago
asked 2 years ago
asked 4 years ago

Agree with looking into cloudtrail. Make sure you are in the same region as your RDS when looking at CT
Thank you! There was an automated scheduler that shut down my instance. CloudTrail was a massive help!