Welcome back to the channel! In today's tutorial, we delve into creating an AWS S3 bucket using Terraform, exploring versioning and encryption. As the AWS landscape evolves, we navigate the changes in syntax and showcase two methods: one leveraging a custom KMS key and the other utilizing S3 managed keys.
Starting with the provider definition, we specify the AWS region and profile for seamless integration. The S3 bucket creation, the old way, involves setting default ACL to "public-read" and enabling versioning with the "versioning" parameter. For server-side encryption, the "server_side_encryption_configuration" parameter is implemented with the "AES256" algorithm.
In the new approach, we introduce a separate AWS KMS key resource, creatively named "my-key." A distinct resource handles S3 server-side encryption configuration, including the bucket name and KMS key ARN, utilizing the "AWS:KMS" algorithm. A parallel resource tackles S3 bucket versioning, aptly named "my-version," with the status set to "Enabled."
This tutorial addresses the intricacies of the latest Terraform S3 API, offering a step-by-step guide. For those keen on staying ahead in cloud infrastructure management, this video is a must-watch. Subscribe for more insights, and drop your questions below for interactive learning!
Video Recommendation
====================
1-AWS S3 Access Point Demo|Hands-on
AWS S3 Access Point Demo|Hands-on
2-AWS S3 Monitoring [Contd] #21
AWS S3 Monitoring [Contd] #21
3-Working with S3 using Boto3
Working with S3 using Boto3
Time Stamps
====================
0:01 - Terraform and S3
0:13 - Enabling versioning and encryption
0:18 - Encryption methods: KMS Managed Keys, S3 Managed Keys
1:03 - Changes in encryption and versioning syntax
1:33 - Provider definition for AWS and region
3:02 - Setting up ACL (Access Control List)
4:07 - Setting up versioning (old way)
6:43 - Encryption with S3 Managed Keys - AES 256 algorithm
8:28 - Terraform apply to create the S3 bucket
9:04 - Verifying S3 bucket creation with AWS CLI
16:38-Trying AWS S3 API
What To Watch Next:
===================
1-AWS S3 Encryption #22
AWS S3 Encryption #22
2-AWS - Cross Region Replication in S3 #HowTo
AWS - Cross Region Replication in S3 #HowTo
3-Versioning In S3 #23
Versioning In S3 #23
==============================
👉🏻 I'm available at https://topmate.io/tariq_siddiqui
ABOUT INFINITE LINUX
=====================
Welcome to INFINITE LINUX. With over 12+ years of experience in DevOps and Site Reliability Engineering, I am here to share my knowledge and expertise with you. Here, you'll find in-depth tutorials and demos on the latest technologies in the field, including Terraform, Kubernetes, Docker, Linux, and AWS. Whether you're just starting out or looking to advance your skills, my tutorials will provide you with step-by-step guidance on how to use these tools to build, deploy, and manage your own infrastructure. You'll also learn some insider tips, and best practices and learn from my own experience. Subscribe now and join me on this journey to master the art of DevOps. I'm excited to announce my topmate.io page where you can book a 1:1 call or ask any queries you may have. Whether you need help with my areas of expertise, or just want to chat anything.
TOOLS I RECOMMEND:
====================
https://www.terraform.io/docs/configu...
https://amzn.to/3cEGVNf
========================
Watch video Terraform: Create S3 bucket with Encryption and Versioning online without registration, duration hours minute second in high quality. This video was added by user Infinite Linux 25 October 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,234 once and liked it 10 people.