Upload VHD to Windows Azure

My personal minimalistic notes of uploading to Windows Azure.


Create certificate with Visual Studio CMD (as Administrator)

makecert -sky exchange -r -n “CN=<CertificateName>” -pe -a sha1 -len 2048 -ss My “<CertificateName>.cer”

Set Azure connection in Azure CMD (as Administrator)

csupload Set-Connection “SubscriptionID=<Subscriptionid>;CertificateThumbprint=<Thumbprint>;ServiceManagementEndpoint=https://management.core.windows.net”

csupload Add-PersistentVMImage –Destination “<BlobStorageURL>/<YourImagesFolder>/<VHDName>” -Label <VHDName> -LiteralPath <PathToVHDFile> -OS Windows

Leave a Reply





This site uses Akismet to reduce spam. Learn how your comment data is processed.