> ## 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.

# Migrate RDS Instance to Graviton

> Move RDS instances to the same-size Graviton instance class, which costs less per hour.

AWS Graviton instance classes (such as db.m7g and db.r7g) cost less per hour than the matching Intel classes and usually perform at least as well for database workloads. AWS Compute Optimizer finds RDS instances that can move to a Graviton class, and nOps imports these recommendations daily through AWS Cost Optimization Hub with the estimated monthly saving.

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

## Why it matters

RDS engines manage the processor architecture for you, so moving to Graviton is usually just a change of instance class with no application changes.

## How nOps finds it

This recommendation comes from AWS Compute Optimizer through Cost Optimization Hub, not from an nOps rule. AWS looks at the instance's utilization over its lookback period (14 days by default) and recommends a Graviton class that fits. The saving is AWS's estimate, which takes your Reserved Instance and Savings Plans pricing into account.

## Before you start

AWS Compute Optimizer and Cost Optimization Hub enabled. The DB engine version must support Graviton classes. Permission to modify the instance (`rds:ModifyDBInstance`).

## How to implement

1. Check that your engine and version support the recommended Graviton class (RDS console: **Modify → DB instance class** lists only supported classes).
2. Test the new class on a non-production copy if you can.
3. Change the instance class in a maintenance window (**RDS console → Databases → Modify → DB instance class**, or `aws rds modify-db-instance --db-instance-identifier DB_ID --db-instance-class NEW_CLASS --apply-immediately`).
4. For Aurora, change one reader at a time and then fail over, so the writer changes last.
5. Update Terraform or CloudFormation so a later deployment does not change it back.

## Risks and considerations

* Changing the instance class restarts the database. With Multi-AZ the outage is usually a short failover.
* Reserved Instances bought for the old class family do not cover the Graviton family.
* To roll back, modify the instance back to its original class.

## FAQs

> [accordion] Do I need to change my application?
>
> Usually not. The database engine runs on Graviton for you; clients connect the same way.

## Related

* [Rightsize RDS Instance](https://help.nops.io/inform/supported-recommendations/rightsize-rds-instance)
* [Upgrade RDS Instance](https://help.nops.io/inform/supported-recommendations/upgrade-rds-instance)
* [Move ElastiCache Node to Graviton](https://help.nops.io/inform/supported-recommendations/move-elasticache-node-to-graviton)
* [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.