Reduces your NAT-traffic bill with Amazon VPC Endpoint (AWS PrivateLink) between AWS services and private VPC in AWS CDK — Infrastructure as Code (IaC)

If you are using a private VPC Network when you are with subnet type PRIVATE_WITH_NAT should know you are paying 0.09$ in Frankfurt (eu-central-1) data center for every 1GB of traffic, it's not sound too much but it's good to know when you are working in a private VPC Network and not public VPC Network it means you will isolate your security group from the free data transfer for other AWS services to, it's mean if you are using S3 or ECR with files you will now pay 0.09$ for every 1GB you transfer around in your region network. If you choose to create a service endpoint for your VPC Endpoint (AWS PrivateLink) it will reduce your network traffic down to 0.01$ so your NAT-traffic bill will be around 1/9 part of the normal cost.

But not everything is rose-red on AWS so be careful here, every VPC Endpoint you create will cost you around 9–10$ for each zone in a region, so are you placing your Endpoint in 3 zones for a single region you will pay around 30$ just for your VPC Endpoint (AWS PrivateLink) but if you have enough traffic for a single service it's a great way to save your money and reduces the cost of your total NAT-traffic bill.

--

--

Paris Nakita Kejser
DevOps Engineer, Software Architect and Software Developering

DevOps Engineer, Software Architect, Software Developer, Data Scientist and identify me as a non-binary person.