Blog

Creating VM Golden Images that include Spyderbat’s Nano Agent

  • All Posts
  • 6 months ago
  • 2 min read
  • 106 views
  • 0 comments

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.

Installing Spyderbat Nano Agent

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.

Write a comment

guest
0 Comments
Inline Feedbacks
View all comments

Solutions

Use cases