AWS - Monitoring memory usage (Factorio example)

Опубликовано: 16 Июнь 2026
на канале: goto64 goto64
13,638
50

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:    • Setting up a Factorio Server on Amazon Cloud  

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/lat...


Commands used:
sudo yum install perl-Switch perl-DateTime perl-Sys-Syslog perl-LWP-Protocol-https

curl http://aws-cloudwatch.s3.amazonaws.co... -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