- Newest
- Most votes
- Most comments
Hello Satish,
Regions launched after 2019-03-20 do not support the legacy global endpoint. This includes the AWS region in Cape Town.
The change, as well as the correct URIs to use, are documented on the following page:
https://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html#VirtualHostingBackwardsCompatibility
We encourage all customers to make use of the awscli or our SDKs, which are available in many programming languages.
Thank you,
.Robert
Also please note that "s3.amazonaws.com" is a standard endpoint address but special case for U.S. East North Virginia you cannot use for other regions.
I had an issue using aws cli 1 on amazon linux 2 giving me the same error mentioned by OP. I removed aws cli1 and install version 2. I was then able to use the s3 buckets in CT as normal.
Relevant content
- Accepted Answerasked 2 months ago
- asked 8 months ago
- asked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated a year ago