For Amazon Web Services users who:
- Use a set hostname,
- Use Elastic Beanstalk to run their instance's applications, and
- Run Amazon Linux 2015.03, 2015.09, 2016.03, 2016.09, 2017.03, or 2017.09.
Review the following example to understand how to install the Anywhere agent. Afterwards, you can skip to the Test your connection step.
test: if [ $(rpm -q armor-agent | head -c11) == 'armor-agent' ]; then exit 1; else exit 0; fi
echo "<host_name>$(date +%Y%m%d%H%M%S)" > /proc/sys/kernel/hostname
sed -i "s/HOSTNAME=.*/HOSTNAME=$(cat /proc/sys/kernel/hostname)/g" /etc/sysconfig/network
yum install -y https://get.core.armor.com/latest/armor-agent.rpm
/opt/armor/armor register --license=AAAA1-A11AA-AA1AA-AAAAA-1AAA
You must replace:
- AAAA1-A11AA-AA1AA-AAAAA-1AAA with your specific license key
- HOSTNAME and hostname with your specific hostname.
You can use these scripts to verify that your environment is compatible with Armor Anywhere. These scripts will not install the agent.sSL https
|Pre-installation and installation|
You can use these scripts to:
- Verify that your environment is compatible with Armor Anywhere
- Install the agent
sh | bash /dev/stdin -l AAAA1-A11AA-AA1AA-AAAAA-1AAA
You can use these scripts to install the agent. These scripts will not verify your environment for compatibility. sSL https
sh | bash /dev/stdin -l AAAA1-A11AA-AA1AA-AAAAA-1AAA -s
In the above scripts, replace AAAA1-A11AA-AA1AA-AAAAA-1AAAwith your specific license key.
Step 3: Test your connection
|Excerpt Include||ESLP:Test your connection (snippet)||ESLP:Test your connection (snippet)|
After you install the agent, Armor recommends that you test the connection for each configured firewall rule.
To verify connectivity to an Armor service endpoint, use the telnet command.
The following example tests connectivity to api.armor.com over 443/tcp:
telnet 18.104.22.168 443
For Windows systems without the telnet feature installed, you can also use PowerShell:
new-object System.Net.Sockets.TcpClient('22.214.171.124', 443)
Step 4: Review the status of the Armor Anywhere agent