We Moved a Domain Registrar With an AI Agent. Here's What Still Required a Human.
An engineering account of moving elasticbanana.com from Amazon Registrar to Cloudflare: DNS, IPv6, API payments, human approvals, and the cleanup still pending.
Elastic Banana is becoming a technology, web development, and AI engineering agency. Before building much of that public presence, we wanted to put the domain on a sensible foundation: registration and authoritative DNS together at Cloudflare, with the existing AWS website left running.
An AI coding agent did much of the investigation, built the migration utility, reconciled DNS records, submitted the approved registrar transfer, and checked the result. It also encountered stale credentials, permission errors that were easy to misinterpret, and a transfer workflow that still needed its owner to act.
The useful part of this experiment was seeing where automation helped and where an accountable person still needed to make a decision. A domain migration is small enough to understand, but consequential enough that a confident answer is no substitute for evidence.
First, find out what is actually running
Moving a registrar, changing authoritative DNS, and moving a website are separate operations. We wanted the first two. We explicitly kept CloudFront, S3, and the AWS certificate infrastructure in place.
That distinction shaped the discovery work. The agent inspected registration details, the public hosted zone, certificate validation, CloudFront configuration, storage, and selected services across 17 enabled AWS regions. It exported the source records and captured the existing HTTP and TLS behavior before proposing changes.
There were six Route 53 record sets. Two were the zone's default NS and SOA sets. The others represented the apex website, www, and two ACM validation CNAMEs. That became four Cloudflare DNS records; the destination provider supplies its own zone-level authority records.
The website baseline contained a detail a casual check could have missed: www returned HTTP 200 over HTTPS, while the apex returned 404. Both HTTP URLs redirected to HTTPS on the same hostname. We recorded that behavior rather than quietly combining a domain migration with a website repair. A successful migration would preserve the baseline, including its existing rough edge.
Authentication was the first real obstacle
The installed AWS executable initially failed with a machine-architecture error: bad CPU type in executable. Running an alternative CLI reached AWS, but the default credentials returned InvalidClientTokenId. The Python SDK independently reported the same credential problem.
Eventually a working named AWS profile became available. Every subsequent AWS operation used AWS_PROFILE=elasticbanana. That explicit selection mattered: finding credentials on a laptop does not establish that they belong to the intended account.
Cloudflare had a separate authentication problem. An old Wrangler OAuth session was not a suitable migration credential. A private file outside the repository supplied the API token and account configuration directly to the process. Values stayed out of source files, reports, and command output.
Some later read requests still returned 403, including token-policy introspection and billing reads. Those responses established that particular requests were denied. They did not establish that the token lacked Registrar access or that the account lacked a payment method. The migration eventually succeeded with the existing narrowly scoped token, without expanding its permissions.
That was a useful correction in the workflow: distinguish an observed failure from an unverified prerequisite. Otherwise an agent can turn incomplete visibility into a confident, unnecessary request for more access.
Prepare DNS before changing authority
Cloudflare DNS was prepared and compared with the source while Route 53 remained authoritative. The website records pointed to the existing CloudFront destinations. ACM's validation names and targets were preserved exactly.
We chose DNS-only CloudFront CNAME records. Cloudflare would answer DNS, while browsers would continue connecting directly to CloudFront for HTTP and TLS. At the apex, flattening supplied usable address answers. The certificate validation CNAMEs remained visible as CNAMEs instead of being flattened into addresses.
IPv6 needed a deliberate decision. The Route 53 website records had been A aliases, while the CloudFront destinations supported both address families. The proposed Cloudflare CNAME configuration exposed AAAA answers as well as A answers. That was a meaningful behavior change to review, even though we were keeping the same hosting.
The owner approved intentional IPv6 exposure. The utility then tested the actual targets over forced IPv4 and IPv6, using the intended hostnames for HTTP and TLS. Sixteen HTTP/HTTPS probes covered the two hostnames and both address families across the inspected targets. They matched the retained baseline, including trusted TLS. A browser loading one page would not have established that coverage.
Only after DNS preparation and validation did the owner approve the exact assigned Cloudflare nameservers. The agent submitted the registered nameserver change through the existing AWS workflow. Route 53's hosted zone stayed intact.
Propagation was treated as something to observe. Early checks did not all agree immediately. The completed checks covered the system resolver, Cloudflare, Google, and Quad9, plus direct queries to authoritative servers and the .com parent. All 32 public resolver checks eventually passed. That is stronger evidence than either a single local lookup or a green provider dashboard.
The registrar transfer was an API workflow
Cloudflare had an inbound registrar transfer API by the time we ran this migration. We checked its current transfer documentation and the live account-specific eligibility response rather than assuming the transfer required a dashboard-only process.
The API expected the authorization code in standard Base64. The agent retrieved the EPP code privately from AWS, encoded it in memory, and checked the encoding round trip. Neither representation was persisted. Base64 is an encoding, not protection for a secret; printing the encoded value would still have exposed the authorization material.
Live eligibility reported the domain transferable at USD 10.46, with a quoted annual renewal of USD 10.46. The eligibility response did not disclose an exact tax amount. The owner confirmed a valid default payment method and default registrant contact in the dashboard, then explicitly approved the USD 10.46 charge plus applicable tax.
No separate Registrar Agreement acceptance control was visible. We did not label acceptance as independently verified. The API returned no agreement rejection when the approved request was submitted. That is the extent of the evidence; a successful transfer does not make every inaccessible account setting retrospectively inspected.
The transfer request was submitted once. The utility recorded its attempt controls before sending it, then monitored the existing workflow. A timeout or ambiguous response would have required checking status before considering another submission. Retrying an ordinary read and retrying a potentially billable operation have different consequences.
Amazon's approval was a step, not the finish line
The domain owner accepted Amazon Registrar's transfer confirmation. That human action was necessary in this transfer, but the agent did not treat the message as proof that registration had moved.
It continued querying Cloudflare's existing transfer workflow and checked registry RDAP independently. Cloudflare reported success, with provider completion at 16:47:03 UTC on October 30, 2026. Registry RDAP identified Cloudflare, Inc., IANA 1910, as the registrar, with no pending-transfer status.
The expiration check mattered too. The source date was January 8, 2027 at 00:52:22 UTC. Both Cloudflare and the registry reported January 8, 2028 at the same time, matching the expected one-year extension. Auto-renew, transfer lock, and privacy redaction were enabled.
Then the agent repeated DNS, ACM, and HTTP/TLS checks. Both Cloudflare nameservers answered correctly, both ACM validation records were intact, public resolvers agreed, and IPv4/IPv6 probes matched the original behavior. Cloudflare was authoritative, the registration had moved, and the AWS website infrastructure was still there.
The remaining cleanup costs fifty cents a month
The registrar transfer did not remove the old Route 53 hosted zone. That zone carries a standard USD 0.50 monthly charge within the first 25 zones. Retiring it would eliminate that recurring item, subject to actual billing. Hosting and domain renewal remain separate expenses.
The read-only retirement audit found no delegated child NS records, child hosted zones in the account, or service association that required the source zone. It preserved the full records and metadata in the private archive and prepared an exact deletion and recovery plan. It cannot prove that no external client has hardcoded an old AWS nameserver.
Timing also worked against an immediate cleanup. The old NS TTL was 48 hours. Using the independently verified completion checkpoint as a conservative anchor, that cache window extended into November 1, after the next monthly billing boundary. The existing recommendation was to retain the source zone through seven stable days. Saving the next fifty cents was not a good reason to shorten that observation period.
As of this writing, the zone and all its records still exist. Deletion requires separate explicit approval and fresh validation. Restoring records before zone deletion is straightforward with the export; recreating a deleted hosted zone cannot guarantee its old ID or nameservers. Keeping Cloudflare authoritative is the practical recovery path.
We also cannot claim the AWS account is billing-free. Cost Explorer access was denied. Read-only inventory still found CloudFront distributions and stored S3 data, including storage outside this website's buckets. Selected regional checks found no additional resources, but that is not an exhaustive invoice audit. The right follow-up is to inspect the bill with an authorized billing identity and attribute remaining charges before proposing more cleanup.
What the human still owned
The agent handled a substantial amount of mechanical work: discovery, provider-specific record conversion, private request preparation, repeated validation, status polling, and evidence capture. Human decisions established the boundaries it operated within: the intended AWS account, acceptable IPv6 exposure, the exact nameserver change, payment and contact readiness, the transfer cost, and Amazon's release confirmation.
The owner also kept deletion approval separate from transfer approval. Approving a registration payment did not authorize removing the old DNS zone or dismantling the website.
That separation made the automation useful. The agent could keep working through read-only checks and prepare concrete requests without repeatedly asking broad questions. At the consequential points, the person could approve an exact change and understand its price or recovery limits. The migration succeeded, the evidence survived, and the remaining cleanup has a clear boundary. That is the standard we want to carry into the engineering work behind Elastic Banana.