Back

Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
in AWS by (19.1k points)

$ aws s3 ls

Could not connect to the endpoint URL: "https://s3.us-east-1a.amazonaws.com/"

What could be the problem?

1 Answer

0 votes
by (44.3k points)

Your region would have not been set correctly in the ~/.aws/config file. In that file, you have something like this:

[default]

region=us-east-1a

 

Fix the region to us-east-1 replacing us-east-1a then it will work.

Related questions

Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

Welcome to Intellipaat Community. Get your technical queries answered by top developers!

28.4k questions

29.7k answers

500 comments

94.2k users

Browse Categories

...