The Azure Quickstart templates are currently available in English

Create a DevTest environment with P2S VPN and IIS

Sist oppdatert: 21.05.2021

This template creates a simple DevTest environment with a Point-to-Site VPN and IIS on a Windows server which is a great way to get started.

Denne Azure Resource Manager (ARM)-malen ble opprettet av et medlem av fellesskapet og ikke av Microsoft. Hver ARM-mal er lisensiert til deg i henhold til en lisensavtale med eieren, ikke med Microsoft. Microsoft er ikke ansvarlig for ARM-maler som leveres og lisensieres av medlemmer og siler dem ikke ut med tanke på sikkerhet, kompatibilitet eller ytelse. Fellesskapets ARM-maler støttes ikke av noe Microsoft-støtteprogram eller -tjeneste, og er gjort tilgjengelig SOM DE ER, uten noen form for garanti.

Parametere

Parameternavn Beskrivelse
environmentPrefix Prefix to use for most of the resources.
adminUsername Admin username
adminPassword Admin password
vpnClientAddressPoolPrefix The IP address range from which VPN clients will receive an IP address when connected. Range specified must not overlap with on-premise network.
clientRootCertName The name of the client root certificate used to authenticate VPN clients. This is a common name used to identify the root cert.
clientRootCertData Client root certificate data used to authenticate VPN clients.
_artifactsLocation The base URI where artifacts required by this template are located including a trailing '/'
_artifactsLocationSasToken The sasToken required to access _artifactsLocation. When the template is deployed using the accompanying scripts, a sasToken will be automatically generated. Use the defaultValue if the staging location is not secured.

Bruke malen

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/devtest-p2s-iis/azuredeploy.json
Installere og konfigurere Azure PowerShell

Kommandolinje

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/devtest-p2s-iis/azuredeploy.json
Installer og konfigurer Azures kommandolinjegrensesnitt for alle plattformer