Skip to content

enricogoerlitz/azure-application-dns-deployment

Repository files navigation

Azure Application DNS Deployment

Motivation

This project explores how to configure custom DNS settings for applications deployed across different Azure services. It showcases three deployment models, each bound to a custom domain, allowing developers and architects to understand the process of domain binding, DNS record setup, and service-specific configurations:

All deployments demonstrate how to use custom subdomains managed via AWS Route 53 for DNS hosting, emphasizing interoperability and cross-cloud DNS management.


DNS Setup for App Service Deployment

Architecture

App Service Architecture

Configuration Steps

1. Deploy Infrastructure

$ terraform apply

2. Configure Custom Domain

  • Navigate to the App Service → Custom domains
  • Click on "Add custom domain"

Add custom domain

  • Add a CNAME or A-Record and the required TXT record to your domain provider (Route 53 in this case):

DNS Settings

  • Validate the domain ownership and confirm the binding:

App Service Deployment verification

Note: DNS propagation can take up to 5 minutes.

3. Verify Deployment

Visit: https://app-service-deployment.enricogoerlitz.com/

App Service Deployment URL


DNS Setup for Container Apps Deployment

Architecture

Container Apps Architecture

Configuration Steps

1. Deploy Infrastructure

$ terraform apply

2. Configure Custom Domain

  • Navigate to Container Apps → Custom domains
  • Click on "Add custom domain"

Add custom domain

  • Add a CNAME or A-Record and the required TXT record to your domain provider:

DNS Settings

  • Validate the domain ownership and confirm the binding:

Container Apps Deployment verification

Note: DNS propagation can take up to 5 minutes.

3. Verify Deployment

Visit: https://container-apps-deployment.enricogoerlitz.com/

Container Apps Deployment URL


DNS Setup for Front Door Deployment

Architecture

Front Door Deployment Architecture

Configuration Steps

1. Deploy Infrastructure

$ terraform apply

2. Configure Custom Domain

  • Create a new domain in the Front Door Manager:

Add a domain

  • Click on the "Pending" status and add the TXT record provided by Azure to your DNS provider:

Pending state

  • Associate the domain with the appropriate Front Door endpoint.

  • In your DNS provider, create a CNAME record:

    CNAME: front-door-deployment.enricogoerlitz.com → <azure_fd_endpoint>.azurefd.net
    
  • Confirm domain association in the Front Door manager:

Verify Front Door manager endpoint config

Wait a few minutes for the domain binding to complete.

3. Verify Deployment

Visit: https://front-door-deployment.enricogoerlitz.com/

Front Door Deployment URL

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published