Connecting multiple ESP32 device to iot core.

0

Hi,

I am working on a home automation project where I will be using 5-6 ESP32 (later more) to connect to iot core and subscribe/publish data. however creating new thing for every ESP32 is complicated as each ESP require unique certificate and policy and when number of esp32 increase creating manually for each and uploading seperate codes in each esp is unrealistic.

Please help me out with a proper option where each time we get a new thing and policy created everytime I add a new device.

질문됨 10달 전534회 조회
2개 답변
1

It is best practice to have unique credentials for each device, meaning that you SHOULD use unique certificates for each ESP32. These certificates can be embedded in software or in HW security modules (such as ATECC608). These modules can also be purchased with preconfigured credentials that can be pre-registered in AWS IoT Core (see https://www.microchip.com/en-us/products/security/trust-platform). You can then leverage a JITP flow to activate the device and create the cloud resources (such as Thing, ThingGroups, Policies) automatically.

An alternative solution is to use a certificate vending machine that sends the device the unique certificate at onboarding time. One such solution which is tailored for embedded devices is IoT Provisioning Secrets Free. You can find additional solutions in the whitepaper listed below.

You can leverage AWS IoT Policiy variables to create scalable policies. You can read more at https://docs.aws.amazon.com/iot/latest/developerguide/iot-policy-variables.html

Check also out this whitepaper for more information on the different options for creating a secure provisioning solution your IoT products: https://docs.aws.amazon.com/whitepapers/latest/device-manufacturing-provisioning/device-manufacturing-provisioning.html

AWS
전문가
답변함 10달 전
profile pictureAWS
전문가
Greg_B
검토됨 10달 전
0

Thanks for the help. However it would be very helpful if I get some more in depth help regarding this. I am very much new to it.

답변함 4달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인