Clean Up Resources

Delete KMS Resources

  1. Access AWS Management Console

    • Find KMS
    • Select KMS

delete kms

  1. In the KMS interface

    • Select kms-key-encrypt-decrypt
    • Select Key actions
    • Select Disable

delete kms

  1. Next step

    • Select Confirm that you want to disable this key
    • Press Disable key

delete kms

  1. Return to the KMS interface
    • Select kms-key-encrypt-decrypt
    • Select Key actions
    • Select Schedule key deletion

delete kms

  1. Next

    • In Waiting period (in days), enter 7
    • Select Confirm that you want to schedule these keys for deletion after a 7 day waiting period
    • Press Schedule deletion

delete kms

  1. Notification of successful deletion

delete kms

Delete CloudTrail Resources

  1. Access AWS Management Console

    • Find CloudTrail
    • Select CloudTrail

delete cloudtrail

  1. In the CloudTrail interface

    • Select Trail
    • Select kms-key-cloudtrail

delete cloudtrail

  1. Next step

    • Press Stop logging

delete cloudtrail

  1. Next

    • Select Stop logging

delete cloudtrail

  1. After Stop logging, go back and press Delete

delete cloudtrail

  1. Next

    • Press Delete

delete cloudtrail

  1. Notification of successful deletion

delete cloudtrail

Delete S3 Resources

  1. Access AWS Management Console

    • Find S3
    • Select S3

delete S3

  1. In the S3 interface

    • Select Buckets
    • Select General purpose buckets
    • Select aws-athena-query-results-<account-id>-<region>
    • Select Empty

delete S3

  1. Next step

    • Enter permanently delete
    • Press Empty

delete S3

  1. After the bucket is emptied successfully, press Exit

delete S3

  1. Continue by returning to the S3 interface

    • Select General purpose buckets
    • Select aws-athena-query-results-<account-id>-<region>
    • Select Delete

delete S3

  1. Next step

    • Enter aws-athena-query-results-<account-id>-<region>
    • Press Delete bucket

delete S3

  1. Confirm the Athena query results bucket was deleted successfully

delete S3

  1. Continue by returning to the S3 interface

    • Select General purpose buckets
    • Select kms-key-s3-<account-id>-<region>-an
    • Select Empty

delete S3

  1. Next step

    • Enter permanently delete
    • Press Empty

delete S3

  1. After the bucket is emptied successfully, press Exit

delete S3

  1. Continue by returning to the S3 interface

    • Select General purpose buckets
    • Select kms-key-s3-<account-id>-<region>-an
    • Select Delete

delete S3

  1. Next step

    • Enter kms-key-s3-<account-id>-<region>-an
    • Press Delete bucket

delete S3

  1. Successfully deleted

delete S3

Delete User and Group Resources

  1. Access AWS Management Console

    • Find IAM
    • Select IAM

delete user group

  1. In the IAM interface

    • Select User-S3
    • Select Delete

delete user group

  1. Next step

    • Enter Confirm
    • Press Delete user

delete user group

  1. Notification of successful deletion

delete user group

  1. Return to the IAM interface

    • Select GroupLimit
    • Select Delete

delete user group

  1. Next
    • Enter GroupLimit
    • Press Delete

delete user group

  1. Notification of successful deletion

delete user group

Delete Role and Policy Resources

  1. Access AWS Management Console

    • Find IAM
    • Select IAM

delete role policy

  1. In the IAM interface

    • Select Roles
    • Search for kms
    • Select kms-key-role
    • Select Delete

delete role policy

  1. Next step

    • Enter kms-key-role
    • Press Delete

delete role policy

  1. Notification of successful deletion

delete role policy

  1. Return to the IAM interface

    • Select Policies
    • Search for kms
    • Select kms-key-policy
    • Select Delete

delete role policy

  1. Next step

    • Enter kms-key-policy
    • Press Delete

delete role policy

  1. Notification of successful deletion

delete role policy