I have an Amazon DynamoDB used for a project that will be on hold for at least 6 months. I want to archive the database to remove as much of the day-to-day costs as is reasonably possible. I'm hoping I can somehow export the data to some backup format and store it in Amazon S3 storage. I would then want to be able to restore the data to resurrect the DynamoDB at some future date.
CodePudding user response:
You have several options, but first of all it's important to understand DynamoDB free tier:
- You get 25GB of storage free per region
- You get 25RCU/WCU free per region
So if it's a single table and less than 25GB you can keep that table in DynamoDB for free.
Backup options:
AWS Backup : Takes a snapshot of your table and handles the storage medium. You can also choose to keep in cold storage for a lower cost. No S3 costs for putting or getting the data later.
Export to S3 : This built in feature to DynamoDB allows you to export the table to S3 in DynamoDB JSON or ION format. You will incur export costs as well as puts to S3. Later you can use the import from S3 feature to restore the table.