내용으로 건너뛰기

Billings: how to calculate real NATGateway costs!?

0

Last month we had

EUC1-NatGateway-Hours	$223.50
EUC1-NatGateway-Bytes	$0.00

We have only 3 NatGateway, with public ip.

Using pricing calculator

730 hours in a month x 0,052 USD = 37,96 USD (Gateway usage hourly cost)
3 NAT Gateways x 37,96 USD = 113,88 USD (Total NAT Gateway usage and data processing cost)
Total NAT Gateway usage and data processing cost (mensile): 113.88 USD

What grows the cost up to $223.50 !?

Please note a (sad and bad thing): as you can see from the 'EUC1-NatGateway-Bytes' item, we are absolutely NOT using them at all.

3개 답변
2

Hi realtebo,

Please look at this solution it will be helpful for you. The cost of NAT Gateways typically consists of two components: hourly usage and data processing. Since you're not seeing any usage in terms of data processing, it's strange that you're being billed for it.

here are you follow two steps:-

Hourly Usage Cost: Multiply the number of hours the NAT Gateway is active in a month by the hourly rate. In your case, it seems you correctly calculated this part.

Data Processing Cost: This cost is based on the amount of data processed through the NAT Gateway. Since you're not using any data processing, this cost should ideally be $0

Could you please look at this link https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-pricing

전문가
답변함 2년 전
전문가
검토됨 일 년 전
1

Your calculation seems correct for EU-Central-1. If this is the cost you are seeing on your bill, I'd advise you to reach out to AWS Billing team seeking for clarification.

Also, in the meantime, go to Cost Explorer and see what you find there

  1. Go to Cost Explorer

  2. Choose Dimension as Usage Type

  3. Select Service as EC2-Other

  4. Apply filter Usage Type and select NatGateway-Bytes (GB) and NatGateway-Hours (Hrs)

See, what this shows for that same time period.

AWS billing team would definitely be able to lookup your account and provide clarification on breakage.

Additional Reference: NAT Gateway Pricing

Comment here if you have additional questions, happy to assist.

AWS
전문가
답변함 2년 전
1

You calculation is correct. I suspect you may have more than 3 NAT Gateways in EUC1 region. If that's not the case, I would suggest:

  1. Please open a Billing support case who will be able to help you understand how $223.50 is calculated.
  2. Use Cost Explorer to verify "EC2: NAT Gateway - Running Hours". See below screenshot

Enter image description here

  1. You can also query the CUR file using Athena to get the Resource ID of the NAT Gateways that are incurring charges.

SELECT payer as "Payer", line_item_usage_account_id as "Account ID", product_region as "region", line_item_usage_type, line_item_resource_id, DATE_FORMAT(line_item_usage_start_date,'%Y-%m') AS year_month_line_item_usage_start_date, sum(line_item_usage_amount) as "Usage Amount" sum (line_item_unblended_cost) as "Cost" FROM -- ${table_name} -- Replace ${table_name} with your customer's CUR table, for example: customer_all WHERE "line_item_usage_type" like '%NatGateway-Hour%' AND line_item_resource_id like '%:natgateway/%' AND line_item_line_item_type = 'Usage' GROUP BY payer, line_item_usage_account_id, product_region, line_item_usage_type, line_item_resource_id DATE_FORMAT(line_item_usage_start_date, '%Y-%m')

AWS
전문가
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

관련 콘텐츠