Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/iot-for-all/iotc-edgemodule-vm-deploy

ARM Template to deploy IoT Edge enabled VM pre-configured for an IoT Central edge module
https://github.com/iot-for-all/iotc-edgemodule-vm-deploy

Last synced: 2 months ago
JSON representation

ARM Template to deploy IoT Edge enabled VM pre-configured for an IoT Central edge module

Awesome Lists containing this project

README

        

# iotc-edgemodule-vm-deploy

> This project is deprecated in favor of the Azure IoT Edge deployment for virtual machines. Those instructions can be found here:
https://docs.microsoft.com/en-us/azure/iot-edge/how-to-install-iot-edge-ubuntuvm?view=iotedge-2020-11
>
> To use that deployment with IoT Central - follow the instructions for including the Device Connection String and then after the deployment succeeds you can edit the Azure IoT Edge configuration file (/etc/iotedge/config.yaml for Edge 1.x, and /etc/aziot/config.toml for Edge 2.x) to use the "DPS provisioning with symmetric key attestation" section instead of the "Manual provisioning with an IoT Hub connection string" section.

## ARM Template to deploy IoT Edge enabled VM pre-configured for an IoT Central edge module

ARM template to deploy a VM with IoT Edge pre-installed and configured for an IoT Central edge module (via cloud-init)



The ARM template visualized for exploration


This template can be used to quickly provide an IoT Edge device to host your module. When you don't have access to a network or a host device to use on your network you can use an Azure VM to simulate a host Edge device. This template will deploy an Azure VM with the latest IoT Edge runtime pre-installed and pre-configured for DPS Symmetric Key Provisioning for your IoT Central Edge deployment. Simply provide your IoT Central Application `Scope Id`, `Device Id`, and `Device Key`. You can obtain these from your IoT Central Application to use in the template.

## Azure CLI command to deploy IoT Edge enabled VM with IoT Central edge module

```bash
az deployment group create \
--subscription "" \
--name edgeModuleVM \
--resource-group "" \
--template-file edgeDeploy.json \
--parameters dnsLabelPrefix="edgeModuleDeploy" \
--parameters adminUsername="" \
--parameters scopeId="" \
--parameters deviceId="" \
--parameters deviceKey="