AWS Certified Solutions Architect - Associate (SAA-C02)

Sign Up Free or Log In to participate!

Does S3 bucket that is created with the CLI is public by default?

Does S3 bucket that is created with the CLI is public by default and needs to be configured to be private after creation and what if it was the creation with any automation tool such as CloudFormation or Teraform?

santoshg

Buckets are private by default. We have to allow public access on both the bucket and its objects in order to make the bucket public.

1 Answers

S3 buckets are private by default and you can make them public through console or CLI or CF or Teraform. You can use "AccessControl" and "BucketPolicy" commands in your JSON to give them public or specific access.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?