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://s3.51cto.com/wyfs02/M00/74/56/wKiom1YaFy7jmfyGAAI9rsTHt5Y242.jpg "/>
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://s3.51cto.com/wyfs02/M02/74/53/wKioL1YaF03jfcVGAAOsOah0C6k032.jpg "/>
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=" http://s3.51cto.com/wyfs02/M01/ 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://s3.51cto.com/wyfs02/M00/74/53/wKioL1YaG-GQ9m3kAAPsJ8PoW4w017.jpg "/>
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=" http://s3.51cto.com/wyfs02/M01/ 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://s3.51cto.com/wyfs02/M01/74/53/wKioL1YaIJ6Q5PxnAAH46CNG7Lg648.jpg "/>
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://s3.51cto.com/wyfs02/M02/74/56/wKiom1YaIK7S44yEAAJASU7EvCk045.jpg "/>
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://s3.51cto.com/wyfs02/M00/74/56/wKiom1YaIOSzfhVlAAFPOihaJkc385.jpg "/>
650) this.width=650; "Width=" 965 "height=" 694 "title=" 45.png "style=" Width:717px;height:513px;float:none; "alt=" Wkiol1yaiqgdfo4faadqhfn2bqy579.jpg "src=" Http://s3.51cto.com/wyfs02/M00/74/53/wKioL1YaIQGDFO4FAADqhfN2bqY579.jpg "/>
This article is from the "Arvin Technology blog" blog, make sure to keep this source http://arvinwang.blog.51cto.com/345018/1701847
Azure Technology 06-Virtual machines-local VHDs upload to Azure and create virtual machines