Azure ARM uploads a custom image

Source: Internet
Author: User

  • Make a VHD image and upload azure storage

  • Making Azure Mirroring considerations:

    • Azure does not support VHDX format and supports only fixed-size VHDs. You can use Hyper-V Manager or the Convert-vhd cmdlet to convert a disk to a VHD format. If you use VirtualBox, it means that you choose fixed size instead of dynamically assigning a default size when you create a disk.

    • Azure supports only 1th generation virtual machines. You can convert a 1th generation virtual machine from VHDX to VHD file format, from a dynamically expanding disk to a fixed size disk. However, you cannot change the generation of virtual machines. For more information, see should I create a 1th or 2nd generation virtual machine in Hyper-V?

    • The maximum size allowed for a VHD is 1,023 GB.

    • When installing a Linux system, it is recommended that you use standard partitioning instead of LVM (which is usually the default for many installations). This avoids name collisions between LVM and the cloned VM, especially if the OS disk needs to be connected to another same VM for troubleshooting. LVM or RAID can be used on a data disk.

    • Kernel support for the UDF file system needs to be loaded. When first launched on Azure, the provisioning configuration is passed to the Linux VM via UDF-formatted media attached to the guest. The Azure Linux agent must be able to mount the UDF file system to read its configuration and provision VMs.

    • The Linux kernel version below 2.6.37 does not support NUMA on Hyper-V with a larger VM size. This issue primarily affects the use of an older distribution version of the upstream Red Hat 2.6.32 kernel, which was resolved in RHEL 6.6 (kernel-2.6.32-504). A system running a custom kernel with a version lower than 2.6.37, or a RHEL-based kernel with a version lower than 2.6.32-504, must have the boot parameter Numa=off set on the kernel command line in grub.conf. For more information, see Red Hat KB 436883.

    • Do not configure the swap partition on the operating system disk. You can configure the Linux agent to create a swap file on the temporary resource disk. You can find more information about this in the steps below.

    • The size of all VHDs must be a multiple of 1 MB.

    • installation Azure Linux Agent

      1. Log in to the Ubuntu Mirror host and perform a generalized operation Waagent-deprovision+user. And shut down the virtual machine ready to upload the VHD.

      1. In Azure Portal, open the storage account and locate the account you created in advance to store the VHD image as follows:

      1. Click Upload and find the ready Ubuntu VHD image.

      1. Select the local VHD file.

      1. Click Upload to start uploading the VHD image.


    Azure ARM uploads a custom image

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.