ANSWER in first instance the "aws s3 ls" works but after setting up the endpoint (correctly) it then hangs, leaving you puzzled and checking things which wastes a lot of time, the video shows the second instance of the aws command working. However it will only work if you specify the region e.g. "aws s3 ls –region eu-west-2". The video needs updating
Or, you can run aws configure and specify a default region, which is what I did…after scratching my head and checking everything in my VPC 🙂
Yes that is a "problem"/design feature. AWS VPC Endpoints for S3 currently only allow access to S3 resources in the same region as the endpoint/vpc. There is no cross-region support and that is the region the error occurs.
Please update the video!!! OR link this topic to the video. The first question was a year ago!!!
People spent time in attempts to solve this issue with the s3 bucket region.
I also spent a lot of time until I found out that it is an aspect of s3 work.
I has the same issue, I figured it out thanks to the AWS troubleshooting pages but I agree, the video should be updated.
I was watching the VPC Endpoints for the Security Speciality Exam.