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

# Switch DynamoDB Table to Standard-IA

> Change storage-heavy DynamoDB tables to the Standard-IA table class to cut storage cost.

The DynamoDB Standard-Infrequent Access (Standard-IA) table class stores data at a lower price than the Standard class but charges more for reads and writes. For a table where storage is most of the bill, the total is lower. nOps finds Standard tables where storage is more than half of the table's cost and estimates the saving from switching.

| | |
| - | - |
| **Cloud** | AWS |
| **Category** | Database |
| **Service** | Amazon DynamoDB |
| **Action** | Modify |
| **Effort** | Low |
| **Restart needed** | No |
| **Can be rolled back** | Yes |
| **Analysis window** | Last 30 days |
| **Source** | nOps |

## Why it matters

Tables that keep history, logs or rarely read records grow every month while their traffic stays flat. The switch is online, with no downtime.

## How nOps finds it

nOps reads the last 30 days of DynamoDB billing for each table. A table is flagged when its storage was billed on at least 28 of those days, it is not already Standard-IA, none of its capacity is on reserved pricing, and storage is more than half of its storage plus read and write cost. The saving is 60% of the storage cost minus 25% of the read and write cost, and must be at least \$5 a month.

## Before you start

Permission to update the table (`dynamodb:UpdateTable`).

## How to implement

1. Check the table's current class and status (`aws dynamodb describe-table --table-name TABLE`).
2. Change the table class (DynamoDB console: **Tables → your table → Actions → Update table class → Standard-IA**, or `aws dynamodb update-table --table-name TABLE --table-class STANDARD_INFREQUENT_ACCESS`).
3. Wait for the table to become **Active** again. Reads and writes keep working throughout.
4. Update the table class in Terraform or CloudFormation so a later deployment does not change it back.

## Risks and considerations

* Reads and writes cost about 25% more on Standard-IA. If traffic grows a lot, Standard may become cheaper again.
* You can change a table's class twice in 30 days, so plan before switching back.
* Standard-IA tables are not covered by DynamoDB reserved capacity.
* To roll back, change the table class back to Standard.

## FAQs

> [accordion] Is there any downtime?
>
> No. The change is made online and the table stays available.

## Related

* [Delete Inactive DynamoDB Tables](https://help.nops.io/inform/supported-recommendations/delete-inactive-dynamodb-tables)
* [Switch Steady DynamoDB Tables to Provisioned Capacity](https://help.nops.io/inform/supported-recommendations/switch-steady-dynamodb-tables-to-provisioned-capacity)
* [Buy DynamoDB Reserved Capacity](https://help.nops.io/inform/supported-recommendations/buy-dynamodb-reserved-capacity)
* [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.