githubEdit

Deleting an RDS Instance Created Outside DuploCloud

This guide explains how to delete an RDS instance that was created manually outside the DuploCloud platform. By default, the DuploCloud admin IAM role ( duplomaster ) only allows deletion of RDS instances if their name includes the word 'duplo' . Prerequisites: You must have Just-In-Time (JIT) admin access to the AWS Console. See: https://docs.duplocloud.com/docs/overview/use-cases/jit-access

  1. Get JIT Access to AWS Console Use DuploCloud’s CLI to launch an admin session in the AWS console: duplo-jit aws --admin --host "https://.duplocloud.net" --interactive | jq -r .ConsoleUrl | pbcopy Open the copied URL in your browser

  2. Find the RDS instance In the AWS Console:

  • Go to RDS > Databases

  • Identify the RDS instance you want to delete (e.g., 'my-db')

  1. Rename the RDS instance To comply with IAM policy, you must rename the RDS instance so its name contains the word 'duplo'. For example: Original: my-db Updated: duplo-my-db To rename:

  • Click the database identifier

  • Choose “Modify”

  • Update the DB instance identifier to include 'duplo'

  • Apply changes (this may cause a brief restart)

  1. Delete the RDS instance

  • After renaming, select the instance

  • Click “Actions” → “Delete”

  • Follow the prompts to delete the instance Once the name includes 'duplo', the DuploCloud IAM policy will permit deletion.

Last updated

Was this helpful?