Changing S3 Bucket Region of Aws Amplify

0

I have recently used aws amplify to host my nextjs SSR app. By default, it somehow selected north virginia region for s3 bucket due to which i am facing latency in getting images on my website. Can i easily change this s3 bucket region to 'Asia-Pacific(Mumbai)' or can i create a new bucket in my region and point the existing aws amplify to it?

2 Respostas
1
respondido há 2 anos
0

You cannot change the region associated with an s3 bucket. You have to delete the old bucket and then re-create it in the new region.

Please note: It usually takes around 24 hours for the bucket name to be available again for re-use. Most of the times its less. During that time, you might receive error like "Bucket already exists". Also, once you delete the bucket, it's name becomes globally available to all AWS accounts, so anyone can take your bucket name if you don't create it first.

AWS
ENGENHEIRO DE SUPORTE
respondido há 2 anos
  • Can i create a new bucket and somehow do something, so aws-amplify use this newly created bucket instead of the old one?

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