VPC Endpoints

VPC Endpoints


Blog

Bug-Byte #5: Unlocking AWS S3: Overcome Access Denied with Insider Tips

Troubleshooting access to S3 buckets in AWS can be frustrating at times, especially given the generic nature of AWS Access Denied errors. These errors often stem from misconfigured policies on the S3 bucket or IAM principal. However, I have encountered a few more exotic cases in the field.

On the rare occasion that the issue is not policy-related, there are three places that I like to check:

  1. Does the bucket have server-side encryption (SSE) configured with a customer-managed KMS Key (CMK)?
  2. Does the traffic to the S3 bucket pass through any VPC S3 endpoints?
  3. Are you trying to configure a Public S3 bucket when all public access is blocked at the account level?

Server-Side Encryption

If an S3 bucket is configured with SSE and is using a CMK, make sure that the principals who require access to the bucket have been granted the ability to use the following actions in the KMS key policy:

Mar 11, 2024
Your project next

Have a use case in mind? Let's talk it through.

Send a paragraph about what you're trying to do on AWS. I'll come back with how I'd approach it, or a pointer to someone better suited.