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 Risposte
1
con risposta 2 anni fa
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
TECNICO DI SUPPORTO
con risposta 2 anni fa
  • Can i create a new bucket and somehow do something, so aws-amplify use this newly created bucket instead of the old one?

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande