Cleaning Up The Resources

Cleaning Up The Resources

Step 1: Delete restored AWS resources

Delete three DynamoDB restored tables using following command.

aws dynamodb delete-table \
--table-name ProductCatalogODRestore

aws dynamodb delete-table \
--table-name ProductCatalogRestored

aws dynamodb delete-table \
--table-name ProductCatalogPITR

Step 2: Delete the backup plan

Follow these steps to delete a backup plan:

  1. In the AWS Management Console, navigate to Services -> AWS Backup. In the navigation pane, choose Backup plans.On the Backup plans page, choose dbBackupPlan. This takes you to the details page.

Backup Plan Delete 1

  1. To delete the resource assignments for your plan, choose the radio button next to the dynamodbTable under Resource assignments, and then choose Delete.

Backup Plan Delete 2

  1. To delete the backup plan, choose Delete in the upper-right corner of the page.

Backup Plan Delete 3

  1. On the confirmation page, enter dbBackupPlan, and choose Delete plan.

Backup Plan Delete 4

Step 3: Delete the recovery points

  1. On the AWS Backup console, in the navigation pane, choose Backup vaults.

  2. On the Backup vaults page, choose the dynamodb-backup-vault. Check the recovery point and choose Delete.

Restore Points Delete 1

  1. If you are deleting more than one recovery point, follow these steps:

    a. Review the list of recovery points that you are deleting.

    b. If you want to edit the list, choose Modify selection.

    c. If your list contains a continuous backup, choose whether to keep or delete your continuous backup data.

    d. To delete all the recovery points listed, enter delete, and then choose Delete recovery points.

Keep your browser tab open until you see the green success banner at the top of the page.

Prematurely closing this tab will end the deletion process and might leave behind some of the recovery points you wanted to delete.

Step 4: Delete the backup vault

  1. Select the backup vault dynamodb-backup-vault and choose Delete.

Backup Vault Delete 1

  1. On the confirmation page, enter dynamodb-backup-vault, and choose Delete Backup vault.

Backup Vault Delete 2