Area 51 supports Advanced Monitoring with AWS CloudWatch. This new feature will allow history on some important local EC2 metrics such as disk space available, memory usage, CPU utilization, CPU credits and more.
Should your stack not have the CloudWatch Agent, please follow these simple steps to install on a G3/G4 stack:
Get and Install CWA:
sudo dpkg -i -E ./amazon-cloudwatch-agent.deb
msiexec /i amazon-cloudwatch-agent.msi
Install CloudWatch Agent Dependency on Ubuntu:
sudo apt-get install collectd
SFTP config.json File to Server:
Copy this config.json file to this directory on the Ubuntu EC2:
or just copy and paste with
sudo nano /opt/aws/amazon-cloudwatch-agent/bin/config.json
sudo /opt/aws/amazon-cloudwatch-agent/bin/amazon-cloudwatch-agent-ctl -a fetch-config -m ec2 -c file:/opt/aws/amazon-cloudwatch-agent/bin/config.json -s
sudo /opt/aws/amazon-cloudwatch-agent/bin/amazon-cloudwatch-agent-ctl -m ec2 -a status #Check Status of Agent
sudo /opt/aws/amazon-cloudwatch-agent/bin/amazon-cloudwatch-agent-ctl -m ec2 -a stop #Manual stop prevents auto-start on reboot
Should you need assistance, please contact support.