Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AWS EC2: how to get a data transfer breakdown per instance

I have an AWS account with some small instances on it. Is there a way to see the amount of data which has been transfetered (in/out) per instance?

Thanks Dmi

like image 625
KennyPowers Avatar asked Oct 10 '22 03:10

KennyPowers


1 Answers

If the instances are still running, you can do this using the free basic monitoring that Amazon provides via CloudWatch.

For Amazon EC2 instances, Amazon CloudWatch Basic Monitoring collects and reports metrics for CPU utilization, data transfer, and disk usage activity from each Amazon EC2 instance at a five-minute frequency.

To access the monitor data for an EC2 instance, select it in the AWS Management Console and click the "Monitoring" tab in the lower panel. You can click any of the charts (e.g. "Max Network In") to get a larger version, with some drop-downs to control the time window.

Note that the data is only kept for two weeks.

like image 146
Matt Solnit Avatar answered Oct 13 '22 12:10

Matt Solnit