Create VM from a custom image in new storage account

게시자: Paulo Marques
마지막 업데이트: 2016-03-25

비용 추정

$208.347711

월별 예상 비용

계산 방법을 이해하고 요구에 맞게 사용자 지정하세요.

요금 계산기

This template allows you to create a new Virtual Machine from a custom image on a new storage account deployed together with the storage account, which means the source image VHD must be transferred to the newly created storage account before that Virtual Machine is deployed. This is accomplished by the usage of a transfer virtual machine that is deployed and then uses a script via custom script extension to copy the source VHD to the destination storage account.

이 ARM(Azure Resource Manager) 템플릿은 Microsoft가 아니라 커뮤니티 구성원에 의해 만들어졌습니다. 각 ARM 템플릿은 Microsoft가 아닌 해당 소유자에 의해 사용이 허가됩니다. Microsoft는 커뮤니티 구성원에 의해 제공 및 라이선스가 부여된 ARM에 대해 책임이 없으며, 보안, 호환성 또는 성능을 검사하지 않습니다. 커뮤니티 ARM 템플릿은 Microsoft 지원 프로그램 또는 서비스에서 지원되지 않고, 어떠한 보증도 없이 있는 그래도 제공됩니다.

매개 변수

매개 변수 이름 설명
transferVmName Name of the Windows VM that will perform the copy of the VHD from a source storage account to the new storage account created in the new deployment, this is known as transfer vm.
vmSize VM size of new virtual machine that will be deployed from a custom image.
newVmName Name of the new VM deployed from the custom image.
customImageName Name of the VHD to be used as source syspreped/generalized image to deploy the VM. E.g. mybaseimage.vhd.
adminUserName Name of the local administrator account, this cannot be Admin, Administrator or root.
adminPassword Local administrator password, complex password is required, do not use any variation of the password word because it will be rejected.
sourceStorageAccountResourceGroup Resource group name of the source storage account.
sourceImageURI Full URIs for one or more custom images (VHDs) that should be copied to the deployment storage account to spin up new VMs from them. URLs must be comma separated.

템플릿 사용

PowerShell
New-AzureRmResourceGroupDeployment -Name <deployment-name> -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/201-vm-custom-image-new-storage-account/azuredeploy.json
Azure PowerShell 설치 및 구성
명령줄
azure config mode arm
azure group deployment create <my-resource-group> <my-deployment-name> --template-uri https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/201-vm-custom-image-new-storage-account/azuredeploy.json
Azure 크로스 플랫폼 명령줄 인터페이스 설치 및 구성

Paulo Marques의 추가 템플릿