虚拟机规模集 [英] Virtual Machine Scale Sets

查看:161
本文介绍了虚拟机规模集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个天蓝色的测试订阅,我创建了一个虚拟机规模集.

I have a test azure subscription, I have created a Virtual Machine Scale Sets.

比例尺设置没有错误.

如何连接虚拟机并使服务器负载?

How do I connect to VM's and make my server to put in a load?

我可以使用RDP连接到我的Scale set VM吗?可以吗?

Can I connect with RDP to my Scale set VM's ? is this allowed?

推荐答案

如果通过Azure门户市场创建VMSS,我们不能添加入站NAT规则以使用RDP登录VMSS实例,我们无法直接对它们进行RDP.
因此,如果要登录这些实例,我们可以在相同的Vnet 中创建一个新的VM(相同的Vnet可以通过专用IP地址连接),然后使用专用IP到RDP.

If you create VMSS via Azure portal Marketplace, we can't add inbound NAT rules to use RDP to login the VMSS instances, we can't RDP them directly.
So if you want to login those instances, we can create a new VM in the same Vnet(same Vnet can connect by the private IP address), and use the private IP to RDP.

如何连接虚拟机并使服务器负载?

How do I connect to VM's and make my server to put in a load?

默认情况下,我们可以使用负载均衡器的公共IP地址和NAT端口连接到VMs后面的RDP VM.

By default, we can use load balancer public IP address and NAT port to RDP VMs behind the VMss.

我可以使用RDP连接到我的Scale set VM吗?可以吗?

Can I connect with RDP to my Scale set VM's ? is this allowed?

您可以在同一个虚拟网络中创建Windows VM,该VM充当 jumpbox ,然后使用该VM通过私有IP地址对这些实例进行RDP.

You can create a windows VM in the same Virtual Network, this VM work as a jumpbox, then use this vm to RDP those instances via private IP address.

另一种方法,修改模板以添加NAT规则.

Another way, modify template to add NAT rules.

有关VMss和NAT规则的更多信息,请参考此链接.

More information about VMss and NAT rules, please refer to this link.

这篇关于虚拟机规模集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆