...
Azure Python function apps are currently in Preview, and thus are not available in all regions (including Canada Central). In order for Azure Python function apps to access the eGIS environments' portal URLs, we set up the following temporary solution:
Create an app service plan in the East US region. Note that this app service plan has a fixed monthly cost regardless of usage. For production deployment, we will use a consumption plan (also in Preview) that will cost only per usage.Create the Azure function app using the app service plan.
Determine the outbound IP addresses used by the Azure function app.
Open the 1. Function App in the Azure portal, click on the 2. Platform features tab, and click on 3. Resource Explorer
Find the key named
outboundIpAddresses
in the configuration, and copy the set of IP addresses there.
Configure the eGIS environment's virtual network to allow HTTPS traffic from these IP addresses. In the Azure portal, navigate to the eGIS environment's web VM, click Networking,the modify hte HTTPS rule (port 443) to allow traffic from these IP addresses.
...