DNS: can we use subdomains for each account? Or do we need different domains? #61
-
A customer asked:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Our Ref Arch supports both approaches:
We have automated DNS checks built into our tooling that will ensure your DNS setup is resolving correctly prior to a deployment. |
Beta Was this translation helpful? Give feedback.
-
A few notes to add here: Reference Architecture requirementsThe technical requirement in the Reference Architecture is that you have a properly configured Route 53 Public Hosted Zone in each of your dev, stage, prod, and shared-services account. The code in the Reference Architecture will look up these Public Hosted Zones and add DNS records to them, such as an A record for the sample apps deployed with the Reference Architecture, so you can see examples of how to use Terraform to manage DNS. We'll cover how to create these Route 53 Public Hosted Zones below. Security requirementsAs long as you have Route 53 Public Hosted Zones in each account, the Reference Architecture will work, but not all approaches for managing domain names are equally secure. Some trade-offs to consider:
How to create Route 53 Public Hosted ZonesThere are several ways to create these Route 53 Public Hosted Zones:
|
Beta Was this translation helpful? Give feedback.
-
If you're bootstrapping your Reference Architecture to prepare for deployment, you can use the gruntwork command line interface (CLI) to bootstrap the domain names within route53 for you. |
Beta Was this translation helpful? Give feedback.
Our Ref Arch supports both approaches:
We have automated DNS checks built into our tooling that will ensure your DNS setup is resolving correctly prior to a deployment.