# Different traffic limits per VM or user

**URL:** <https://forum.opennebula.io/t/different-traffic-limits-per-vm-or-user/7596>\
**Category:** Installation & Configuration\
**Created:** [August 24, 2019, 12:17pm UTC](https://forum.opennebula.io/t/different-traffic-limits-per-vm-or-user/7596 "2019-08-24T12:17:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wt75](https://avatars.discourse-cdn.com/v4/letter/w/ecc23a/32.png) [@wt75](https://forum.opennebula.io/u/wt75)\
**Post date:** [August 24, 2019, 12:17pm UTC](https://forum.opennebula.io/t/different-traffic-limits-per-vm-or-user/7596/1 "2019-08-24T12:17:53Z")

</div>

Hi,

Can VMs (or interfaces) be limited/capped in OpenNebula?  
Say I would like to set a VM limit to 10TB/month  
or user’s all VMs limit to 20TB/month

I only found a way to summarize traffic roughly via command line:  
oneacct -u 2 -s 08/01 -e 09/01 | a\_summarize.sh  
A cron job could run it daily and for example suspend VM that reached its limits (saved in a separate file) but this will be quite external approach.

Is there anyone who uses monthly traffic limits and can sketch his implementation?

Again, I do not want to set speed limit or burst on an interface - this is not QoS. Just a monthly total traffic limit (incoming + outgoing).

BTW there are nice graphs for resource usage of CPU, disk space, RAM usage in User- Settings - Accounting but not for Network usage.

Thank you

---

<div class="post-metadata">

**Author:** ![darkfritz2](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/darkfritz2/32/6494_2.png) [@darkfritz2](https://forum.opennebula.io/u/darkfritz2)\
**Post date:** [October 25, 2020, 2:36pm UTC](https://forum.opennebula.io/t/different-traffic-limits-per-vm-or-user/7596/2 "2020-10-25T14:36:24Z")

</div>

hello,

did you find the answer for this? i’m curious as well.
