Delete S3 Bucket and IAM Roles


This section should be completed only if you did the Microsoft SQL Server to Amazon S3 lab. You can STOP reading now if you completed any of the other labs in the Database Migration Workshop because you have completed removing the resources for those labs at this stage.

  1. Navigate to Amazon S3 console and go to the bucket that you created as part of this lab.

\[s3-resource1\]

  1. Click on the checkbox left to the dmstargetfolder. Click on the Actions button, and select Delete.

\[s3-resource2\]

  1. Navigate to Amazon S3 console and click on the checkbox lef to the S3 bucket you created earlier. Click on Delete.

\[s3-resource3\]

  1. Type in the name of your bucket, then click on Delete.

\[s3-resource4\]

  1. Now, you need to delete the IAM role for the DMS service that you created earlier. Go to the IAM console, and then go to Roles from the navigation pane. In the search bar, type in DMS-LAB-Role.

\[s3-resource5\]

  1. Click on the checkbox next to the DMS-LAB-Role, then click on Delete role. Select Yes, delete on the new prompt.

\[s3-resource6\]

  1. Now, you need to delete the IAM policy that you created earlier. Go to the IAM console, and then go to Policies from the navigation pane. In the search bar, type in DMS-LAB-S3-Access-Policy.

\[s3-resource7\]

  1. Click on the checkbox next to the DMS-LAB-S3-Access-Policy. Then, click on Policy actions and select Delete.

\[s3-resource8\]

  1. Select Delete on the new prompt.

\[s3-resource9\]

You have completed removing the AWS resources that you created earlier in your account.