search close

Amazon Linux Agent Installation

access_time Updated Jun 20, 2021

Add the Package Repositories

Amazon Linux 2

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

Cut-and-paste 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.

Cut-and-paste 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. To install the package, running the following command.

    sudo yum install sigsci-agent

  2. Create the file /etc/sigsci/agent.conf

  3. Configure the agent by inputting the Agent Access Key and Agent Secret Key into the /etc/sigsci/agent.conf.

    • The Agent Access Key and Agent Secret Key for your site are listed within the Signal Sciences console by going to Agents > View agent keys:

    • The Agent Access Key and Agent Secret Key will be visible within the modal window:

    Example /etc/sigsci/agent.conf

    accesskeyid = "AGENTACCESSKEYHERE"
    secretaccesskey = "AGENTSECRETACCESSKEYHERE"

    Additional configuration options are listed on the agent configuration page.

  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: