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 Storage Gateway](/images/3/1.png?width=90pc)
![Delete Storage Gateway](/images/3/2.png?width=90pc)
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 EC2 Instance](/images/3/3.png?width=90pc)
![Delete EC2 Instance](/images/3/4.png?width=90pc)
Delete S3 bucket
- Go to S3 service management interface.
- Select S3 bucket s3-instancestoragegw-2023.
- Click Empty.
![Delete S3 bucket](/images/3/5.png?width=90pc)
- Type
permanently delete
to confirm, then click Empty to delete all the data in this S3 bucket.
![Delete S3 bucket](/images/3/6.png?width=90pc)
- Click Exit to back to the S3 interface.
![Delete S3 bucket](/images/3/7.png?width=90pc)
- Select S3 bucket s3-instancestoragegw-2023, then click Delete.
![Delete S3 bucket](/images/3/8.png?width=90pc)
- Type the name of the bucket, then click Delete bucket to delete the S3 bucket.
![Delete S3 bucket](/images/3/9.png?width=90pc)