Resource cleanup
Delete KMS resource
- Access AWS Management Console
![delete kms](/images/7.delete-resources/7.1delete-kms/0001.png?width=90pc)
- In the KMS interface
- Check kms-key-encrypt-decrypt
- Select Key actions
- Select Disable
![delete kms](/images/7.delete-resources/7.1delete-kms/0002.png?width=90pc)
- Next step
- Check Comfirm that you want to disable this key
- Press Disable key
![delete kms](/images/7.delete-resources/7.1delete-kms/0003.png?width=90pc)
- Return to the KMS interface
- Check kms-key-encrypt-decrypt
- Select Key actions
- Select Schedule key deletion
![delete kms](/images/7.delete-resources/7.1delete-kms/0004.png?width=90pc)
- Next
- Waiting period (in days) enter 7
- Check Confirm that you want to schedule these keys for deletion after a 7 day waiting period
- Click Schedule deletion
![delete kms](/images/7.delete-resources/7.1delete-kms/0005.png?width=90pc)
- Notification of success
![delete kms](/images/7.delete-resources/7.1delete-kms/0006.png?width=90pc)
Delete CloudTrail resources
- Access AWS Management Console
- Find CloudTrail
- Select CloudTrail
![delete cloudtrail](/images/7.delete-resources/7.2delete-cloudtrail/0001.png?width=90pc)
- In the CloudTrail interface
- Select Trail
- Select kms-key-cloudtrail
![delete cloudtrail](/images/7.delete-resources/7.2delete-cloudtrail/0002.png?width=90pc)
- Next step
![delete cloudtrail](/images/7.delete-resources/7.2delete-cloudtrail/0003.png?width=90pc)
- Next
![delete cloudtrail](/images/7.delete-resources/7.2delete-cloudtrail/0004.png?width=90pc)
- After Stop logging, go back and press Delete
![delete cloudtrail](/images/7.delete-resources/7.2delete-cloudtrail/0005.png?width=90pc)
- Next
![delete cloudtrail](/images/7.delete-resources/7.2delete-cloudtrail/0006.png?width=90pc)
- Notification of success
![delete cloudtrail](/images/7.delete-resources/7.2delete-cloudtrail/0007.png?width=90pc)
Delete S3 resource
- Access AWS Management Console
![delete S3](/images/7.delete-resources/7.3delete-s3/0001.png?width=90pc)
- In the S3 interface
- Select aws-athena-query-results-058264191537-us-east-1
- Select Empty
![delete S3](/images/7.delete-resources/7.3delete-s3/0002.png?width=90pc)
- Next step
- Enter
permanently delete
- Press Empty
![delete S3](/images/7.delete-resources/7.3delete-s3/0003.png?width=90pc)
- Notice of Empty success
![delete S3](/images/7.delete-resources/7.3delete-s3/0004.png?width=90pc)
- Continue returning to the CloudTrail interface
- Select aws-athena-query-results-058264191537-us-east-1
- Select Delete
![delete S3](/images/7.delete-resources/7.3delete-s3/0005.png?width=90pc)
- Next step
- Enter
aws-athena-query-results-058264191537-us-east-1
- Press Delete bucket
![delete S3](/images/7.delete-resources/7.3delete-s3/0006.png?width=90pc)
- Continue returning to the CloudTrail interface
- Select kms-key-s3
- Select Empty
![delete S3](/images/7.delete-resources/7.3delete-s3/0007.png?width=90pc)
- Next step
- Enter
permanently delete
- Press Empty
![delete S3](/images/7.delete-resources/7.3delete-s3/0008.png?width=90pc)
- Notification of success
![delete S3](/images/7.delete-resources/7.3delete-s3/0009.png?width=90pc)
- Return to the CloudTrail interface
- Select kms-key-s3
- Select Delete
![delete S3](/images/7.delete-resources/7.3delete-s3/0010.png?width=90pc)
- Next we press Empty again
![delete S3](/images/7.delete-resources/7.3delete-s3/0011.png?width=90pc)
- Next step
- Enter
permanently delete
- Press Empty
![delete S3](/images/7.delete-resources/7.3delete-s3/0012.png?width=90pc)
- We return to the CloudTrail interface
- Select kms-key-s3
- Select Delete
![delete S3](/images/7.delete-resources/7.3delete-s3/0014.png?width=90pc)
- Next
- Enter
kms-key-s3
- Press Delete bucket
![delete S3](/images/7.delete-resources/7.3delete-s3/0015.png?width=90pc)
- Deletion successful
![delete S3](/images/7.delete-resources/7.3delete-s3/0016.png?width=90pc)
Delete User and Group resources
- Access AWS Management Console
![delete user group](/images/7.delete-resources/7.4delete-usergroup/0001.png?width=90pc)
- In the IAM interface
- Select User-S3
- Select Delete
![delete user group](/images/7.delete-resources/7.4delete-usergroup/0002.png?width=90pc)
- Next step
- Enter
User-S3
- Press Delete user
![delete user group](/images/7.delete-resources/7.4delete-usergroup/0003.png?width=90pc)
- Notification of success
![delete user group](/images/7.delete-resources/7.4delete-usergroup/0004.png?width=90pc)
- Return to the IAM interface
- Check GroupLimit
- Select Delete
![delete user group](/images/7.delete-resources/7.4delete-usergroup/0005.png?width=90pc)
- Next
- Enter
GroupLimit
- Press Delete
![delete user group](/images/7.delete-resources/7.4delete-usergroup/0006.png?width=90pc)
- Notification of success
![delete user group](/images/7.delete-resources/7.4delete-usergroup/0007.png?width=90pc)