I have a private subnet in my VPC. I've sshed into this instance from a public subnet. Using a nat gateway, I'm able to run aws s3 ls
and see all my buckets with no issues.
Once I delete the nat gateway from my route table associated with my private subnet and add my VPC endpoint that opens full access to s3, I still can't list my buckets. What are some of the things I could be doing wrong?
The network ACL I have associated with both of my subnets is totally open.
Best Answer
This is a very good resource for troubleshooting
VPC Endpoint
toS3
issues. https://aws.amazon.com/premiumsupport/knowledge-center/connect-s3-vpc-endpoint/The TL;DR troubleshooting steps are: