Clean Up Resources

Clean Up Overview

Warning: To avoid unnecessary charges, you must delete all resources in the exact order below.

Delete Transit Gateway Attachments

  1. Access VPC Management Console

    • Open VPC Management Console
    • Select Transit Gateway Attachments
  2. Delete Attachments

    • Select all related Attachments
    • Click Actions > Delete
    • Confirm deletion in the prompt

Delete Attachments Delete Attachments

  1. Confirm Deletion
    • Wait 1–2 minutes for deletion to complete
    • Verify the status of the Attachments

Confirm Attachment Deletion

Delete Transit Gateway

  1. Access Transit Gateway

    • From the left menu, select Transit Gateways
    • Choose the Transit Gateway to delete
  2. Delete Transit Gateway

    • Click Actions > Delete
    • Confirm deletion in the prompt

Warning: You must wait until all Transit Gateway Attachments are completely deleted before deleting the Transit Gateway.

Delete Transit Gateway Delete Transit Gateway Delete Transit Gateway

Delete CloudFormation Stack

  1. Access CloudFormation

    • Open CloudFormation Management Console
    • Select Stacks
  2. Delete Stack

    • Select the Stack related to the lab
    • Click Delete
    • Confirm deletion in the prompt

Pro Tip: CloudFormation will automatically delete all resources created by the stack.

Delete CloudFormation Stack

Information: The deletion process may take a few minutes. Make sure to monitor the stack status until it is fully deleted.