The agent is distributed as an RPM from a yum repository. You can install it by running the following as root
- curl -o /etc/yum.repos.d/stackdriver.repo https://repo.stackdriver.com/stackdriver-amzn.repo
- yum install stackdriver-agent
- /opt/stackdriver/stack-config --api-key STACKDRIVER_API_KEY where STACKDRIVER_API_KEY is an api key from your stackdriver account
For older versions of Amazon Linux distributions (ex. 2012.09), please use the EL6 version.