Install the AA Agent - Linux/MacOS
Â
Before you begin, Armor recommends that you pre-installation information, including firewall rules. To learn more, see Armor Agent Pre-Installation.
Step 1: Locate the Armor Anywhere Agent
In the Armor Management Portal (AMP), in the left-side navigation, click Infrastructure.
Click Virtual Machines.
Hover over the plus ( + ) icon, and then click the Anywhere Agent icon.
If you don't have any agents listed, then click Add an Armor Agent.
Copy your license key. You will need this information in a later step.
Select your operating system (Linux or Windows).
Armor recommends installing the Armor Agent with all Security Services. Documentation on installing the Armor Agent only can be found below.
Step 2: Install the Armor Agent for Servers (AA)
Run the command to install the Armor Anywhere Agent with all Security Services.
sudo curl -sSL https://agent.armor.com/latest/armor_agent.sh | sudo bash /dev/stdin -l AAAA1-AAAA1-AAAA1-AAAA1-AAAA1 -r (region) -f
You must replace
AAAA1-AAAA1-AAAA1-AAAA1-AAAA1 with your specific license key
Currently, all users will leverage the region: us-west-armor
The Trend Recommendation Scan is not run upon installation, but is instead scheduled to run 10 minutes after installation and then every 7 days after that.
Step 3: Review the status of the Armor Agent for Servers
In the Armor Management Portal (AMP), in the left-side navigation, click Infrastructure.Â
Click Virtual Machines and click on the corresponding VM.
On the VM detail page, you can view information about the VM as well as the services installed on the server and their corresponding health. Â
The State column contains a green or red status to indicate if the server's agent has registered a heartbeat to Armor.
A green status indicates the server's agent has registered a heartbeat in the past hour.Â
A red status indicates the server's agent has not registered a heartbeat in the past hour.Â
Installing the Armor Anywhere Agent Only
If you need to install the Armor Agent and Armor Security Services one by one, Armor recommends following the specific order outlined below to utilize the benefits of Recommendation Scans.
Recommendation Scans provide a good starting point for establishing a list of rules that you should implement for FIM and IPS. During a recommendation scan, the Armor Agent scans the operating system for installed applications, the Windows registry, open ports, and more. Recommendation Scans provide the rules and policies that will be auto applied by FIM and IPS, so auto apply features for those services must be turned on. Similarly, there is nothing for FIM and IPS to auto apply unless a Recommendation Scan is run.
If you do not want to run Recommendation Scans, please review the full list of CLI commands available here.
Agent Only Step 1: Run the command to install the Armor Anywhere agent only.
sudo curl -sSL https://agent.armor.com/latest/armor_agent.sh | sudo bash /dev/stdin -l AAAA1-AAAA1-AAAA1-AAAA1-AAAA1 -r (region)
Agent Only Step 2: Install Armor Security Services
Agent Only Step 3: Same as Step 3 in the full installation outline above.
Troubleshooting
The Armor Agent uses the BiosUUID to identify the hardware that the agent is running on. This number is tied to your motherboard (in the case of a physical computer) but is also present in a Virtual Machine.
In rare cases, the usual calls to retrieve this identifier fail to return this UUID, which will cause the Armor Agent to fail registration.
Turn on Armor Agent debug logging and try to register again. If the registration fails again, search the log for "Unable to get BiosUUID"
time="2020-07-24T03:06:48-05:00" level=debug msg="Unable to get BiosUUID"
time="2020-07-24T03:06:50-05:00" level=debug msg="Unable to get BiosUUID"
In Linux, try this command to try to retrieve the UUID:
Any of the above commands should return a 35byte string formatted like:
The BIOS UUID is required by the Armor Agent, to ensure uniqueness of the device. The BIOS UUID must be readable by the operating system. If the BIOS UUID is not available to the operating system please check with your provider.