Skip to content

Instantly share code, notes, and snippets.

@shashikantj
Last active November 28, 2018 22:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shashikantj/de2038dc5ab674ffb8f086ede19e47d5 to your computer and use it in GitHub Desktop.
Save shashikantj/de2038dc5ab674ffb8f086ede19e47d5 to your computer and use it in GitHub Desktop.
Alert Logic Agent in AWS Elastic Beanstalk Config File
packages:
rpm:
alagent: https://scc.alertlogic.net/software/al-agent-LATEST-1.x86_64.rpm
commands:
01ProvisionAgent:
command: /etc/init.d/al-agent provision --inst-type host
test: '[ ! -e /var/alertlogic/lib/agent/etc/host_uuid ]'
02StartAgent:
command: /etc/init.d/al-agent start
test: '[ ! $(pidof al-agent) ]'
@shashikantj
Copy link
Author

according to alert logic the --key in not necessary for /etc/init.d/al-agent
from alert-logic

The agents actually auto-configure themselves in your environment without any provisioning key necessary. We leverage the IAM cross-account role you deployed at the beginning of the deployment process to find agents and marry them to the correct IDS appliance / Customer UI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment