Migrating a CNAME Record to Its Own Hosted Zone in AWS Route 53 with Zero Downtime
Overview Migrating DNS records, especially CNAME records, between hosted zones in AWS Route 53 can be tricky and often introduces the risk of downtime. This blog post discusses the challenges of migrating a CNAME record from a parent hosted zone to its own hosted zone and provides a step-by-step guide to achieve zero downtime using a combination of AWS CLI and Terraform. Example Use Case: We need to migrate the app.example.com CNAME record from the parent hosted zone example.com to a new hosted zone app.example.com. This migration must be performed without any downtime to ensure uninterrupted service. ...