I have an EC2 instance (r3.xlarge) with only MySQL running on it. At some points in time, this machine sends a sustained amount of information (at almost a rate of 400Mbps) for about an hour or more (in many cases), to another EC2 instance which is running Magento (c3.2xlarge).
This data transfer completely tanks the Magento EC2 machine bringing our website to an almost halt.
How can I diagnose what this data is?
Also, as per iptraf, the machine is only outputting only about 50 Mbps (I can't explain the discrepancy!)
EDIT1:
This is not a hacked / compromised server situation as the traffic is going to the web server itself. Very High Network out in ec2 instance
EDIT2
The difference in the data transfer speeds reported by iptraf and CloudWatch has been resolved. CloudWatch reports speeds per minute (as per email from AWS helpdesk inquiry), so:
As per CloudWatch,
we are consuming ~400 million (not mega) bytes per minute,
so 400/60 = 6.66 million bytes per second,
which is 6666 kilo bytes per second,
which at 8 bits per byte is: 53328 kilo bits per second.