简体   繁体   English

如何在不使用公共IP的情况下将Azure工作者/ Web角色连接到Azure Iaas VM?

[英]How to Connect Azure Worker/Web role to Azure Iaas VMs without using public IP's?

We want to run MongoDB and some custom services on Azure Iaas VMs and connect to them with our roles but we do not want to have public IP exposure on the VMs. 我们希望在Azure Iaas VM上运行MongoDB和一些自定义服务,并使用我们的角色连接它们,但我们不希望在VM上公开IP。

If possible what is the best way of doing this? 如果可能的话,最好的方法是什么?

If not possible is this on the roadmap? 如果不可能,这是路线图吗?

We can add the VM's under the same cloud service and they can communicate happily, the roles are in same deployment so they communicate, but issue between the vm's and roles. 我们可以在相同的云服务下添加虚拟机,他们可以愉快地进行通信,角色在同一部署中进行通信,但在虚拟机和角色之间进行通信。 We appreciate that the Iaas stuff is still in preview. 我们感谢Iaas的东西仍在预览中。

Thanks 谢谢

If you have your Windows Azure Web/Worker Role and Windows Azure Virtual Machine in the same DC you can access them directly using internal IP address using Virtual Networking (Vnet) using internal Endpoints. 如果您在同一DC中拥有Windows Azure Web /辅助角色和Windows Azure虚拟机,则可以使用内部端点使用虚拟网络(Vnet)使用内部IP地址直接访问它们。 To achieve it first you would need to create a Virtual Network and then add your Virtual Machine to this VNet. 要首先实现它,您需要创建一个虚拟网络,然后将您的虚拟机添加到此VNet。 VNet will give your internal IP address and your Web/Worker Role can communicate to this internal IP address. VNet将提供您的内部IP地址,您的Web / Worker角色可以与此内部IP地址进行通信。

You can not do mix mode deployment directly from Windows Azure Preview Portal (it is not supported in preview yet) however you can use PowerShell VNet cmdlets to get it configured and working. 您无法直接从Windows Azure预览门户进行混合模式部署(预览中不支持),但您可以使用PowerShell VNet cmdlet进行配置和工作。 To need further assistance with VNet team you can contact them directly here . 需要与互联星空小组的进一步帮助,您可以直接与他们联系在这里

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM