How to reduce "Data Processed by NAT Gateways" charges?

0

Hello, Need help to understand what "Data Processed by NAT Gateways"? Currently bill amount is too high due to this charge and hence need help to reduce that cost. Can this be reduced by moving natgateway in same subnet (AZ) that of ec2 which is sending data to natgateway? If yes, how much approx. % of saving I can achieve in the billing.

질문됨 2년 전3226회 조회
1개 답변
1

Hello Sushant,

First, determine the major sources of traffic through your NAT gateway. Then, consider the following strategies for reducing data transfer and processing charges.

  • Determine whether the instances sending the most traffic are in the same Availability Zone as the NAT gateway. If they're not, create new NAT gateways in the same Availability Zone as the resource to reduce cross-AZ data transfer charges.

  • Determine whether the majority of your NAT gateway charges are from traffic to Amazon Simple Storage Service (S3) or Amazon DynamoDB in the same Region. If they are, set up a gateway VPC endpoint. Route traffic to and from the AWS resource through the gateway VPC endpoint, rather than through the NAT gateway. There's no data processing or hourly charges for using gateway VPC endpoints.

  • If most traffic through your NAT gateway is to AWS services that support interface VPC endpoints, then create an interface VPC endpoint for the services. See pricing details for interface VPC endpoints to determine the potential cost savings.

  • If most of your internet traffic is destined to non-AWS resources, consider using an internet gateway for instances generating the highest traffic. Unlike NAT gateways, internet gateways give your instances direct internet access at no cost. Security groups and network access control lists can be configured to prevent unauthorized access to instances, depending on your security policies. For connectivity through internet gateways, instances must be in a public subnet and have a public IP or Elastic IP address associated with its network interface.

Note: You can set up alarms to monitor use of your NAT gateway in the future using Amazon CloudWatch.

Reference

profile pictureAWS
전문가
답변함 2년 전
  • Thanks Tushar for the quick response. Could you please let me know how much saving (approx.) can be achieved if I deploy new Natgateway in same AZ that of ec2? Also, what components/charges are included under "Data Processed by NAT Gateways"?

  • See more info at think like: https://aws.amazon.com/vpc/pricing/ (Check the NAT Gateway Pricing section)

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠