Forked from mikepfeiffer/gist:d889b3bc78b68193e407d487b197be04
Created
June 2, 2019 05:18
-
-
Save hitenc/fa6f70345f249e15ca291327c6a444d8 to your computer and use it in GitHub Desktop.
EC2 user data script to bootstrap instance with CloudWatch sample scripts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| yum install perl-Switch perl-DateTime perl-Sys-Syslog perl-LWP-Protocol-https -y | |
| curl http://aws-cloudwatch.s3.amazonaws.com/downloads/CloudWatchMonitoringScripts-1.2.1.zip -O | |
| unzip CloudWatchMonitoringScripts-1.2.1.zip | |
| rm CloudWatchMonitoringScripts-1.2.1.zip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment