edge-vm-deploy
ARM template to deploy a VM with IoT Edge pre-installed (via cloud-init)
The ARM template visualized for exploration
Azure CLI command to deploy IoT Edge enabled VM
# Create resource group
az group create --name cig2 --location westus2
# Create VM, install IoT Edge and associate with IoT Hub device identity
az group deployment create \
--name edgeVm \
--resource-group cig2 \
--template-uri "https://raw.githubusercontent.com/veyalla/edge-vm-deploy/master/edgeDeploy.json" \
--parameters dnsLabelPrefix='testv1' \
--parameters adminUsername='veyalla' \
--parameters deviceConnectionString=$dcs \
--parameters authenticationType='sshPublicKey' \
--parameters adminPasswordOrKey="$(< ~/.ssh/id_rsa.pub)"