Add DNS
The next step in your journey is to add DNS to your FizzBuzz API project. DNS is a critical component of any application and Massdriver makes it easy to add DNS to your application.
Requirements:
- A registered DNS domain
- A cloud provider account (AWS, GCP, Azure)
- Cloud provider credentials configured in Massdriver
Add DNS to Massdriver
To create a DNS zone (or link an exising one):
- Visit the DNS Zones page
- Click Create to create a new zone, or Connect to connect an existing zone
- Select the cloud you want to use for DNS
- Fill out the form and click Submit
Add your cloud DNS zone to your domain registrar
If your domain registar is not listed, please let us know by leaving feedback!
Kubernetes
- Click Configure on the kubernetes bundle
- Select your DNS zone from the dropdown
- Click Deploy
Massdriver will automatically deploy the DNS zone to your cluster, using cert-manager and external-dns helm charts. Cert-manager adds certificates and certificate issuers as resource types in Kubernetes clusters, and simplifies the process of obtaining, renewing and using those certificates. ExternalDNS allows you to control DNS records dynamically via Kubernetes resources in a DNS provider-agnostic way. ExternalDNS synchronizes exposed Kubernetes Services and Ingresses with DNS providers.
Add DNS to your kubernetes deployment
- Click Configure on the FizzBuzz application
- Set your DNS hostname to
fizzbuzz.yourdomain.com
- Click Deploy
Serverless
- Click Configure on the FizzBuzz application
- Select your DNS zone from the dropdown
- Set your subdomain to
fizzbuzz
- Click Deploy
Massdriver will automatically handle the IAM/RBAC needed to deploy your DNS zone to your serverless app runtime using least privilege access best practices.