Clean up resources

You would clean up resources in the following order:

Delete S3 bucket

  1. Go to the management interface of the S3 service
  • Click on S3 bucket s3-instancerole-001.
  • Click Empty.

Role

  1. Enter permanently delete to confirm, then click Empty to delete all data in S3 bucket.
  • Click Exit to return to the S3 interface.
  1. Click the S3 bucket s3-instancerole-001 , then click Delete.

Role

  1. Enter the bucket name then click Delete bucket to delete the S3 bucket.

Delete EC2 Instance

  1. Go to EC2 service management interface
  • Click on the Instance we created for the lab.
  • Click Instance state.
  • Click Terminate instance , then click Terminate to confirm.

Role

  1. Go to IAM service management interface
  • Click Users
  • Click on user iamaccesskey.
  • Click Delete. Enter the username iamaccesskey and click Delete.

Role

  1. Click Roles.
  • Enter ec2 to find the role we created.
  • Click on role ec2roles3upload.
  • Click Delete. Enter the role name ec2roles3upload and click Delete to delete the IAM Role.

Role