AWS Platform Guide

DNS

A diagram of our standard DNS setup

In the infrastructure repository for the organization, you can create Terraform root modules for managing hosted zones for root domains and subdomains:

infra/
  hosted-zones/
    example.com/
    production.example.com/
    staging.example.com/

You can use aws_route53_zone to manage root domains. These hosted zones should be placed in the Network account.

Account Subdomains

In order to control updates to public DNS while still allowing workloads to publish updates to their endpoint addresses, it is recommended that you create a hosted zone for each stage of the software development life cycle, such as staging and production.

You can use the terraform-route-53-delegated-subdomain Terraform module to provision these subdomain zones. The subdomain hosted zones should be placed in Workload accounts.

You can then use aws_route53_record from the Network account to alias public addresses to the proper subdomain address.

AWS Platform Guide

The guide for building and maintaining production-grade Kubernetes clusters with built-in support for SRE best practices.

Work with us to scale your application, improve stability, and increase the rate of defect-free deployments.