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ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ