[英]Simple workflow for spinning up an Azure VM from a snapshot in ARM?
I need to move from Azure Classic Portal to ARM for working with VMs by November and am trying to get a jump start on learning the new process. 我需要从Azure经典门户迁移到ARM,才能在11月之前使用VM,并且正在尝试开始学习新过程。
Here is what I do in the Classic Portal now... 这是我现在在经典门户中所做的...
Make a Windows Server VM: Add some software, make some changes, shut it down and click the 'Capture' button in Classic. 制作Windows Server VM:添加一些软件,进行一些更改,将其关闭,然后单击Classic中的“ Capture”按钮。 Provide a name, and label and now have a Snapshot I can make new VM copies from.
提供名称和标签,现在有一个快照,可以用来制作新的VM副本。 Easy!
简单!
Make a new VM from snapshot: Click New, Virtual Machine, From Gallery, My Images, Select Image, Create. 从快照制作新的VM:单击“新建”,“虚拟机”,“从图库”,“我的图像”,“选择图像”,“创建”。 So easy!
太简单!
That's it. 而已。 That's all I do, and all I need to do.
这就是我要做的,也是我需要做的。
I make 10-30 VMs at a time that way and it's really quick and easy. 这样一来,我一次可以制作10到30个虚拟机,这确实非常快捷。
How can I do that same workflow in ARM? 如何在ARM中执行相同的工作流程?
I have tried json templates, cmdlets, and the UI in ARM, and cannot for the life of me figure out how emulate the workflow/functionality in Classic in ARM. 我已经尝试过json模板,cmdlet和ARM中的UI,但我一生都无法弄清楚如何在ARM经典中模拟工作流程/功能。
Any suggestions? 有什么建议么? Thanks in advance!
提前致谢!
If I understand correctly , you want to create multiple VMs from one VM Image in ARM. 如果我理解正确,则想从ARM中的一个VM映像创建多个VM。 After you preparing your VM correctly, here is the workflow to Copy VMs from an exiting VM :
正确准备好虚拟机之后,以下是从现有虚拟机复制虚拟机的工作流程:
Go to Virtual machines >select your VM>Capture>Provide Image Name and Image label (select the box if you have Sysprep your VM)>OK 转到虚拟机>选择您的VM>捕获>提供映像名称和映像标签(如果具有Sysprep您的VM,请选择该框)>确定
Go to Images> select the Image you created> Create VM>Provide some necessary Basic information> Provide Size Information>Settings>Summary OK(You can create a template and use it to create more VMs easily in this step) 转到图像>选择创建的图像>创建虚拟机>提供一些必要的基本信息>提供大小信息>设置>摘要确定(您可以在此步骤中创建模板并使用它轻松创建更多虚拟机)
Note : How to prepare and Capture a Windows VM to a generalized image ,refer to this official document . 注意:如何准备Windows VM并将其捕获为通用映像,请参阅此官方文档 。
But ,if you want to create multiple VMs from a Classic Image in ARM (Usually, we can only create Classic VM by a Classic Image), it may be a lot work to do: 但是,如果要从ARM中的经典映像创建多个VM (通常,我们只能通过经典映像创建经典VM),则可能需要做很多工作:
More details about how to move Classic Image to ARM and use it to create VMs you can refer to this link . 有关如何将Classic Image移至ARM并使用它创建VM的更多详细信息,请参考此链接 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.