search close

Amazon Linux Agent Installation

access_time Updated Dec 6, 2022

IMPORTANT: Beginning January 31, 2023, the agent end-of-support policy will take effect. Per this policy, we will support agent versions that are under two years old. On a quarterly cadence, we will deprecate and no longer support agent versions that are older than two years. At the end of January, we will support Agent v4.16.0 and above. If you need help upgrading your agent to a supported version, contact securitysupport@fastly.com.

Add the package repository

Amazon Linux 2

Amazon Linux 2 is most similar to CentOS 7 and reuses the same configuration.

Run the following script:

sudo tee /etc/yum.repos.d/sigsci.repo <<-'EOF'
[sigsci_release]
name=sigsci_release
baseurl=https://yum.signalsciences.net/release/el/7/$basearch
repo_gpgcheck=1
gpgcheck=1
enabled=1
gpgkey=https://yum.signalsciences.net/release/gpgkey https://dl.signalsciences.net/sigsci-agent/gpg.key
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
EOF

Amazon Linux 2015.09.01

Amazon Linux 2015.09.01 is most similar to CentOS 6 and reuses the same configuration.

Run the following script:

sudo tee /etc/yum.repos.d/sigsci.repo <<-'EOF'
[sigsci_release]
name=sigsci_release
baseurl=https://yum.signalsciences.net/release/el/6/$basearch
repo_gpgcheck=1
gpgcheck=1
enabled=1
gpgkey=https://yum.signalsciences.net/release/gpgkey https://dl.signalsciences.net/sigsci-agent/gpg.key
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
EOF

Install the Signal Sciences Agent package

  1. Run the following command:

    sudo yum install sigsci-agent
    
  2. Create an empty agent configuration file at /etc/sigsci/agent.conf.

  3. Add the Agent Access Key and Agent Secret Key into the agent configuration file at /etc/sigsci/agent.conf.

    1. Log in to the Signal Sciences console.

    2. Select a site if you have more than one site.

    3. Click Agents in the navigation bar. The agents page appears.

    4. Click View agent keys. The agent keys window appears.

      The &lsquo;View agent keys&rsquo; button.

    5. Copy the Agent Access Key and Agent Secret Key.

      The agent keys window.

    6. Enter the Agent Access Key and Agent Secret Key into /etc/sigsci/agent.conf.

      accesskeyid = "AGENTACCESSKEYHERE"
      secretaccesskey = "AGENTSECRETACCESSKEYHERE"
      
  4. Start the Signal Sciences Agent.

    • Amazon Linux 2

      sudo systemctl start sigsci-agent
      
    • Amazon Linux 2015.09.01

      start sigsci-agent
      

Next Steps

Install the Signal Sciences Module: