Page tree




In This Document 


Was this document useful? 
Your Rating:
Results:
1 Star2 Star3 Star4 Star5 Star
1 rates


Have a suggestion for the Armor Knowledge Base? Send a message to kb@armor.com.



For Amazon Web Services users who:

  • Use Elastic Beanstalk to run their instance's applications,
  • 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.

commands:
  01_install_agent:
    test: if [ $(rpm -q armor-agent | head -c11) == 'armor-agent' ]; then exit 1; else exit 0; fi
    command: |
      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.

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.

commands:
  01_install_agent:
    test: if [ $(rpm -q armor-agent | head -c11) == 'armor-agent' ]; then exit 1; else exit 0; fi
    command: |
      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.