S3 Service Endpoint for eu-west-1 (Ireland)

0

I have a DNS record that is a CNAME to my-bucket-name.s3-eu-west-1.amazonaws.com. This DNS record predates my time, but has always worked as expected.

However, reviewing https://docs.aws.amazon.com/general/latest/gr/s3.html#s3_region suggests that the correct S3 endpoint to use would be my-bucket-name.s3.eu-west-1.amazonaws.com (note the dot between s3 and eu, instead of the dash).

Is there any reason not to update the endpoint to the one with the dot, e.g. are there any behavioural differences between these two endpoints? By default I would not make the change as we know the current behvaiour is fine, but Terraform is awanting me to make the change.

or-wwn
질문됨 3달 전192회 조회
3개 답변
2
수락된 답변

Older S3 buckets seem to have such an endpoint.
https://docs.aws.amazon.com/AmazonS3/latest/userguide/VirtualHosting.html#VirtualHostingBackwardsCompatibility

s3‐Region Some older Amazon S3 Regions support endpoints that contain a dash (-) between s3 and the Region code (for example, s3‐us-west-2), instead of a dot (for example, s3.us-west-2). If your bucket is in one of these Regions, you might see the following endpoint format in your server access logs or CloudTrail logs:

https://bucket-name.s3-region-code.amazonaws.com

profile picture
전문가
답변함 3달 전
profile picture
전문가
검토됨 2달 전
0

Hello.

Isn't what you're looking at a website endpoint?
Depending on the region, this may be a hyphen or a period.
https://docs.aws.amazon.com/AmazonS3/latest/userguide/WebsiteEndpoints.html

Depending on your Region, your Amazon S3 website endpoint follows one of these two formats.

In the case of eu-west-1, it is a hyphen as described in the document below.
I don't think it will affect operation as it is region specific.
https://docs.aws.amazon.com/general/latest/gr/s3.html#s3_website_region_endpoints

s3-website-eu-west-1.amazonaws.com

profile picture
전문가
답변함 3달 전
  • Thanks - however, this is definitely not a website endpoint; the bucket is not used for static website hosting and website does not appear in the endpoint.

0

The official explanation can be found here : https://docs.aws.amazon.com/AmazonS3/latest/userguide/VirtualHosting.html

Some older Amazon S3 Regions support endpoints that contain a dash (-) between s3 and the Region code (for example, s3‐us-west-2), instead of a dot (for example, s3.us-west-2).

chleq57
답변함 2달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠