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’.
Step 2: In the navigation pane, click ‘Databases’, select your RDS instance and from ‘Actions’ click on ‘Delete’.
Step 3: In the navigation pane, click ‘Snapshots’, select the snapshot and from ‘Actions’ click ‘Restore Snapshot’.
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’.
Our new instance successfully created from the 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.
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