Terraform on AWS: Nonprod and Production Environments · Identity and Data: IAM, S3 and RDS

S3 Private Bucket Module

Build a reusable module for a hardened private S3 bucket: versioning, server-side encryption, public access block, TLS-only bucket policy and lifecycle rules.

Members can save this page, take notes and track progress. See membership · Sign in

What you'll build

A modules/s3-bucket module that creates a private S3 bucket with versioning, AES-256 encryption, a public access block, a bucket policy that denies HTTP requests, and configurable lifecycle rules to expire old versions and noncurrent objects.

Premium course

Keep reading with a membership

The rest of this lesson, its practice questions and the whole Terraform on AWS: Nonprod and Production Environments course are part of the membership.

See plans Sign in

Open in the app to mark lessons complete, take notes and track your progress.

Last reviewed · By the ByteCamel team · How we write content

Was this page helpful?

Report a mistake