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ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ