VPC NetworkOUT metric on Cloudwatch

0

Hi, how can i monitor Network Out byte of my VPC ? is there a metric? If not, is possible to SUM NAT Network metric and Internet Gateway Netowork Out metric? But i not fount IG metrics.

已提問 1 年前檢視次數 566 次
1 個回答
0

There is no traffic metrics for internet gateway. You could use Cloudwatch metric math to sum all out-going traffic of your NAT gateways. This would be the same as traffic to internet IF you don't have anything but NAT GWs in your public subnets. It wouldn't include traffic out from other instances, load balancers etc from public subnets. If you absolutely must know traffic out to internet in near real-time you could enable VPC Flow Logs and then parse and sum lines where target is not within your VPC or any other internet networks. Without knowing the use-case this feels bit a bit overkill.

Ps. Cloudwatch metric math would allow you follow NAT utilisation and alert if your NAT gateway(s) are becoming a bottle-neck. Here is a Cloudnonaut's blog about monitoring NAT performance https://cloudonaut.io/nat-gateway-monitoring-with-cloudwatch-metrics-and-alarms/

profile picture
專家
Kallu
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南