How to connect the Azure Worker / Web role to the Azure Iaas VM without using public IP addresses?

We want to run MongoDB and some custom services on Azure Iaas virtual machines and connect to them with our roles, but we don’t want to publish IP video on virtual machines.

If possible, what is the best way to do this?

If this is not possible, is it on the roadmap?

We can add a virtual machine to the same cloud service, and they can communicate happily, roles are in the same deployment, so they exchange data, but arise between vm and roles. We appreciate that Iaas is still in preview.

thanks

+4
source share
1 answer

If you have the Windows / Azure role for Windows Azure and the Windows Azure Virtual Machine in the same DC, you can access them directly using the internal IP address, using Virtual Networking (Vnet), using internal endpoints. To do this, you first need to create a virtual network, and then add your virtual machine to this VNet. VNet will provide your internal IP address, and your Web / Worker role can associate with this internal IP address.

You cannot set the mixed mode directly from the Windows Azure preview portal (it is not yet supported in the preview), but you can use PowerShell VNet cmdlets to configure it and work. For more help with the VNet team, you can directly contact them here .

+3
source

All Articles