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
feita há 3 meses191 visualizações
3 Respostas
2
Resposta aceita

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
ESPECIALISTA
respondido há 3 meses
profile picture
ESPECIALISTA
avaliado há 2 meses
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
ESPECIALISTA
respondido há 3 meses
  • 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
respondido há 2 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas