3 Answers
- Newest
- Most votes
- Most comments
0
Hi There
Are you using an ec2 instance to run the CLI? Have you verified that the EC2 instance has internet access? If its in a private subnet, verify that the instance can reach the internet via a NAT gateway. If in a public subnet, verify that it has an elastic IP attached.
To troubleshoot this error, check the following:
Confirm that you're using the correct AWS Region and Amazon S3 endpoint.
Verify that your network can connect to those Amazon S3 endpoints.
Verify that your DNS can resolve to those Amazon S3 endpoints.
If you're seeing this error on an Amazon Elastic Compute Cloud (Amazon EC2) instance, then check the Amazon Virtual Private Cloud (Amazon VPC) configuration.
Please take a look at this KB article detailing the troubleshooting steps for this error
https://aws.amazon.com/premiumsupport/knowledge-center/s3-could-not-connect-endpoint-url/
Relevant content
- asked 2 months ago
- asked 2 years ago
- asked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 months ago
how to check the end point?