Helping to reduce the fee of NAT gateway

0

I don't know that NAT gateway has the fee to use. I left it more than 4 days and focus to my other thing in AWS. Could you guy help me how or who can help me to cut this bill? I only have NAT gateway fee.

Thank you so much for your help

David
已提問 4 個月前檢視次數 298 次
3 個答案
1
已接受的答案

If you just want temporarly "disable" your NAT when not using your account, this thread might be useful. As bonus it would introduce you to Cloudformation ;-)

https://repost.aws/questions/QU0xOR_N0rSOaCNbF6zvxLYw/can-aws-nat-gateways-and-elastic-load-balancers-be-temporarily-paused#ANgPJ0RHnAShq_Qbqx1dThWw

Here is a sample of Cloudformation template for single AZ VPC with option to enable/disable NAT gateway with stack parameter updates. If you are going to use this for production, I'd recommend expanding it to cover 2 or 3 AZs. https://github.com/kallu/aws-templates/blob/master/misc/nat.yaml

profile picture
專家
Kallu
已回答 4 個月前
profile picture
專家
已審閱 4 天前
0

You get charged per NAT gateway and per GB transferred through it.

If you don’t need it then remove it. Afraid most services in AWS you have to pay for them.

profile picture
專家
已回答 4 個月前
  • Thank you so much for your information. However, I'm a student and I'm trying to study for preparing the Developer Associate certificate, I'm newbie for using the AWS environment, I don't use it for production or any commercial. I just read really quick the I have free tier for 1 year so I keep the EC2 and NAT gateway be there as convenience for next time studying. I'm studying it and I got mistake for this one. Could you do something to help me about this case? I appreciate you.

0

Hi David. If you have workloads that are in private subnets and require egress/outbound connection to the internet (e.g. to call a rest API exposed in the internet), you don't have a choice.

But if you use for instance lambda functions and don't put them in vpc, you get egress/outbound internet traffic for free.

I'd suggest reading this to understand alternatives for NAT gateway: https://repost.aws/knowledge-center/vpc-reduce-nat-gateway-transfer-costs.

Finally, if you incurred costs that you want to get rid of for this time, you can submit a support ticket and explain the situation (you are a student, etc..). Typically was helps out and remves the invoice fircs ch small cases, at least the furstcyime you do them ;)

profile picture
專家
已回答 4 個月前

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

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

回答問題指南