aws-scripts install_ec2_monitor.sh it will install monitor in centos ec2. it required cloudwatch access.