Create a gist now

Instantly share code, notes, and snippets.

Setup Mackerel for AWS Elastic Beanstalk
packages:
rpm:
mackerel: "https://mackerel.io/file/agent/rpm/mackerel-agent-latest.noarch.rpm"
files:
/etc/mackerel-agent/mackerel-agent.conf:
mode: "00644"
owner: root
group: root
encoding: plain
content: |
apikey = "YOUR API KEY"
roles = [ "Service:Role" ]
commands:
start_mackerel_agent:
command: "/etc/init.d/mackerel-agent restart"
ignoreErrors: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment