Azure IoT Hub – Raspberry Pi IoT Project

For this part of the Raspberry Pi IoT project I am going to be using Microsoft Azure, if you want to follow along please sign up for a Microsoft Azure account.

Log in to https://portal.azure.com/ with your Microsoft Azure account. For me it took a few minutes and a few log offs/ons for my free Azure trial to kick in.

geektechstuff_azure_1
Microsoft Azure landing portal

In the top left corner click “Create a resource” and choose “Internet of Things” from the menu.

geektechstuff_azure_2
Azure create a resource menu

From the “Internet of Things” menu choose “IoT Hub”.

geektechstuff_azure_3
Microsoft Azure IoT menu

The IoT screen may look a little daunting but don’t worry it just needs a few settings.

  • Subscription: For the free trial select “Free Trial”, if you have a paid for subscription choose it.
  • Resource Group: Choose an existing resource group, or if like me this is your first Azure interaction you will need to create one (with a meaningful name).
  • Region: Choose the region closest to where you are, i.e. I’m in the west of the UK so chose UK West.
  • IoT Hub Name: Name your IoT hub something meaningful. This name is discoverable as a DNS endpoint so avoid personal / private details or anything you wouldn’t want make public.
geektechstuff_azure_IoTHub
Azure IoT Hub Settings

Next click “Next” Size and scale” to bring up the size and scale menu. At this point there are several subscription (pricing tiers) available. I’m going for the free tier as an Azure subscription can have 1 free IoT hub.

geektechstuff_azure_IoT_suze_scale
Azure IoT Hub Size and Scale

 

The free tier is intended for testing and evaluation, and allows for up to 8000 messages per day so should meet the needs of my project. If you do not use the free tier please make sure to check the cost per month before proceeding. The next page then confirms what is being created. Again, check the price meets what you are ok paying.

geektechstuff_azure_iot_review
Azure IoT Review + create

If pricing and settings are correct, press “Create” and Azure will start to do its magic. The deployment can take a little bit of time and needs to complete / finish before a device can be registered.

 

geektechstuff_azure_iot_deploy_1
Azure Deployment in progress

 

 

2 thoughts on “Azure IoT Hub – Raspberry Pi IoT Project

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.