2

Does boto3 make it possible to access EC2 CPU and Memory usage? I looked here, but couldn't find anything in the docs.

How do I programmatically check memory and CPU usage on an EC2 server running Windows 2012? (preferably with python)

nu everest
  • 907
  • 3
  • 13
  • 27

1 Answers1

2

You can use CloudWatch to monitor CPU usage, the Boto2 CloudWatch Description shows how to access the metrics.

For memory usage you need some kind of check or agent running inside the VM.

mschuett
  • 3,066
  • 20
  • 21
  • 1
    here are the boto3 cloudwatch docs http://boto3.readthedocs.org/en/latest/reference/services/cloudwatch.html – nu everest Mar 10 '16 at 17:59