This article covers the whole process of restoring from a DB Snapshot for a DB Instance identifier.
As we all know, a Snapshot is nothing but a read-only type backup of any database instance, securely protected and saved in Amazon S3 for any specific period time. Snapshots make it easier to create a new database with similar configurations and properties. It is useful at places where the client needs multiple databases with almost similar properties. Rather than creating a new database from the scratch, we prefer restoring it from a snapshot. As it is easier and faster than the traditional approach.
Before diving deep into the restoring process. First let us learn how to create a database and for that follow this linked article.
Now, let’s look at the restoring process step-by-step.
Step 1: First, login into your AWS account. And from the leftmost, click on the services tab, then from the drop-down list click on RDS service. The image is attached ahead for a much better understanding.
Step 2: From the navigation pane, choose the option Snapshots. Here is the image to refer to.
Step 3: Once the snapshot page is loaded on the screen. It looks like this somewhat.
Step 4: Now, choose the DB snapshot, from which you wish to restore. After selecting the snapshot tap on Actions and from the list of options select the Restore Snapshot option. Here is the image to refer to.
Step 5: Now, on the restore snapshot page, look at all the details attached to the snapshot you are restoring from. The image is attached ahead for a much better understanding.
Step 6: Keep scrolling, under the settings section, give a unique name to the DB instance identifier. Use the image to understand better.
Step 7: Once everything is as per your choice, click on Restore DB Instance. Here is the final image.
In this way, e can simply, restore from a DB Snapshot. And if you are also a free tier account user, then make sure you delete all the instances and snapshots before logging out from your account. For a detailed article about deleting a DB Snapshot follow the linked article.