Skip to main content

All Questions

0 votes
0 answers
352 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
1 answer
639 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
375 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
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
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
12k 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
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
1 vote
0 answers
406 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