Create a Golden Image with the Nano Agent Pre-Installed

Template Spyderbat Nano Agent install via Golden Image for environments with auto-scaling and automation requirements.

Published: July 25, 2022

Using a Golden Image of a virtual machine (VM) to deploy consistently creates a template that reduces errors, ensures consistency, and lowers the level of effort during deployment. The use of a Golden Image is also common in environments with autoscaling and automation.

Below are the steps that should be followed to include the Spyderbat Nano Agent into your Golden Image:

1. Identify the VM that you want to base your Golden Image.

2. Install the Spyderbat Nano Agent on this VM by choosing to add a new source in the Sources section of the UI.

3. After you have successfully installed and registered the Spyderbat Nano Agent, run the following command to stop the Nano Agent (it will take a few seconds to fully stop):

sudo systemctl stop nano_agent.service

4. Remove the unique machine ID (MUID) that associates the Nano Agent with the specific VM it is running on, by executing the following command:

sudo rm /opt/spyderbat/etc/muid

5. Save this VM as your Golden Image using the respective Cloud Platform or Virtual Machine functionality.

6. The Nano Agent service will start automatically when the virtual machine is loaded and boots, at which time a new, unique MUID will be generated and associated with the specific VM.

See also How to perform an unattended Spyderbat Nano Agent installation on AWS for additional information.

Last updated

© SPYDERBAT, Inc., All Rights Reserved