Line 6: |
Line 6: |
| __TOC__ | | __TOC__ |
| ==Introduction== | | ==Introduction== |
− | | + | This article contains instructions on how to configure a Teltonika Networks device in order to connect to the Azure IoT Hub. <b>Azure IoT Hub</b> is a managed service hosted in the cloud that acts as a central message hub for communication between an IoT application and its attached devices. |
− | This article contains instructions on how to configure a RUT router in order to connect to the Azure IoT Hub. <b>Azure IoT Hub</b> is an open and flexible cloud platform that supports open-source SDKs and multiple protocols. | |
| ==Prerequisites== | | ==Prerequisites== |
| | | |
| You will need: | | You will need: |
| | | |
− | *A Teltonika Networks router; | + | *A Teltonika Networks device; |
| *An Azure IoT Hub account. | | *An Azure IoT Hub account. |
| | | |
Line 22: |
Line 21: |
| | | |
| <ul> | | <ul> |
− | <li>First you will want to create a Resource group for easier management of resources that you will add later. In Microsoft Azure home page.</li> | + | <li>First you will want to create a Resource group for easier management of resources that will be added later. In Microsoft Azure home page.</li> |
| <ul>Select '''Resource groups''' <br>If it is not in very first page, click '''More services''' and locate it there. </ul> | | <ul>Select '''Resource groups''' <br>If it is not in very first page, click '''More services''' and locate it there. </ul> |
| <div>[[File:Azure01.png|border|class=tlt-border|800px]]</div> | | <div>[[File:Azure01.png|border|class=tlt-border|800px]]</div> |
Line 28: |
Line 27: |
| [[File:Azure02.png|border|class=tlt-border]] | | [[File:Azure02.png|border|class=tlt-border]] |
| | | |
− | <li>And then finish creating yours Resource group </li> | + | <li>And finish creating the Resource group </li> |
| | | |
− | Select your subscription, we are using '''Free Trial''' for this test. | + | Select your subscription, for this example '''Free Trial''' will be used. |
| #Name your group | | #Name your group |
− | #Finally, choose server location for meta data. We will choose '''''(South America) Brazil South''''' and will use it during test where available. | + | #Choose server location for meta data. We will choose '''''(South America) Brazil South''''' and will use it during this example. |
| [[File:Azure03_RUTX.png|border|class=tlt-border]] | | [[File:Azure03_RUTX.png|border|class=tlt-border]] |
| | | |
− | <li>At this moment we will skip adding Tags since we will be able to do that later if needed, so simply press '''Review + create''' at the bottom of screen and then click Create to finish setup.</li> | + | <li>At this moment Tags will be skipped, press '''Review + create''' at the bottom of screen and click Create to finish setup.</li> |
| [[File:Azure04.png|border|class=tlt-border]] | | [[File:Azure04.png|border|class=tlt-border]] |
| <br> | | <br> |
| [[File:Azure05_RUTX.png|border|class=tlt-border]] | | [[File:Azure05_RUTX.png|border|class=tlt-border]] |
| | | |
− | <li>You will be redirected to Homepage, then click on '''Resource groups'''. You should see yours newly created group, select it, and press '''Add'''.</li> | + | <li>After being redirected to Homepage click on '''Resource groups'''. You should see the newly created group, select it and press '''Add'''.</li> |
| | | |
| [[File:Azure06_RUTX.png|border|class=tlt-border|800px]] | | [[File:Azure06_RUTX.png|border|class=tlt-border|800px]] |
Line 52: |
Line 51: |
| <div>1. Region – '''(South America) Brazil South''' as before</div> | | <div>1. Region – '''(South America) Brazil South''' as before</div> |
| <div>2. Create a name for IoT Hub</div> | | <div>2. Create a name for IoT Hub</div> |
− | <div>3. Then go to '''Size and scale tab''' </div> | + | <div>3. Go to '''Size and scale tab''' </div> |
| </li> | | </li> |
| [[File:Azure08_RUTX.png|border|class=tlt-border|800px]] | | [[File:Azure08_RUTX.png|border|class=tlt-border|800px]] |
Line 58: |
Line 57: |
| <div>At the bottom of the screen '''Review + create'''</div> | | <div>At the bottom of the screen '''Review + create'''</div> |
| [[File:Azure09.png|border|class=tlt-border|800px]] | | [[File:Azure09.png|border|class=tlt-border|800px]] |
− | <div>And finally, Click on >> '''Create''' </div> | + | <div>Click on >> '''Create''' </div> |
| [[File:Azure10_RUTX.png|border|class=tlt-border|400px]] | | [[File:Azure10_RUTX.png|border|class=tlt-border|400px]] |
| <div>'''Note:''' Wait until resource deploys and press Go to '''Resources''' </div> | | <div>'''Note:''' Wait until resource deploys and press Go to '''Resources''' </div> |
Line 75: |
Line 74: |
| [[File:Azure13_RUTX.png|border|class=tlt-border|400px]] | | [[File:Azure13_RUTX.png|border|class=tlt-border|400px]] |
| | | |
− | <li>After you finish creation, you will be redirected back to IoT devices select yours newly created '''Device ID'''</li> | + | <li>After creating a new device you will be redirected back to IoT devices. Select the newly created '''Device ID'''</li> |
| [[File:Azure14_RUTX.png|border|class=tlt-border|800px]] | | [[File:Azure14_RUTX.png|border|class=tlt-border|800px]] |
| | | |
− | <li>In your device window you will find information needed to connect RUT devices to Azure IoT Hub.</li> | + | <li>In the device window you will find information needed to connect Teltonika devices to Azure IoT Hub.</li> |
− | <div>For now, we will only need '''connection string'''. Copy Primary Connection string by pressing copy icon next to it. </div> | + | <div>For now only '''connection string''' will be used. Copy Primary Connection string. </div> |
| [[File:Azure16_RUTX.png|border|class=tlt-border|800px]] | | [[File:Azure16_RUTX.png|border|class=tlt-border|800px]] |
| | | |