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
asked 2 months ago160 views
3 Answers
2
Accepted Answer

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
EXPERT
answered 2 months ago
profile picture
EXPERT
reviewed a month ago
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
EXPERT
answered 2 months ago
  • 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
answered a month 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