Questions tagged [amazon-nat-gateway]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
179 views

Routing outbound traffic through multiples NAT Gateways with a single static IP address

I have an ask from an external customer that is whitelisting our NAT gateways to access their systems and their vendors systems. They said some of their vendors limit the amount of IPs they can ...
Jonathan Palumbo's user avatar
0 votes
0 answers
206 views

How to remove headers from all outgoing requests in AWS services (e.g. Lambda)

Just wondering, is there a way to remove a header from all outgoing network requests in AWS? I have a VPC with public and private subnets and a NAT gateway in the public subnet. A Lambda in this VPC ...
nerdlinger's user avatar
0 votes
0 answers
106 views

How to discover what service is hitting NAT Gateway having only a bunch of IPs as clue?

The usage of NAT Gateway skyrocketed since last week. I was tasked to find the root cause of this since the AWS bill is considerably high now. My first action was to ask people. No one is aware about ...
Keoma Borges's user avatar
0 votes
1 answer
489 views

Seamless switch from NAT GATEWAY to VPC gateway

My team is currently burdened by the NAT Gateway costs and we would like to switch over to VPC Gateway endpoint to reduce the costs associated with all the EC2-S3 communication. at the same time, We ...
santhu's user avatar
  • 1
0 votes
1 answer
305 views

NAT Gateway breaks incoming traffic for instances in public subnet

I have Elastic Beanstalk instances accessible through an ALB in public subnets and want to assign them a single IP address (A partner asked us for an IP to whitelist to access their services) I have ...
BlackDog's user avatar
  • 121
0 votes
1 answer
1k views

How to get a static IP address for outbound requests in AWS?

We are in an integration process and the company is asking for whitelisted static IP addresses. The suggested solution by AWS is to create new ECS that uses new subnets. Is it possible to change ...
Buse B.'s user avatar
1 vote
0 answers
692 views

How can i route pods in a EKS cluster to a specific NAT Gateway within the same subnet

Am running an EKS cluster deployed on a node (in public subnet) with two namespaces, one pod running in each of the namespaces. I have created two NAT gateways on the same subnet. I would like to ...
Karthik Balasubramanian's user avatar
1 vote
1 answer
1k views

AWS - Can a Private Subnet reach the Internet only with NAT without Internet Gateway

Question It is possible to access the Internet from a private subnet only with NAT without an Internet Gateway associate with its VPC? Background VPC with public and private subnets (NAT) says below. ...
mon's user avatar
  • 265
3 votes
2 answers
2k views

AWS VPC: Internet Gateway vs NAT

This and this and this are quite related to my question. Although it seems to have answered quite a lot of people's doubts, I am still struggling to understand if this setup is specific to AWS or in ...
Sheel Pancholi's user avatar
4 votes
2 answers
3k views

AWS Nat Gateway - Using a non Elastic IP address

I'm building an AWS VPC network lab via Terraform. I want to add a NAT Gateway in order that my private network instances could access the internet for software updates. From the Terraform spec you ...
Rotem jackoby's user avatar
13 votes
1 answer
3k views

AWS NAT vs AWS IGW vs AWS Router

As per this answer, router and gateway are same devices, in terms of functionality. In AWS world, we have internet gateway, NAT gateway and router Are these three not the same?
user1787812's user avatar
11 votes
1 answer
11k views

Does RDS in private subnet inside AWS VPC need a NAT instance/gateway?

I have hosted an AWS RDS inside the private subnet of the VPC. While creating the VPC with public and private subnets, I had to create a NAT instance. I know NAT instance is mainly for private ...
Neron Joseph's user avatar
6 votes
2 answers
10k views

AWS: reduce nat gateway costs for a small system

I am setting up infrastructure for a startup which pretty much will not have a lot of traffic, but should be able to scale when needed. We are favouring a setup with a LB, that distributes traffic ...
st-h's user avatar
  • 257
2 votes
1 answer
2k views

NAT gateway for ec2 instances

I have a public subnet with ec2 instnaces. The route table has 0.0.0.0/0 IGW (Internet Gateway) as default. I tested adding a public IP address to my instance (104.27.142.41/32 as reported by curl ...
tk0221's user avatar
  • 123
0 votes
1 answer
4k views

How to setup a static ip address for outgoing traffic in AWS?

I have a number of EC2 instances in 3 availability zones. The application that I'm running on these instances are communicating with multiple third party applications that have a whitelist mechanism. ...
Kevin's user avatar
  • 123
1 vote
1 answer
5k views

Can't get CloudFormation AutoScalingGroup to work

I'm trying to create an AutoScalingGroup for EC2. I keep getting the following error: Received 0 SUCCESS signal(s) out of 1. Unable to satisfy 100% MinSuccessfulInstancesPercent requirement The ...
JohnPortland's user avatar
0 votes
2 answers
2k views

NAT gateway set up doesn't work

I have implemented an environment for a Wordpress website. I have a loadbalncer (ALB) that is connected to an EC2 server plus an AutoScaling group(for failover). As we need to update Wordpress and ...
Matrix's user avatar
  • 261
1 vote
1 answer
3k views

how to test if aws nat gateway static ip is up?

I started two EC2 instances in an Elastic Beanstalk autoscaling group in a VPC. The app on these EC2 instances needs to connect to a third party service that uses an IP address whitelist to allow ...
Magno Ferreira's user avatar
2 votes
2 answers
2k views

Source CIDR/IP/Security group setup in Security Groups Inbound Rules

I want to set up security group for an ec2 instance(Linux). There are services running on it like mem cached, python, dhclient, nodejs etc. How do i know which IP/CIDR-block should my server be ...
Aso'K's user avatar
  • 21
1 vote
0 answers
395 views

Migrating from NAT instance to NAT Gateway fails on existing instances

I have a VPC that I created a long time ago before NAT gateways were a thing. Like many setups I created a NAT instance to route outbound traffic. Yesterday my NAT instance crashed. I was able to ...
Cfreak's user avatar
  • 125
1 vote
3 answers
2k views

Instance in private AWS subnet with NAT gateway can't access AWS services

We have an instance within a private subnet that has a managed NAT gateway. On that instance, we are able to access the internet: $ curl https://www.google.com/ <!doctype html><html ...
JustinHK's user avatar
  • 131
3 votes
1 answer
7k views

Using AWS Nat Gateway from diferrent VPC across VPC peering

I would like to use Nat Gateway (not Nat Instance on EC2!) from another VPC to route my traffic from peered VPCs to the Internet. My infrastructure looks like this: /---------------------VPC-LIVECHAT-...
Ondra Sniper Flidr's user avatar