This topic describes how you can delete the AWS resources associated with a VMware Tanzu Operations Manager deployment. You can use the AWS console to remove an installation of all components, but retain the objects in your bucket for a future deployment.
Prerequisites
Before you can delete resources from AWS, you must have an account with access to your AWS Management Console.
For more information, see AWS Management Console in the AWS documentation.
Delete resources from AWS
To delete the resources associated with Tanzu Operations Manager from AWS:
-
Log into the AWS Management Console.
-
Go to the EC2 Dashboard.
- Click Instances on the navigation menu.
- Select the Tanzu Operations Manager instance from the list.
- Click Actions to open the drop-down menu.
- In Instance State, click Terminate.
- A dialog box appears that prompts you to confirm that you want to stop the instances. Click Yes, then Terminate to confirm.
- Click Load Balancers on the navigation menu.
- Select the web, SSH, and TCP load balancers from the list.
- Click Actions to open the drop-down menu.
- To delete all load balancers, click Delete.
- A dialog box appears that prompts you to confirm the deletion of the load balancers. Click Yes, then Delete to confirm.
-
From the AWS Console, click RDS.
- Click Instances from the navigation menu.
- Click Instance Actions to open the drop-down menu.
- To delete all RDS instances, click Delete.
- Click Create final Snapshot from the drop-down menu.
- To delete the database instance, click Delete.
-
On the AWS Console, click S3.
- Click Buckets from the navigation menu.
- For each bucket created:
- Select the bucket.
- Click Delete.
- On the page that appears, type the name of the bucket in the confirmation text box, then click Delete bucket.
-
On the AWS Console, click VPC.
- Click NAT gateways from the navigation menu.
- Select the NAT gateway you created for your installation.
- Click Actions to open the drop-down menu.
- To delete the NAT gateway, click Delete NAT gateway.
- A dialog appears that prompts you to confirm the deletion of the NAT gateway. Enter
delete
into the confirmation text box, then click Delete.
- Click Your VPCs on the navigation menu.
- Select the VPC you created for your installation.
- Click Actions to open the drop-down menu.
- To delete the VPCs, click Delete VPC.
- A dialog appears prompting you to confirm the deletion of the VPC. Enter “delete” in the confirmation text box, then click Delete.