1 Answer
- Newest
- Most votes
- Most comments
1
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
thingNamevalue to re-enable fleet provisioning. - Add the
aws.greengrass.FleetProvisioningByClaimconfiguration to theservicesproperty, 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 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.
Sorry for the late acceptance. This is what we're doing for now. I do see this as a documentation gap, and this method seems a little wonky for production.