![]() It is also possibile to authenticate with certificates. IoT Edge modules are containers, so we need a container engine. In your SSH session, so on the VM, run the following commands (4 lines): Another option is to start **git bash** which likely is installed because you have Git for Windows: On Windows, you can use something like Putty. Ssh if you are running on Linux, **ssh** is available to you. When the VM is created, the public IP will be in the output. In most cases, you should use a private key to log on. This also enables password authentication to the virtual machine to make it a bit easier. This is not a best practice but ok for testing. This will create a virtual machine with port 22 (SSH) opened on its public IP address. Do not use special characters like $ etc. Replace **rg-training** with your resource group name if different. Save the connection string for later use. Like a regular IoT device, an IoT Edge device needs to be registered:Īz iot hub device-identity create -device-id myEdgeDevice -edge-enabled -hub-name The free tier supports IoT Edge.Ĭreate an edge device in IoT Hub. If not, please see and make sure you select the free tier. ![]() **Note:** in what follows, I presume you already deployed a free IoT Hub instance. ![]() Run **az account show**: are you in the correct subscription? If noy, run **az login**. Note that I run all commands in this document on WSL2 (Windows Subsystem for Linux) on Ubuntu 18.04. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |