1 Answer
- Newest
- Most votes
- Most comments
0
Hi. You can create a golden image by setting up a device in the normal way (using a cloud deployment), making a snapshot of the Greengrass file tree, and then copying that to each new device. This will copy all of your components and all of your configuration. For each new device, you would then also need to adjust the configuration:
- Erase the
thingName
value to re-enable fleet provisioning. - Add the
aws.greengrass.FleetProvisioningByClaim
configuration to theservices
property, with new unique thing name in the template parameters. - Update any interpolated thing names (if you use thing name interpolation).
- Erase any secrets.
Then apply the adjusted configuration.
UPDATE Oct 30 2024: New publication: Manufacturing devices at scale with AWS IoT Greengrass golden images
Relevant content
- asked 7 months ago
- Accepted Answerasked 3 years ago
- Accepted Answerasked 3 years ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
I'm not sure this would work with fleet provisioning. Would this trigger creation of new device certificates?
Hi. It works with fleet provisioning. You can take the
effectiveConfig.yaml
, modify it as described above, then update the configuration as follows:Then you'll have a new device, with unique thing name, ready to be fleet provisioned.