Home

Using Azure IoT in production: looking for best practices

%3CLINGO-SUB%20id%3D%22lingo-sub-821382%22%20slang%3D%22en-US%22%3EUsing%20Azure%20IoT%20in%20production%3A%20looking%20for%20best%20practices%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-821382%22%20slang%3D%22en-US%22%3E%3CDIV%3EHello%20everyone%2C%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3EWe%20are%20working%20on%20an%20agriculture%20tech%20solution.%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3EPart%20of%20the%20solution%20is%20having%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20class%3D%22il%22%3EIoT%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Edevices%20spread%20around%20the%20glob%20(although%20we%20are%20starting%20in%20a%20specific%20area%20and%20will%20spread%20later).%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3EWe%20are%20using%20Nvidia's%20Xavier%20GPU%2C%20which%20contains%20Ubuntu%2018.04%20with%20ARM64.%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CSTRONG%3ENote%3C%2FSTRONG%3E%3A%20Nvidia%20has%20an%20automatic%20installation%20process%20using%20JetPack%20(currently%204.2.1)%20which%20installs%20the%20OS%2C%20docker%2C%20cuda%2C%20cudnn%20and%20more.%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3EWe%20were%20able%20to%20set%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20class%3D%22il%22%3EAzure%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20class%3D%22il%22%3EIoT%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E1.0.8%20on%20these%20devices%2C%20which%20we%20currently%20install%20manually%20before%20sending%20them%20to%20the%20field.%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3EWe%20also%20managed%20to%20install%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20class%3D%22il%22%3EAzure%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3EVPN%20on%20them%2C%20again%2C%20manually%2Fusing%20Ansible.%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3EWhat%20are%20interested%20in%20is%20to%20understand%20what%20are%20the%20best%20practices%2C%20especially%20in%20production%20when%20it%20comes%20to%3A%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CUL%3E%3CLI%3EUpgrade%20Ubuntu%20packages%20(non%20docker)%3C%2FLI%3E%3CLI%3ESecurity%20upgrades%3F%26nbsp%3B%3C%2FLI%3E%3CLI%3EActual%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20class%3D%22il%22%3EAzure%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3EIoTEdge%2FHub%20upgrades%20(e.g%20%2Fetc%2Fazureiot%2Fconfig.yaml)%3C%2FLI%3E%3CLI%3EInstalling%20tools%20outside%20docker%20in%20all%20devices%20at%20once%20i.e%20running%20Ansible%2FTerraform%20remotely%3F%26nbsp%3B%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFew%20things%20to%20consider%3A%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CDIV%3E%3CUL%3E%3CLI%3EOur%20devices%20are%20going%20to%20be%20offline%20while%20working%20in%20the%20fields%2C%20and%20online%20only%20at%20the%20end%20of%20the%20day%2C%20is%20it%20worth%20using%20AKS%3F%26nbsp%3B%3C%2FLI%3E%3CLI%3E%3CSPAN%3EDo%20we%20need%20the%20VPN%20mentioned%20above%3F%20We%20were%20thinking%20that%20it%20would%20help%20connecting%20them%20remotely%20(e.g%20SSH)%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FUL%3E%3CDIV%3EMy%20gut%20feeling%20is%20that%20we%20are%20missing%20something%20in%20the%20way%20we%20approach%20it%2C%20but%20I%60m%20not%20sure%20why.%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3EI%20would%20be%20happy%20to%20hear%20your%20opinion%20about%20this.%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3EThank%20you!%3C%2FDIV%3E%3CDIV%3EShaked%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-826910%22%20slang%3D%22en-US%22%3ERe%3A%20Using%20Azure%20IoT%20in%20production%3A%20looking%20for%20best%20practices%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-826910%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F397830%22%20target%3D%22_blank%22%3E%40shakedko%3C%2FA%3E%26nbsp%3BI%20find%20connectivity%20to%20the%20sites%20and%20out%20of%20band%20management%20to%20be%20the%20biggest%20challenges%20right%20now%2C%20when%20you%20talk%20globally.%20Also%20VPN%20is%20going%20to%20be%20a%20lot%20of%20overhead%20unless%20you%20have%20good%20connectivity.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-827046%22%20slang%3D%22en-US%22%3ERe%3A%20Using%20Azure%20IoT%20in%20production%3A%20looking%20for%20best%20practices%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-827046%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F303581%22%20target%3D%22_blank%22%3E%40DSSRyan%3C%2FA%3E%26nbsp%3BYes%20it%20is.%20I%20would%20be%20happy%20to%20see%20which%20solutions%20are%20available%20out%20there.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%2C%20how%20would%20you%20approach%20the%20other%20questions%20assuming%20that%20you%20know%20that%20every%20night%20you%20would%20be%20able%20to%20access%20these%20devices%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
shakedko
New Contributor
Hello everyone, 
 
We are working on an agriculture tech solution. 
 
Part of the solution is having IoT devices spread around the glob (although we are starting in a specific area and will spread later). 
 
We are using Nvidia's Xavier GPU, which contains Ubuntu 18.04 with ARM64. 
 
Note: Nvidia has an automatic installation process using JetPack (currently 4.2.1) which installs the OS, docker, cuda, cudnn and more. 
 
We were able to set Azure IoT 1.0.8 on these devices, which we currently install manually before sending them to the field. 
 
We also managed to install Azure VPN on them, again, manually/using Ansible. 
 
What are interested in is to understand what are the best practices, especially in production when it comes to: 
 
  • Upgrade Ubuntu packages (non docker)
  • Security upgrades? 
  • Actual Azure IoTEdge/Hub upgrades (e.g /etc/azureiot/config.yaml)
  • Installing tools outside docker in all devices at once i.e running Ansible/Terraform remotely? 

 

Few things to consider: 

 

  • Our devices are going to be offline while working in the fields, and online only at the end of the day, is it worth using AKS? 
  • Do we need the VPN mentioned above? We were thinking that it would help connecting them remotely (e.g SSH)
My gut feeling is that we are missing something in the way we approach it, but I`m not sure why. 
 
I would be happy to hear your opinion about this.
 
Thank you!
Shaked
 
2 Replies

@shakedko I find connectivity to the sites and out of band management to be the biggest challenges right now, when you talk globally. Also VPN is going to be a lot of overhead unless you have good connectivity.

Highlighted

@DSSRyan Yes it is. I would be happy to see which solutions are available out there. 

 

However, how would you approach the other questions assuming that you know that every night you would be able to access these devices? 

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
21 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
flashing a white screen while open new tab
cntvertex in Discussions on
12 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies