Posts

DevOps(Day-94): AWS S3 Bucket Creation and Management through Terraform hands on

Image
  TABLE OF CONTENTS AWS S3 Bucket Task: Hands-On Create an S3 bucket using Terraform Configure the bucket to allow public read access Create an S3 bucket policy that allows read-only access to a specific IAM user or role Enable versioning on the S3 bucket AWS S3 Bucket Amazon S3 (Simple Storage Service) is an object storage service that offers industry-leading scalability, data availability, security, and performance. It can be used for a variety of use cases, such as storing and retrieving data, hosting static websites, and more. In this task, you will learn how to create and manage S3 buckets in AWS. Task: Hands-On Create an S3 bucket using Terraform Create an  S3.tf  with required bucket name. Use terraform init and plan to get the providers and view the terraform changes. Now, use terraform apply to make the changes using terraform files. Navigate to the AWS management console and go to S3 to view the bucket created. Configure the bucket to allow public read access En...