“ I have checked the documents of AWS to use automated service for creation of s3 and kms. Using cloudformation it's very easy to create a bucket and a custom key. Pricing of S3 is cheaper to store the objects and Kms custom keys cost $1 per key.”
AWS CloudFormation is a service that helps you model and set up your AWS resources so that you can spend less time managing those resources and more time focusing on your applications that run in AWS. You create a template that describes all the AWS resources that you want (like Amazon EC2 instances or Amazon RDS DB instances), and CloudFormation takes care of provisioning and configuring those resources for you. You don't need to individually create and configure AWS resources and figure out what's dependent on what; CloudFormation handles that.
In this post, you will get to know how to customize the cloudformation parameters of KMS and S3. Here I have used a cloudformation stack which creates the customized parameters for kms and s3.
The blog post consists of the following phases:
- Launch of Stack for KMS and S3
- Output of Key and Bucket with Customized Parameters
- Open the cloudformation console, create a stack for kms and s3 as template.yaml file. Kms stack creates customer managed keys with required policy. S3 stack creates buckets with its encryption using kms key and s3 managed keys.
- Open the s3 and kms console, check the buckets and key created.
Delete Cloudformation stack and S3 buckets.
I review the pricing and estimated cost of this example.
Cost of S3 = $0.009
Cost of Key Management Service = $1.0
Total Cost = $(1.0+0.009) = $1.009
In this post, I showed “how to customize the cloudformation parameters of KMS and S3”.
Thanks for reading!
Connect with me: Linkedin