Strategies for automated deployment

How to deploy a large number of Linux devices into production

At one point in time a strategy is necessary to determine how to onboard large number of devices in production. Through its possibility to create multiple bootstrap keys and assoicate to the devices to specific groups by bootstrap key this works fairly well. Then a master image or mechanism to run the qbee agent during provisioning needs to be implemented. We will show two ways of doing this below. Please note:

  • custom bootstrap keys allow automated association of devices to groups (with different configuration)
  • devices can be manually moved into group from a repository of devices in "unassigned" or this automated
  • many bootstrap keys can be created and deleted. This allows to use new keys for each production badge allowing very good control of the devices

Most of our customers use two ways of onboarding devices into production:

  • use a script with the bootstrap key
  • use a master image in which the bootstrap key can be defined. An exampe for a Raspberry Pi image is given here
  • use chroot to mount an SD and insert a defined bootstrap key as shown here

If you need help for mass production please reach out to us.