What is the best approach to flash IoT devices with keys and certificates?
I am using GCP IoT Core to upload sensor data to BigQuery through a Dataflow pipeline. However, I am struggling with finding a way to manage these devices. My approach to setting up a new device is not scaleable, and require a lot of manual labour. I am using an ESP32 with MicroPython, and these are the steps:
- Generate public/private key pair.
- Create new device in IoT core and add device ID and public key.
- Flash device with firmware, private key and CA certificates
How do large companies with thousands of devices manage this efficiently?
submitted by /u/TotemEnt
Original article: How to manage large scale setup of MQTT devices?