DEV Community

Cover image for Day 32: Snapshot and Restoration of an RDS Instance
Thu Kha Kyawe
Thu Kha Kyawe

Posted on

Day 32: Snapshot and Restoration of an RDS Instance

Lab Information

The Nautilus Development Team is preparing for a major update to their database infrastructure. To ensure a smooth transition and to safeguard data, the team has requested the DevOps team to take a snapshot of the current RDS instance and restore it to a new instance. This process is crucial for testing and validation purposes before the update is rolled out to the production environment. The snapshot will serve as a backup, and the new instance will be used to verify that the backup process works correctly and that the application can function seamlessly with the restored data.

As a member of the Nautilus DevOps Team, your task is to perform the following:

Take a Snapshot: Take a snapshot of the devops-rds RDS instance and name it devops-snapshot (please wait devops-rds instance to be in available state).

Restore the Snapshot: Restore the snapshot to a new RDS instance named devops-snapshot-restore.

Configure the New RDS Instance: Ensure that the new RDS instance has a class of db.t3.micro.

Verify the New RDS Instance: The new RDS instance must be in the Available state upon completion of the restoration process.

Enter fullscreen mode Exit fullscreen mode




Lab Solutions

πŸ”Ή Step 1: Ensure Source RDS is Available

Open AWS Console β†’ RDS

Click Databases

Confirm devops-rds status is Available

⚠️ If it’s not Available, wait before proceeding.

πŸ”Ή Step 2: Create RDS Snapshot

Select devops-rds

Click Actions β†’ Take snapshot

Enter:

Snapshot name: devops-snapshot

Click Take snapshot

Wait:

Go to Snapshots

Ensure devops-snapshot status becomes Available

πŸ”Ή Step 3: Restore Snapshot to New RDS Instance

Go to Snapshots

Select devops-snapshot

Click Actions β†’ Restore snapshot

πŸ”Ή Step 4: Configure Restored RDS Instance

On the restore page:

DB instance settings

DB instance identifier:

devops-snapshot-restore

Instance configuration

DB instance class:

db.t3.micro

Connectivity

Public access:
❌ No (keep private)

Other settings

Leave all other options as default

Click Restore DB instance

πŸ”Ή Step 5: Wait for Completion

Go back to Databases

Select devops-snapshot-restore

Wait until Status = Available

⏳ This may take several minutes.


Resources & Next Steps
πŸ“¦ Full Code Repository: KodeKloud Learning Labs
πŸ“– More Deep Dives: Whispering Cloud Insights - Read other technical articles
πŸ’¬ Join Discussion: DEV Community - Share your thoughts and questions
πŸ’Ό Let's Connect: LinkedIn - I'd love to connect with you

Credits
β€’ All labs are from: KodeKloud
β€’ I sincerely appreciate your provision of these valuable resources.

Top comments (0)