I am trying to access S3 files from non-EC2 machine. non-EC2 machine is connected to VPC over VPN, also can reach to other hosts in VPC.
- Created VPC Endpoint for S3
- Main routing table of VPC has route for S3 pointing to VPCe (
pl-68a54001 (com.amazonaws.us-west-2.s3, 220.127.116.11/19, 18.104.22.168/17, 22.214.171.124/22))
- S3 bucket has Static website hosting enabled
- S3 bucket has policy for accessing files from VPCe (https://docs.aws.amazon.com/AmazonS3/latest/dev/example-bucket-policies-vpc-endpoint.html)
I am able to download (
wget) file from S3 to EC2 in the VPC. When I try to do same (
wget) from non-EC2 (which is in Data Centre), I get timeout.
Anyone know what I need to do to get this working ?