Migrate AwsAmplify Domain to Cloudfront + S3

0

Currently im using AWS Amplify for my frontend application where "abc.io" domain is registered, Due to charged incur i am planning to change the service to s3 for storage and deliver the content with Cloudfront. I need to migrate the domain used by amplify to cloudfront domain. Within a same hosted zone amplify also used cloudfront "XXXXXXX.cloudfront.net." value. Tried to add CNAME in cloudfront but saying already exists on hosted zone my actual cloudfront domain to use is "YYYYYYYY.cloudfront.net" so how to do this any suggestion?

1개 답변
0

You can't use the same CNAME alias for more than one CloudFront distribution. When the CNAME alias that you want to add is already associated with another CloudFront distribution, you receive the following an example error:

"One or more of the CNAMEs you provided are already associated with a different resource. (Service: AmazonCloudFront; Status Code: 409; Error Code: CNAMEAlreadyExists; Request ID: a123456b-c78d-90e1-23f4-gh5i67890jkl*"

Please refer below link for resolution. https://repost.aws/knowledge-center/resolve-cnamealreadyexists-error

AWS
Billy
답변함 24일 전

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

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

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

관련 콘텐츠