Questions tagged [aws-nat-gateway]
75 questions
0
votes
0 answers
Forward HTTP request to an external server, using static IP - AWS
I'm trying to forward a HTTP request to an external server using API Gateway. This external server is whitelisting IPs, such as the one allocated to a NAT Gateway we have.
If I just create an API Gateway HTTP, it wil work the way I want, but it will…
0
votes
1 answer
Problem with accessing ASG in private subnet from elb
i have the 502 error in the ALB.
my vpc and routes.
resource "aws_vpc" "My_VPC" {
cidr_block = "${var.vpcCIDRblock}"
instance_tenancy = "${var.instanceTenancy}"
enable_dns_support = "true"
enable_dns_hostnames = "true"
tags…

Артем Черемісін
- 133
- 1
- 8
0
votes
2 answers
Can we make EC2 instances in the web tier as Private?
We have Typical 3 tier architecture having Web, App and DB.
Can we make EC2 instances in the web tier as Private? and allow incoming traffic only through ALB?
AFAIK we can apply an SG only allowing connections from the SG of the ALB. But What if our…

implosivesilence
- 536
- 10
- 24
0
votes
1 answer
AWS EC2 instance in private subnet unable to connect to internet via NAT gateway
I have two EC2 instances, one on public subnet(10.1.1.0/24) and one on private subnet (10.1.2.0/24)
EC2 instance in public subnet works fine with internet connectivity and configured services.
There is a NAT Gateway configured in the public subnet…

learner2606
- 1
- 2
0
votes
1 answer
How to create a NAT Gateway in AWS?
So I should create (ideally) 1 NAT Gateway per AZ, associated with a private subnet in each. The NAT Gateway takes an allocation_id:
The allocation ID of an Elastic IP address to associate with the NAT gateway. If the Elastic IP address is…

Lance
- 75,200
- 93
- 289
- 503
0
votes
2 answers
Connecting AWS NAT GW to the web
I am currently using IGW in AWS is order to connect flask ec2s to outer api requests.
I want to secure those servers from now on,
meaning - moving them into private ip ec2s and still getting api requests from outside.
I have tried using nat gw in…

Yuval Ezrati
- 61
- 13
0
votes
1 answer
NAT gateway for two AZones in one Region
I have 2 servers in different AZones in one region, they make an outgoing connections to my clients. Right now each server have it own Elastic IP, and an IP address from internal subnet for each AZ. (First AZ - 172.30.0.0/20, Second AZ -…

Zoe Keeper
- 31
- 1
- 5
0
votes
1 answer
How to user vpc endpoint for ELB?
I would like to create a lambda(vpc) which would access resources in vpc and make a request to services(REST API) via public application load balancer. I found out that vpc end point is better solution than creating a nat gateway.
I have created a…

hridayesh
- 1,123
- 1
- 14
- 36
-1
votes
0 answers
hosting internal application on AWS
I want to host my internal application on AWS. This application will be used by company internal users over private network. what all components are required to design this architecture? Any reference architecture?
->I am considering using a…

Pratik Mehta
- 1,310
- 4
- 15
- 37
-1
votes
1 answer
should i remove nat gateway after installing database in private subnet?
I am using aws private subnet for hosting database. I have NAT gateway attached to my private route table.It seems very costly.
I don't use NAT gateway for other reason. Should I remove & delete the NAT gateway from my private route table after…

John
- 2,633
- 4
- 19
- 34
-1
votes
1 answer
How to send data from AWS Lambda with VPN
I have an AWS lambda function that sends data to server outside of AWS.
The server will start to work with VPN, so I need to define a VPN client in my AWS account.
Is it possible to make my AWS Lambda to work with VPN?
If not, what is the best and…

Yagel
- 31
- 1
- 4
-1
votes
1 answer
Publicly accessible RDS and Lambda with Internet access
I have a lambda function that needs to access RDS and the internet. Everything out there points to having to set up a NAT gateway; the RDS in question is publicly accessible, the lambda is able to connect to it if I allow connections to the RDS from…

d0001
- 2,162
- 3
- 20
- 46
-1
votes
1 answer
AWS - Sending traffic for internet via NAT Gateway and for private to another VPC
I am in the Situation here where I have to connect public API using 1 IP (Whitelisting issue) thru my various dockers, hence using NAT Gateway. At the same time, Docker also needs to connect to RDS (from another VPC) and do some read/write.
How do…

neerajmalve
- 11
- 2
-2
votes
1 answer
What is the difference between using a load balancer and a NAT Gateway on AWS?
I am starting in the cloud world, so I am studying for the AWS Solutions Architect Associate certification, where I had the following question about the Networking 1 module.
What is the difference between implementing an Elastic Load Balancing and a…

Cristian2500
- 1
- 2
-2
votes
1 answer
Use EC2 server as Nat gateway
Should we use an really small ec2 server as nat gateway? We want to use Amazon ElastiCache Memcached and it will be inside vpc, will ec2 server be cheaper as nat gateway?

Sameed Usmani
- 31
- 7