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
demandé il y a 3 mois191 vues
3 réponses
2
Réponse acceptée

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
répondu il y a 3 mois
profile picture
EXPERT
vérifié il y a 2 mois
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
répondu il y a 3 mois
  • 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
répondu il y a 2 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions