AWS-Logo_White-Color
1.
Introduction
2.
Preparation
2.1.
Create a CloudFormation stack
2.2.
Create EC2 Intance
3.
Starting with AWS KMS
3.1.
Create CMK
3.2.
Generate CMKs with your own key material
3.3.
Rotating AWS KMS CMKs
3.4.
Delete AWS KMS CMK
4.
Encryption with KMS
4.1.
Server Side Encryption
4.2.
Client Side Encryption
4.3.
Direct Encryption with AWS KMS
5.
Key Policy & best practices
5.1.
Install Web App
5.2.
Adding Encryption to the Web App
5.3.
Working with Key Policies
5.4.
Key Policies and VPC Private Endpoints
5.5.
Key Tagging
6.
Monitoring AWS KMS
7.
Clean up resources
More
AWS Study Group - Blog
AWS Study Group - FB Group
English
Tiếng Việt
Clear History
Workshop
Cloud Journey
Last Updated
27-11-2023
Team
Gia Hưng
AWS Key Management Service
> Clean up resources
Clean up resources
You clean up resources in the following order:
Schedule to delete the CMKs we have created
Go to
AWS KMS Console
Click
Customer managed keys
Select
FirstCMK
Select
ImportedCMK
Click
Key actions
Click
Schedule key deletion
In the
Schedule key deletion
page
In the
Waiting period
section, type
7
Click
Confirm that you want to schedule these keys for deletion after a 7 day waiting period.
Click
Schedule deletion
Terminate EC2 Instance
Go to
Amazon EC2 console
.
On the left navigation bar, click
Intances
.
Select
KMSWorkshop-Instance
.
Click
Terminate
Delete S3 bucket
Go to
AWS S3 Console
.
Click
Buckets
Select S3 bucket was created to save file template.txt When we create the CloudFormation stack.
Click
Empty
.
Type
permanently delete
to confirm, then click
Empty
to delete the data in this S3 bucket.
Click
Exit
.
Click
Delete
.
Type the name of this bucket then click
Delete bucket
to delete this S3 bucket.
Do the same for S3 bucket
kmsworkshop
Delete Role
Go to
AWS IAM Console
.
Click
Roles
.
Select
KMSWorkshop-InstanceInitRole
.
Click
Delete
Type
KMSWorkshop-InstanceInitRole
to confirm, thne click
Delete
Delete CloudFormation Stack
Go to
AWS CloudFormation Console
.
Select
KMSWorkshop-Stack
.
Click
Delete
Click
Delete stack