You are currently viewing How To Restore An AWS RDS Instance Using Snapshot

How To Restore An AWS RDS Instance Using Snapshot

How to restore an AWS RDS instance using snapshot

Hello Everyone

Welcome to CloudAffaire and this is Debjeet.

In the last blog post, we have discussed how to take a snapshot of an AWS RDS instance.

https://cloudaffaire.com/how-to-take-backup-of-an-aws-rds-instance/

In this blog post, we will discuss how to restore an AWS RDS instance using snapshot. To reduce cost, we are going to delete our existing RDS instance first and then restore the RDS instance from snapshot.

Prerequisites for this demo:

  • Valid snapshot of an AWS RDS instance.

How to restore an AWS RDS instance using snapshot:

Step 1: Login to AWS console and navigate to ‘RDS’.

How To Restore An AWS RDS Instance Using Snapshot

Step 2: In the navigation pane, click ‘Databases’, select your RDS instance and from ‘Actions’ click on ‘Delete’.

C:\Users\user\AppData\Local\Temp\SNAGHTML20d9b6b.PNG

Step 3: In the navigation pane, click ‘Snapshots’, select the snapshot and from ‘Actions’ click ‘Restore Snapshot’.

C:\Users\user\AppData\Local\Temp\SNAGHTML210b8e7.PNG

Note: This will create a new instance with the existing configuration of the instance from which the snapshot has been taken.

Step 4: Provide the new instance configuration details and click ‘Restore DB instance’.

How To Restore An AWS RDS Instance Using Snapshot

How To Restore An AWS RDS Instance Using Snapshot

How To Restore An AWS RDS Instance Using Snapshot

How To Restore An AWS RDS Instance Using Snapshot

Our new instance successfully created from the snapshot.

How To Restore An AWS RDS Instance Using Snapshot

Next, validate the data of the RDS instance.

Note: The endpoint URL of the instance will change due to above restore, modify your connection string accordingly.

Step 5: Connect to the RDS instance and validate data.

How To Restore An AWS RDS Instance Using Snapshot

Hope you have enjoyed this article, In the next blog post, we will discuss how to monitor an AWS RDS instance.

To get more details on AWS RDS, please refer below AWS documentation

https://docs.aws.amazon.com/rds/index.html

 

Leave a Reply