AWS S3 Security

AWS S3 Security

IAM Policies, Bucket Polices, & ACLs

Table of contents

No heading

No headings in the article.

All Buckets and objects are private by default. Only the resource owner, an AWS account that created it, can access the resource.

Access to S3 bucket and/or objects can be controlled via

  1. IAM Policies
  2. Bucket Polices
  3. Access Control Lists

image.png

IAM Policies, Bucket Polices, & ACL image.png

IAM Policies Vs. Bucket Polices
IAM Policies are attached to IAM Entities such as User, Groups and Roles and they define What is allowed or denied ?

Bucket Polices are attached to S3 Buckets and define Who is allowed or denied

image.png

AWS S3 Block Public Access Block Public Access is applicable to only Public/Anonymous access Block public access settings can override ACLs and bucket policies public access You can apply block public access settings to individual buckets or to all buckets in your account

image.png

When to use What ?

image.png

AWS References:
aws.amazon.com/s3/security
docs.aws.amazon.com/AmazonS3/latest/usergui..
docs.aws.amazon.com/AmazonS3/latest/usergui..
docs.aws.amazon.com/AmazonS3/latest/usergui..
docs.aws.amazon.com/AmazonS3/latest/usergui..

For More such simple notes on AWS, Follow me on
LinkedIn: linkedin.com/in/venkatesh111
Twitter: twitter.com/venkatesh111
GitHub: venkateshk111.github.io