“ I have checked the documents of AWS to validate the s3 buckets features and objects. AWS cloudshell provides the solution to run the aws s3api commands and verify the buckets with features plus objects created. In terms of cost, there is no charge for aws cloudshell with this only need to pay the cost of services integrated with it.”
AWS CloudShell is a browser-based, pre-authenticated shell that you can launch directly from the AWS Management Console. You can navigate to CloudShell from the AWS Management Console a few different ways. You can run AWS CLI commands using your preferred shell, such as bash, powershell or z shell. And you can do this without downloading or installing command line tools.
In this post, you will experience the validation of s3 bucket features and objects using aws cloudshell. Here I have created s3 buckets with bucket versioning enabled, lifecycle rule enabled and objects in the bucket.
The blog post consists of the following phases:
- Create of Amazon S3 Bucket with Bucket Versioning and Lifecycle Rule Enabled
- Testing of S3 Bucket Versioning Enabled, Lifecycle Rule Enabled and Calculate of Total Bucket Size Using AWS S3 Commands
- Open the console of S3, create a bucket named “t1-buck and t2-buck” with bucket versioning and lifecycle rule options enabled.
Phase 2: Testing of S3 Bucket Versioning Enabled, Lifecycle Rule Enabled and Calculate of Total Bucket Size Using AWS S3 Commands
- Open the cloudshell console, run the aws s3api command to verify the bucket versioning and lifecycle rule enabled from cli prompt.
- Open the s3 bucket created and upload the objects in the bucket. Also check the size of uploaded files using aws s3 command.
Delete of S3 buckets.
I review the pricing and estimated cost of this example.
Cost of Amazon S3 = $0.25
Cost of AWS CloudShell (No charge for cloudshell) = $0.0
Total Cost = $0.25
In this post, I showed “how to do validation of s3 bucket features and objects using aws cloudshell”.
Thanks for reading!
Connect with me: Linkedin