Introduction
Microsoft Azure Front Door is a global, scalable, and secure entry point for high-performance web applications. In this guide, we’ll create a Front Door that distributes traffic to an Azure web app.
Prerequisites
- Azure Subscription: Ensure you have an active Azure subscription. If not, you can create a free account at AzureFree Account.
- Resource Group: It is recommended to have a dedicated resource group for managing Front Door resources.
Step 1: Access the Azure Front Door Service
-
- Sign in to the Azure portal at https://portal.azure.com/.
- In the search bar, enter “Front Door” and select Front Door and CDN profiles from the list.
Step 2: Create a New Front Door Profile
-
- In the Front Door and CDN profiles pane, select + Create.
- Choose the Subscription and Resource Group for this Front Door instance.
- Enter a Name for the Front Door profile.
- Under Pricing tier, select Standard or Premium, based on your needs.
- Click Review + Create and then Create once validated.
Step 3: Configure Frontend and Domains
Step 4: Set Up Backend Pool
-
- In the Front Door Designer, navigate to Backend pools and select + Add.
- Enter a Backend pool name, such as webapp-pool.
- Add your Backend host details, which should be your web application’s hostname or IP address. You can configure the priority and weight if you have multiple backends.
- Click Add to confirm the backend pool settings.
Step 5: Define Routing Rules
Step 6: Review and Confirm Configuration
Step 7: Test Front Door Deployment
-
- Once deployment is complete, navigate to the Frontend host URL (e.g., <yourname>.azurefd.net).
- Confirm that requests are successfully directed to the backend resource.