All hands-on labs

Premium Hands-on labintermediateblue teamAWS

Remediating Ghost Databases in the Cloud

Learn how to safely remediate ghost databases after identifying them in your cloud environment. You'll implement a phased approach to handle abandoned RDS instances: Phase 1 (Triage) involves auto-tagging with Cloud Custodian and notifying potential owners. Phase 2 (Quarantine) demonstrates network isolation using restrictive security groups and IAM lockdowns to prevent unauthorized access. Phase 3 (Backup & Termination) covers creating final snapshots and safely deleting confirmed ghost databases. Please note: databases take a while to deploy, so this lab can take up to 10 minutes to be ready. Familiarize yourself with the lab guide below what you wait!

  • 15 guided tasks
  • Terminal in the browser

Scenario

An RDS database named my-db is running in this AWS account with no tags, and we believe it's a ghost database: nobody owns it and nobody uses it. Now it's time to take action. But what should we do, and in what order? Let's find out as we triage, quarantine, back up, and finally delete it.

Note: Amazon RDS takes a few minutes to deploy, so this lab can take 7-10 minutes to launch since we're customizing the environment just for you. While it's launching, please familiarize yourself with the lab guide below.

What you will learn

  • Tag an untagged RDS database for review with a Cloud Custodian policy
  • Quarantine a database with a restrictive security group
  • Remove an IAM role that is associated with a database
  • Take a final snapshot and delete an unclaimed database
  • Explain the special cases to check before you delete a database
Hands-on lab

Remediating Ghost Databases in the Cloud

Included in Cybr Premium.