Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a use case that I need to limit the maximum data out transfer of an instance in MONTHLY basis. Let say i wish to limit it to 3T. It looks like that the current cloudwatch alarm can only monitor the aggregated SUM of data out transfer but it cannot reset the alarm in a periodic basis.

Is there any tools that could help me to do so?

Thank you.

share|improve this question

1 Answer 1

up vote 0 down vote accepted

iftop can be of use here. I was doing something similar a couple of months back, but needed to gauge the amount of data being transfered. Running iftop (like top but for network connections) in a screen session will show the total amount of data transmitted since you ran iftop.

Failing that, you could use tcpdump (assuming your external traffic is going somewhere specific)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.