Knowledge Base

Find answers to common questions about Cloudmersive products and services.



Deploying Cloudmersive Private Cloud in Azure with a Front Door Load Balancer
12/12/2023 - Cloudmersive Support


Pre-requisites

Before setting up your Azure Front Door, ensure you have:

  1. Two Virtual Machines (VMs) set up in the needed Azure regions with Cloudmersive Private Cloud installed on them.
  2. Public IP addresses or DNS names for each VM.
  3. Necessary firewall rules to allow traffic on the required ports (80 for HTTP and 443 for HTTPS).

Part 1: Setting Up Azure Front Door for HTTP (Port 80)

Step 1: Create a New Front Door

  1. Navigate to the Azure portal (https://portal.azure.com).
  2. Search for and select "Front Door" in the search bar.
  3. Click on "+ Create" to start a new Front Door configuration.

Step 2: Configure the Frontend Host

  1. In the Front Door designer, click on "+ Add a frontend host".
  2. Enter a name for your frontend domain. This will be a subdomain of .azurefd.net
  3. Save the configuration.

Step 3: Configure the Backend Pool

  1. Click on "+ Add a backend pool".
  2. Name your backend pool.
  3. Under "Backends", click on "+ Add a backend".
  4. Choose "Custom host" from the "Backend host type" dropdown.
  5. Enter the IP address or DNS name of the first VM and set "HTTP" as the protocol, with port 80.
  6. Repeat to add the second VM.
  7. Configure any necessary health probes and load balancing settings.
  8. Save the backend pool configuration.

Step 4: Configure Routing Rules

  1. Click on "+ Add a route".
  2. Name your route.
  3. In "Frontends/domains", select the frontend host you configured earlier.
  4. Select the backend pool you created.
  5. Under "Accepted protocol", choose "HTTP".
  6. Set "Forward" as the routing type.
  7. Save the route configuration.

Step 5: Deploy the Configuration

  1. Review your settings and click on "Create" to deploy your Azure Front Door.
  2. Once deployed, test your configuration by visiting your load balancer URL in a browser.

Part 2: Setting Up Azure Front Door for HTTPS (Port 443)

Step 1: Repeat Steps 1 to 3 from Part 1

Follow the same steps to create a new Front Door, configure the frontend host, and configure the backend pool. Ensure the backends are set to use "HTTPS" as the protocol and port 443.

Step 2: Configure a Custom Domain (optional)

  1. If you wish to use a custom domain, add the custom domain under the "Frontend hosts".
  2. You will need to verify ownership of the domain by adding a DNS record.

Step 3: Configure SSL Settings

  1. In the frontend host settings, enable "HTTPS".
  2. Choose a management option for your SSL certificates:
    • Azure-managed certificates for automatic management.
    • Use your own certificate by uploading it to Azure.

Step 4: Repeat Step 4 from Part 1 for HTTPS

Set up routing rules as described in Part 1, ensuring the accepted protocol is set to "HTTPS".

Step 5: Deploy the Configuration

Follow the same deployment steps, then test your configuration by visiting the front door's URL or your custom domain if configured in a browser.

These steps will help you set up an Azure Front Door instance that distributes traffic across VMs in different regions, catering to both HTTP and HTTPS traffic. Make sure to monitor and adjust your configurations as necessary based on the performance and security requirements of your application.

800 free API calls/month, with no expiration

Get started now! or Sign in with Google

Questions? We'll be your guide.

Contact Sales