[英]How do I associate Azure VM with a cloud service?
I have a VM in Azure, but it is not associated to a cloud service. 我在Azure中有一个VM,但是它没有与云服务关联。 I just now added a cloud service, now how can i get my VM associated with that cloud service? 我刚刚添加了云服务,现在如何使我的VM与该云服务相关联? The reason i'm doing this is so that i can get my public IP assigned to that VM. 我这样做的原因是为了可以将我的公共IP分配给该VM。
Azure VMs are always associated with a cloud service. Azure VM始终与云服务关联。 If you look in the old portal, the DNS name for the VM is the cloud service the VM is associated with, ie {yourVM}.cloudapp.net. 如果查看旧门户,则VM的DNS名称是与VM关联的云服务,即{yourVM} .cloudapp.net。 If you want to move the VM to an existing cloud service, know that you can only move the VM to an existing cloud service that is empty. 如果要将虚拟机移至现有的云服务,请知道您只能将虚拟机移至现有的空云服务。
To move the VM: 要移动VM:
Cloud service is the wrapper of VM. 云服务是VM的包装。 There are two options while you create a VM- 创建VM时有两个选项-
The concept of cloud service is, it wraps the VM. 云服务的概念是,它包装了VM。 Also, a public IP is automatically assigned for the cloud service so that the VM can be accessed over internet. 另外,会为云服务自动分配一个公共IP,以便可以通过Internet访问VM。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.