uploading a file to aws s3 is failed

0

Enter image description here when i uploaded a file to aws s3 through aws cli it is showing Could not connect to the endpoint URL: "https://demoo0.s3.ap-south-1.amazonaws.com/AWS.docx" not only aws s3 for every aws services it is showing same error if anyone came across same error please solve it?Enter image description here

已提問 2 年前檢視次數 2231 次
3 個答案
0
AWS
已回答 2 年前
0

how to check the end point?

已回答 2 年前
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/

profile pictureAWS
專家
Matt-B
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南