How to configure my Azure VM endpoint ACL to allow connection to my Azure Webjob on the same portal

I have a website on an Azure website that needs to connect to the virtual machine endpoint to make REST calls.

My endpoint is set to reject all but my company's IP range. Now, what rule do I need to add, or should the url be used so that my website can connect to the endpoint?

I tried the following without success:

  • Allow the virtual IP address of my website in the ACL
  • Connect to an endpoint using an internal IP address instead of DNS without changing the ACL
  • Connect to the endpoint using the public virtual DNS IP address instead without changing the ACL

This works, but this is not what I'm looking for:

  • Delete current ACL and allow all
  • Save the ACL, but add the / 16 rule with my IP site

Thanks for the help, and let me know if you need accuracy!

+6
source share
2 answers

I need the same thing, but it seems impossible now. Looking at this answer on a related question:

Azure websites do not have dedicated outbound IP addresses for each deployment. This prevents you from using ACLs or virtual networks to connect to your Redis / Solr virtual machines.

Thus, although you can have a (reasonably) fixed incoming IP address on Azure sites, the outgoing address is extremely unpredictable, and as far as I can see, the only exception you could make was to limit it to the entire range of IP addresses for this data center, which is far from ideal.

+2
source

The solution going forward will be to connect your Azure Website and virtual machine to the same virtual network. At the time of this writing, it is still in preview mode, but it is not yet ready for use.

More on this: http://azure.microsoft.com/blog/2014/09/15/azure-websites-virtual-network-integration/

+2
source

All Articles