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개 답변
1
답변함 2년 전
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
지원 엔지니어
답변함 2년 전
  • Can i create a new bucket and somehow do something, so aws-amplify use this newly created bucket instead of the old one?

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠