Skip to content

Instantly share code, notes, and snippets.

@seventhskye
Last active September 8, 2015 21:46
Show Gist options
  • Save seventhskye/9f96153d1d9f290d3b9a to your computer and use it in GitHub Desktop.
Save seventhskye/9f96153d1d9f290d3b9a to your computer and use it in GitHub Desktop.
Short script to install Amazon CloudWatch Logs agent on Debian
#!/bin/bash
echo "Usage: $0 <REGION>"
exit 1
apt-get update
wget https://s3.amazonaws.com/aws-cloudwatch/downloads/latest/awslogs-agent-setup.py
python ./awslogs-agent-setup.py --region $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment