Lewati Navigasi

Templat Azure Quickstart saat ini tersedia dalam bahasa Inggris

Deploy Windows VM configure windows featurtes SSL DSC

oleh Udy Sarma
Terakhir diperbarui: 09/06/2021

This template allows you to deploy a Windows VM, configure windows features like IIS/Web Role, .Net, Custom loggin, windows auth, application initialization, download application deployment packages, URL Rewrite & SSL configuration using DSC and Azure Key Vault

Templat Azure Resource Manager ini dibuat oleh anggota komunitas dan bukan oleh Microsoft. Setiap templat Resource Manager dilisensikan kepada Anda berdasarkan perjanjian lisensi oleh pemiliknya, bukan Microsoft. Microsoft tidak bertanggung jawab atas templat Resource Manager yang disediakan dan dilisensikan oleh anggota komunitas dan tidak menyaring keamanan, kompatibilitas, atau performa. Templat Community Resource Manager tidak didukung di bawah program atau layanan dukungan Microsoft apa pun, dan tersedia SEBAGAIMANA ADANYA tanpa jaminan apa pun.

Parameter

Nama Parameter Deskripsi
appVMName Set this value for the VM name
appVMAdminUserName Set this value for the VM admin user name
appVMAdminPassword Set this value for the VM admin user password
appVMWindowsOSVersion Set this value for the VM Windows OS Version
appPublicIPDnsName Set this value for the dns name of the public ip
appDSCUpdateTagVersion This value must be changed from a previous deployment to ensure the extension will run
appWebPackage Set this value for the signed uri to download the deployment package
appVMVmSize Set this value for the VM size
_artifactsLocation Auto-generated container in staging storage account to receive post-build staging folder upload
_artifactsLocationSasToken Auto-generated token to access _artifactsLocation
vaultName The Azure Key vault where SSL certificates are stored
vaultResourceGroup Resource Group of the key vault
httpssecretUrlWithVersion full Key Vault Id to the secret that stores the SSL cert
httpssecretCaUrlWithVersion full Key Vault Id to the secret that stores the CA cert
certificateStore name of the certificate key secret
certificateDomain name of the domain the certificate is created for
location Location for all resources.

Menggunakan templat

Windows PowerShell

New-AzResourceGroup -Name <resource-group-name> -Location <resource-group-location> #use this command when you need to create a new resource group for your deployment
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/demos/vm-win-iis-app-ssl/azuredeploy.json
Menginstal dan mengonfigurasi Azure PowerShell

Baris perintah

az group create --name <resource-group-name> --location <resource-group-location> #use this command when you need to create a new resource group for your deployment
az group deployment create --resource-group <my-resource-group> --template-uri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/demos/vm-win-iis-app-ssl/azuredeploy.json
Menginstal dan Mengonfigurasi Azure Cross-Platform Command-Line Interface