Questions tagged [aws-nat-gateway]

75 questions
1
vote
1 answer

Nat Gateway data transfer cost analysis

As per AWS billing dashboard I see a higher cost as "EC2: NAT Gateway - Data Processed", is there a way I can get bottom to this, which instance or which user or which s3 bucket or which emr cluster?
1
vote
0 answers

VPC Flow Logs and Nat instance

I have the VPC with two subnets within it: Public subnet with Nat instance No incoming connections from the Internet are allowed. Private subnet with the Application server Route table for the private subnet uses eni of Nat instance for 0.0.0.0/0…
1
vote
1 answer

Do you need a NAT Gateway with a Private Application Load Balancer using Global Accelerator on AWS?

I would like to do this system: But I would also like to access the internet from the private servers, for example, for web crawling or third-party REST API access. How do I plugin the NAT gateway into this configuration? Do I need one? Where does…
Lance
  • 75,200
  • 93
  • 289
  • 503
1
vote
1 answer

AWS: Can two private subnets in two AZs share the same NAT gateway?

I have one private subnet and one public subnet in one availability zone, and the same two subnets in another zone. Can I create one NAT gateway in one public subnet, and create two route tables for the two private subnets, which both point to this…
user788454
0
votes
1 answer

Why can't my ecs task pull a container from the docker hub?

I am trying to deploy mlflow on ecs fargate using terraform. I am trying to set up a private subnet with a nat gateway, so that the ecs task will be able to pull the mlflow image from the docker hub. Here is my terraform: data "aws_region"…
Boris
  • 716
  • 1
  • 4
  • 25
0
votes
0 answers

How to remove an EIP with Terraform?

I deleted aws_eip resources and it's corresponding aws_nat_gateway allocation_id reference in terraform code. terraform plan correctly shows these resources being destroyed, however terraform apply results in the following error: │ Error:…
stantonk
  • 1,922
  • 1
  • 18
  • 24
0
votes
0 answers

I am getting almost 1.7gb of NAT gateway data transfer every hr in vpc flow logs for my EKS cluster how to track the pod?

I Have a simple eks cluster which is running 3 nodes and each node is in each AZ and every AZ has an availability zone. According to the application architecture no application communicates each other except to Radis cluster which is in different…
Naggappan Ramukannan
  • 2,564
  • 9
  • 36
  • 59
0
votes
0 answers

Network connectivity between AWS API Gateway and On-Prem data center and WebApp

I'm trying to come up with an AWS architecture that guarantees two secure connections: one between the API Gateway and the client's on-premises data center and the second one between the same API Gateway and a third party WebApp that lays on…
0
votes
2 answers

Cloudformation NATGateway replacement: traffic blocked from vpc

I am attempting to swap out a NATGateway instance in my Cloudformation Yaml script with a Nat instance AMI named Fck-Nat in order to reduce the (insane) cost from $40/m to around $4/m. My current VPC Diagram from the console The key difference: #…
0
votes
0 answers

how to calculate packet drop % for AWS NAT Gateway in New Relic

I'm trying to calculate the Packets Drop % in the new relic for AWS NAT Gateway I'm able found out that Drop Percentage = (Number of Dropped Packets / Number of Transmitted Packets) * 100 i have the attribute for Packet Drop but i'm not able to…
0
votes
1 answer

AWS ECS getting error while pulling images from ECR "ResourceInitializationError: unable to pull secrets or registry auth: "

I was creating an ECS environment for PHP Larval with 2 services one is hosted in a public zone and another in a private zone with nat gateways. To save some cost I have removed the nat gateways and moved the other docker to the public subnet. Now I…
0
votes
1 answer

Retrieve IDs in Terraform before script execution

I'm a freshman and I don't know if I have a general thinking error but how do I get around the issue that when I want to roll out a script that there are some IDs missing that I would only get with splitting my project. Right now I'm stuck at the…
0
votes
1 answer

How To Use AWS NAT Gateway IP Listing

I have a networking question that is hopefully not difficult to untangle (Cloud networking newbie here). Task My company uses a vendor for a UI interface and data storage, a 'managed cloud solution'. Basically, when our front line staff enter data…
0
votes
1 answer

How to lookup NAT Gateway by the tag name in AWS CDK

I am trying to whitelist the public IP of the NAT gateway that the VPC uses in the API Gateway resource policy of the lambda function. My AWS Account has a NAT Gateway which is already a part of the VPC. My main goal is to be able to get the public…
0
votes
1 answer

Analyze AWS NAT cost

I used the docs I found online to analyze the main contributors to the NAT gateway huge!!! cost. So I have now a list of IPs, but I can't determine to who each one belongs. I am using some 3rd party apps that might be related to the IPs, but I am…
Ben Hoffman
  • 117
  • 1
  • 2
  • 9