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

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

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

回答问题的准则

相关内容