AWS - Monitoring memory usage (Factorio example)
Memory statistics on AWS EC2 instances are not part of the standard dashboard. This video shows how you can get memory statistics and set up an alarm to alert about low memory.
This is a continuation of an earlier video where I showed how to set up a server for the game Factorio on AWS.
Previous video: https://youtu.be/gYOFl5QN5Jw
The commands shown in the video are for Amazon Linux.
For other distributions, and additional information about the scripts used, see:
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/mon-scripts.html
Commands used:
sudo yum install perl-Switch perl-DateTime perl-Sys-Syslog perl-LWP-Protocol-https
curl http://aws-cloudwatch.s3.amazonaws.com/downloads/CloudWatchMonitoringScripts-1.2.1.zip -O
unzip CloudWatchMonitoringScripts-1.2.1.zip
./mon-put-instance-data.pl --mem-avail
crontab -e
*/5 * * * * ~/aws-scripts-mon/mon-put-instance-data.pl --mem-avail
Other Videos By goto64 goto64
Other Statistics
Factorio Statistics For goto64 goto64
There are 20,815 views in 2 videos for Factorio. His channel published less than an hour of Factorio content, roughly 6.10% of the content that goto64 goto64 has uploaded to YouTube.