You are configuring an existing Azure API Management instance to be deployed inside an Azure Virtual Network in Internal mode. You need to ensure that internal clients can successfully resolve and access the API gateway. Which sequence of steps should you perform?
- 1Create a dedicated subnet in the Virtual Network and configure Network Security Group (NSG) rules to allow required inbound and outbound management and dependency traffic.
- 2In the API Management service, set the Virtual Network type to Internal, select the target Virtual Network and subnet, and save the configuration.
- 3Wait for the deployment update to complete, then retrieve the private Virtual IP (VIP) address of the API Management instance.
- 4Create DNS records in a Private DNS Zone to map the API Management gateway and portal endpoints to the private Virtual IP (VIP) address.
Answer
To configure API Management in an internal virtual network, first create the subnet and configure NSG rules. Next, update the API Management network settings to Internal and select the subnet. After the deployment updates, retrieve the private Virtual IP (VIP) address. Finally, configure DNS records in a Private DNS Zone pointing to the VIP.
The correct sequence ensures that prerequisites (subnet and NSG rules) are satisfied first to prevent deployment failures. Then, the API Management configuration is updated. After the private VIP is allocated and retrieved, the DNS records are created to enable hostname resolution.
Step-by-Step Solution
Key Concept
Internal Virtual Network Integration for Azure API Management
Estimated Time:2m 0s