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 réponse
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
répondu il y a 24 jours

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions