- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
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 ;-)
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
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.
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 ;)
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor einem Jahr
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.