Network usage monitoring

160 views
Skip to first unread message

Zhi Yun Teo

unread,
Nov 1, 2017, 9:11:21 AM11/1/17
to gce-discussion
Hi guys,

Does anyone know how to monitor network usage (ingress and egress) for each of my instances in a project? 

Thanks in advance!

Taher (Cloud Platform Support)

unread,
Nov 1, 2017, 1:49:20 PM11/1/17
to gce-discussion

Hi,


While there is no direct way to view both ingress and egress network usage for each VM instance, you can use the ‘Network Traffic’ graph on each instance page in the Google Developers Console. You can set it to a time-frame of your choosing (1 hour to 30 days) in order to determine which VM is using how much bandwidth. I would also suggest using third-party tools to monitor the amount of traffic a specific instance transmits and receives, such as 'slurm' and 'vnstat'.


You can also use the StackDriver Monitoring tool to configure charts for your network usage of your instances. Moreover, this tool can also be used to create notifications for the instances if they reach a certain threshold for network inbound or outbound traffic by installing its agents. This way network usage monitoring can be achieved.

Reply all
Reply to author
Forward
0 new messages