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日前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ