> ## Documentation Index
> Fetch the complete documentation index at: https://help.nops.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Stop Idle RDS Instance

> Stop RDS instances that are idle, so you stop paying for their instance hours.

A stopped RDS instance is not billed for instance hours, only for its storage and backups. AWS Compute Optimizer flags idle instances where stopping them would save money, and nOps imports these recommendations daily through AWS Cost Optimization Hub with the estimated monthly saving.

| | |
| - | - |
| **Cloud** | AWS |
| **Category** | Database |
| **Service** | Amazon RDS |
| **Action** | Stop |
| **Effort** | Low |
| **Restart needed** | Yes |
| **Can be rolled back** | Yes |
| **Analysis window** | Last 14 days |
| **Source** | AWS Compute Optimizer |

## Why it matters

Development and test databases are often left running overnight and at weekends when nobody uses them.

## How nOps finds it

This recommendation comes from AWS Compute Optimizer through Cost Optimization Hub, not from an nOps rule. AWS flags an instance as idle from its connections and utilization over the lookback period (14 days by default). The saving is AWS's estimate of the instance-hour charge you avoid while it is stopped.

## Before you start

Permission to stop and start the instance (`rds:StopDBInstance`, `rds:StartDBInstance`).

## How to implement

1. Confirm nobody needs the database while it is stopped.
2. Stop it (**RDS console → Databases → Actions → Stop temporarily**, or `aws rds stop-db-instance --db-instance-identifier DB_ID`). For Aurora, stop the cluster (`aws rds stop-db-cluster`).
3. For a database needed only during working hours, schedule the stop and start, for example with AWS Instance Scheduler or an EventBridge schedule.
4. If nobody needs it at all, delete it with a final snapshot instead.

## Risks and considerations

* RDS starts a stopped instance again after 7 days. Use a schedule, or delete the instance if it is not needed.
* Storage, provisioned IOPS and backups are still billed while it is stopped.
* To roll back, start the instance. It takes a few minutes to become available.

## FAQs

> [accordion] Why did my instance start again on its own?
>
> RDS starts a stopped instance after 7 days so it can apply maintenance. Stop it again on a schedule, or delete it if it is not needed.

## Related

* [Delete Idle RDS Instance or Move to Aurora Serverless](https://help.nops.io/inform/supported-recommendations/delete-idle-rds-instance-or-move-to-aurora-serverless)
* [Schedule Non-Production EC2 Instances](https://help.nops.io/inform/supported-recommendations/schedule-non-production-ec2-instances)
* [Schedule Pause for Non-Production Redshift Clusters](https://help.nops.io/inform/supported-recommendations/schedule-pause-for-non-production-redshift-clusters)
* [Supported recommendations](https://help.nops.io/inform/supported-recommendations.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.