Install Docker on a Azure Linux VM, upload a docker image to Azure Container Registry and Deploy a Azure Container Instance Part 1 – Install Azure CLI and the VSCode extension

Let’s go!

Before installing the CLI tools in VSCode make sure that you have installed the Azure CLI on your client here.

Now download and install the Azure CLI Tools so we get the Intellisense in VSCode. Search and install and restart VSCode.

Next create a file with the .azcli type so that the extension will recognize the file.

Now in the next part we will deploy the Linux VM in Azure using AZ Cli.

Run an Raspberry Pi Simulator and connect to an Azure IoT Hub Part 5 – Read IoT Messages from VSCode

Right click on your IoT device and select to monitor.

Next jump in to the simulator and run it again.

And voila! In your output you’ll find your very own simulator send information into your Azure IoT Hub.

As you can see it’s the same temperature.

Done and done! Now go out and build some IoT devices!

Run an Raspberry Pi Simulator and connect to an Azure IoT Hub Part 3 – Run the simulator

In this tutorial we will run the Raspberry Pi Simulator and connect it to our very own Azure IoT hub. Following this guide.

Go here to launch the simulator.

Next go into the Azure portal and get your Device connection key.

After you’ve launched the page go in and replace the value with your connectionstring and press run.

Voila! Your messages are being sent to your IoT hub.

In the next post we’ll set up Visual Studio Code to read the messages!