s3 terminal connection faild

0

hi there .

created an aws s3 bucket for public website , put it inside folder ,

fixed my aws ~/credentials for that session , try to connect with terminal , the error always showing that the s3 bucket url us-east-1 .aws.com is not work , [[Could not connect to the endpoint URL: "https://s3.us-east-2.amazonaws.com/"]]

when i type ( aws s3 ls ) also show the same error

what can i do , how to access folder inside my bucket from terminal as well

thanks supporters , i wish you a great day in advance .

TCPYO
asked 15 days ago522 views
2 Answers
1

Hello.

Could you please share the specific error message?
If access is denied, the IAM user who issued the access key may not have enough IAM policies to access S3.
https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Integrating.Authorizing.IAM.S3CreatePolicy.html

profile picture
EXPERT
answered 15 days ago
profile pictureAWS
EXPERT
iBehr
reviewed 15 days ago
  • Hello Mr Riku thanks for reply ,when i tried command [aws iam list-user] its showing th current session User

    but once i type [aws s3 ls ] its showing that error [Could not connect to the endpoint URL: "https://s3.us-east-2.amazonaws.com/"] i checked the credential files , made sure about everything but it always showing that error .

    thanks for your concern~

  • Will it be successful if I change the region set in the authentication information to a different region? For example, the settings are as follows.

    region = us-east-1
    
0
Accepted Answer

oh i see i made it again , and also made sure about spaces and it worked , thanks alot .

TCPYO
answered 12 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions