Azure Technology 06-Virtual machines-local VHDs upload to Azure and create virtual machines

Source: Internet
Author: User

AzureThe virtual machine image in is not onlyMicrosoftof their ownWindowsServerThere are also based onLinuxof theUbuntu,CentOS,SUSE,WindowsServerThe virtual machine also has its ownSQL Server,Visual Studio,SharePointthe user's needs vary widely, and we may need toAzureon the deployment of aWin7, or we need to put our own currentHyper-Vuploaded to the virtual machine created on theAzurego to management, how to do, this article describes how to create and uploadVHDformat of the virtual machine toAzure, uploading a virtual machine needs to meet the following3Conditions:

1 , the format of the virtual disk must be VHD , if your virtual machine is VHDS Please convert it first to VHD re-upload

2 , the virtual disk must be a fixed-size disk

3 , the virtual disk system disk size cannot exceed 127G

Into the Chase,

first on the local Hyper-V Create a virtual disk, where you should be aware of creating a format VHD , and type selection Fixed size ,

650) this.width=650; "Width=" 1056 "height=" 637 "title=" 01.jpg "style=" Width:705px;height:416px;float:none; "alt=" Wkiom1yafy7jmfygaai9rstht5y242.jpg "src=" Http:// "/>

When creating a virtual machine Select Use Now disk, select the virtual disk you just created

After the virtual machine is created, install the system, configure the application, and so on, skip over

The next step is to turn on remote access for the virtual machine, shutting down the virtual

650) this.width=650; "Width=" 1058 "height=" 677 "title=" 06.jpg "style=" Width:701px;height:481px;float:none; "alt=" Wkiol1yaf03jfcvgaaosoah0c6k032.jpg "src=" Http:// "/>

then we need to use a tool Azcopy to upload a virtual machine, the tool is the easiest to use, as far as I can see .

Open a command prompt and enter a command using the Azcopy upload virtual machine to Azure Cloud storage for everyone to download

Azcopy here's how to use the tool:

Azcopy < Local VHD folder to store > < target location, cloud storage container >/destkey:< Store Key >/s/blobtype:page

Note: Upload the virtual disk must be a page blob , the basics of storage I'll be talking about later.

upload time according to VHD size and local egress bandwidth.

650) this.width=650; "title=" 31.png "alt=" wkiom1yagwas9rysaah-y8roupo212.jpg "src=" 74/56/wkiom1yagwas9rysaah-y8roupo212.jpg "/>

wait for the upload to complete, click Next, log in Azureportal go up and select a virtual machine -- disk, click on the "create" disk below

650) this.width=650; "Width=" 1039 "height=" 580 "title=" 32.png "style=" width:693px;height:352px; "alt=" Wkiol1yag-gq9m3kaapsj8pow4w017.jpg "src=" Http:// "/>

then navigate to the uploaded storage location and locate the disk you just uploaded, because I'm uploading the system disk, so tick VHD contains the operating system, if you upload a data disk you do not need to tick, and then click Finish

650) this.width=650; "title=" 40.png "alt=" wkiom1yaighz7egnaacfgly4fo8246.jpg "src=" 74/56/wkiom1yaighz7egnaacfgly4fo8246.jpg "/>

Wait for disk creation to complete, create virtual machine

Select Create from library, click on my disk to see the disk you just created, next

650) this.width=650; "Width=" 1005 "height=" 626 "title=" 41.jpg "style=" WIDTH:667PX;HEIGHT:399PX; "alt=" Wkiol1yaij6q5pxnaah46cng7lg648.jpg "src=" Http:// "/>

To complete the creation of a virtual machine by step

650) this.width=650; "Width=" 947 "height=" 628 "title=" 43.png "style=" width:668px;height:498px; "alt=" Wkiom1yaik7s44yeaajasu7evck045.jpg "src=" Http:// "/>

Then wait for the virtual machine to be created, and so on when the virtual machine status is displayed as running, click Connect, to remote connect the virtual machine, the virtual machine is running normally, done!

650) this.width=650; "Width=" 563 "height=" 364 "title=" 44.png "style=" Width:457px;height:281px;float:none; "alt=" Wkiom1yaioszfhvlaafpoihajkc385.jpg "src=" Http:// "/>

650) this.width=650; "Width=" 965 "height=" 694 "title=" 45.png "style=" Width:717px;height:513px;float:none; "alt=" Wkiol1yaiqgdfo4faadqhfn2bqy579.jpg "src=" Http:// "/>

This article is from the "Arvin Technology blog" blog, make sure to keep this source

Azure Technology 06-Virtual machines-local VHDs upload to Azure and create virtual machines

Related Article

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: 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.