Transit Gateway Metrics compared to bill

0

Hi. I am trying to establish monitoring for our high transit gateway cost and I can't seem to get them to agree. It looks like either the CloudWatch metrics for Transit Gateway are incorrect, or I am being highly overcharged for Transit Gateway usage. After doing some analysis on an hour of flow logs, I am thinking that the metrics are incorrect, or I am not understanding how to interpret them. I have tried to go over everything publicly available.

Please correct me if I am mistaken. It is my understanding that the transit gateway billing is based on the number of bytes that the gateway processes. This should be fully accountable by adding up all the TransitGateway/Per-TransitGateway Metrics/BytesIn metrics for all the transit gateways in my account. CloudWatch does not give units for this metric, so I am assuming that it reports the number of bytes in each minute sent to the TGW, since docs say that this metric is reported every minute. However, if I look at this number, taking an average value over weeks and extrapolate it out to a month, it is off by like a factor of 2000x from the number reported in my bill.

Can I get an explanation of how I can accurately break down and monitor my Transit Gateway traffic bill?

已提问 2 年前726 查看次数
2 回答
1
已接受的回答

Just to answer my own question here. I had two key misunderstandings that led to the confusion. (1) I misapplied how to use the TGW CloudWatch metrics. I had to use the SUM statistic to see all the BytesIn because there were so many samples per minute. (2) The TGW FlowLog reports double the number of bytes flowing through the TGW, because it reports one line for bytes into the TGW (ingress) and another line for bytes out of the TGW (egress). So if you just add up all the bytes blindly, you end up with double the bytes.

With these two concepts resolved, I was able to get my metrics and flowlogs to agree with my bill.

已回答 2 年前
0

Hi Randall,

For details on how Transit Gateway charges & an example of pricing, please take a look at the AWS Transit Gateway pricing page here:

https://aws.amazon.com/transit-gateway/pricing/

For further assistance with your billing and usage, I suggest opening a support case with our Accounts & Billing team. They are best tooled to assist with these matters & may be able to provide you with further guidance:

http://go.aws/support-center

Kind regards,

— Thomas E.

AWS
专家
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则