Few Method To Deploy Virtual Machine Scale Set With Azure Template
2017-08-31 21:16
796 查看
Virtual Machine Scale Set overview : link | ||||||||||||||||||||||||||||||||||||||||||
Basic overview about azure template: 1. The azure template mainly contains the following elements, Each element contains properties you can set. 2. In the parameters section of the template, you specify which values you can input when deploying the resources 3. In the variables section, you construct values that can be used throughout your template. You do not need to define variables, but they often simplify your template by reducing complex expressions. 4. In the resources section, you define the resources that are deployed or updated. This section can get complicated because you must understand the types you are deploying to provide the right values. 5. For more information about azure template, please visit the official link. | ||||||||||||||||||||||||||||||||||||||||||
Here is some hint about deploy scale set with azure template: 1. The image resource can be either from market place or custom image. If the image resource is custom image, it should be generalize before use. Here is the official documentation about how to generalize the custom image : link (Although the official parameter documentation show that the azure allow specific image resource, but it fail in my experiment for some unknown reason) 2. There are two methods to create osDisk, one is to create a image resource, then reference it in the osDisk profile. The other way is directly reference the imagevhd uri to create it. Please refer to the attachments for details. 2.1.1 Create a image resource 2.1.2 Reference the image in the virtual machine profile 2.2.1 Directly use imagevhd uri to create osDisk 3. The customer might want to separate the vhd file into different storage account.Unfortunately, the azure no longer support such behavior. In my experiment, Azure will accord to the osDisk create method automatic deploy managed disk or unmanaged disk. If you choose to create a image and then reference it to create osDisk, azure will deploy a managed disk type scale set, otherwise it will be unmanaged disk. Please refer the attachment chart for more detail.
| ||||||||||||||||||||||||||||||||||||||||||
Some Deploy Result Of The Azure Template: 1. Using visual studio's azure template to deploy a scale set with unmanaged disk. 1.1 Azure Template file,key words: Scale Set, Market Image, Unmanaged Disk, imagereference 1.2 Resource Group: 1.3 Resource Group/Virtual Machine Scale Sets/Storage 2. Using custom image to deploy a scale set with managed disk. The link shown as below: https://github.com/Azure/azure-quickstart-templates/tree/master/201-vmss-windows-customimage ,modify Some unnecessary output message. 2.1 Azure Template file,key words: Scale Set, Custom Image, managed Disk, imagereference 2.2 Resource Group : 2.3 Resource Group/Virtual Machine Scale Sets/Storage |
相关文章推荐
- 浅谈Azure virtual machine scale set
- How to run a (Tomcat)Java application server on a Azure virtual machine
- diskpart to deal with driver letter changed after reboot in Virtual Machine
- How to set up Hyper-V virtual machine in Windows 2012R2
- Attempt to invoke virtual method 'void android.app.ActionBar.setDisplayHomeAsUpEnabled(boolean)' on
- android JPushInterface.setAlias 报错 java.lang.NullPointerException: Attempt to invoke virtual method
- lPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.
- PatentTips - System and method to deprivilege components of a virtual machine monitor
- VMware:This virtual machine is configured to run with 4 CPUs, but the host has only 2 CPU(s). The virtual machine cannot
- How to Set Cores-Per-Socket Parameter for a Virtual Machine
- Not enough physical memory is available to power on this virtual machine with its configured setting
- PatentTips - Method to manage memory in a platform with virtual machines
- NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setText(java.la
- Unable to proxy method HibernateDaoSupport.setHibernateTemplate because it is final
- Attempt to invoke virtual method 'void android.graphics.drawable.Drawable.setAlpha(int)' on a null o
- VMWare:This virtual machine is configured to run with 4 CPUs, but the host has only 2 CPU(s).
- Remote Desktop to Your Azure Virtual Machine
- How to Set Cores-Per-Socket Parameter for a Virtual Machine
- How to run oaisim with virtual MME on same machine
- [New Portal]Windows Azure Virtual Machine (21) 将本地Hyper-V的VM上传至Windows Azure Virtual Machine