Clean up resources
You would clean up resources in the following order:
Delete Storage Gateway
- Go to Storage Gateway service management interface.
- Click Gateways.
- Select the Gateway we created.
- Click Actions.
- Click Delete gateway.
- Type
delete
.
- Click Delete to confirm.


Delete EC2 Instance
- Go to Amazon EC2 console.
- On the left navigation bar, click Instances.
- Select the EC2 Instance we created.
- Click Instance state.
- Click Terminate instance.


Delete S3 bucket
- Go to S3 service management interface.
- Select S3 bucket s3-instancestoragegw-2023.
- Click Empty.

- Type
permanently delete
to confirm, then click Empty to delete all the data in this S3 bucket.

- Click Exit to back to the S3 interface.

- Select S3 bucket s3-instancestoragegw-2023, then click Delete.

- Type the name of the bucket, then click Delete bucket to delete the S3 bucket.
