0

Novice dealing with DNS services here. I'm setting up an ECS cluster of Fargate containers that need to communicate with each other. They are deployed as separate services in the same cluster, so I wanted to use CloudMap in order to automatically tie domain names to their ip addresses.

These names needed only be reachable from inside the VPC itself, so I did not want to register a public domain name. As such, I created a private hosted zone, ECS successfully registered my containers and testing confirmed that they reachable by name from inside the VPC.

What I don't understand yet is how billing works for this. According to the route 53 documentation, a private hosted zone in us-east-1 costs $0.5/month for the first 25 zones. There's also a cost of $0.4 per million queries/first 1 billion DNS queries per month.

So far so good, but there is a section about domain name pricing. They link to this document that lists the price per TLD, but I take it this refers to publicly accessible domain names registered with authoritative namespace servers, and does not apply to the domain name I gave my private hosted zone? So I wouldn't get charged for this?

And how would those domain names work with public hosted zones? From what I understand from this question, the domain names we give our public hosted zones do not get automatically registered with the root NS servers, so the domain name charges would not apply. To get our domain names registered, we'd need to manually purchase the domain through a process like this and then we would get charged. Would that be correct?

Thank you advance.

gsantos
  • 3
  • 1

1 Answers1

0

I think you're thinking about this too much, it's fairly simple.

Hosted zones cost $0.50 per zone, then per-request pricing. Domain name pricing is optional and independent. Add the cost of the services you use together, that's the price.

In your case I would think you would use hosted zones but no domain registration. You can make subdomains of a corporate domain in Route53 if you want to, no need to delegate from your public zones if they don't need to be publicly accessible.

Tim
  • 30,383
  • 6
  • 47
  • 77