Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [amazon-nat-gateway]

The tag has no usage guidance.

2
votes
1answer
122 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 ...
2
votes
2answers
74 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 ...
10
votes
1answer
761 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?
1
vote
1answer
558 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 ...
0
votes
2answers
1k 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 ...
2
votes
1answer
151 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 ...
0
votes
1answer
1k views

AWS - How to setup a static ip address for outgoing traffic

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. ...
0
votes
1answer
644 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 ...
0
votes
2answers
484 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 ...
1
vote
1answer
2k 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 ...
1
vote
2answers
881 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 ...
1
vote
0answers
308 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 ...
1
vote
3answers
1k 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 ...
0
votes
1answer
3k 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-...