Questions tagged [aws-nat-gateway]

75 questions
0
votes
0 answers

Elasticbeanstalk endpoint can't be hit, project was deployed inside a NAT gateway

I just configure a NAT gateway for my elastic beanstalk, when i curl my port 80 from the localhost it works fine but when i try to access my elasticbeanstalk public endpoint i didn't get nothing from it, it just says "this site can't be…
0
votes
0 answers

How to log egress NAT Gateway HTTP traffic on AWS

I am kinda new to Operations. We are currently able to log outgoing TCP connections initiated by Lambda functions passing through a NAT Gateway. However, we require to be able to log outbound HTTP traffic as well. Since, according to my…
0
votes
0 answers

Can we configure the cluster to only send HTTP and HTTPS traffic via the NAT GW?

I've just started learning about how a GCP cluster sends traffic, it's still a little abstract, and I've not seen a lot of resources online that help to understand it. However, I'm considering deploying a cloud NAT in one of the cluster's regions,…
mia
  • 3
  • 1
  • 3
0
votes
0 answers

Invoke a ecs task in a private subnet

I have a VPC that has one public subnet and one private subnet. There is a Nat Gateway on the public subnet with all the private subnet traffic to it, so I have internet access on the private subnet. I have an ECS task that has to run in the private…
0
votes
1 answer

unable to create NAT Gateway for eks worker nodes

I deployed eks-cluster with two nodes in the same subnet. kubectl get nodes NAME STATUS ROLES AGE VERSION ip-172-31-xx-xx.xx-xx-xx.compute.internal Ready 6h31m …
user3398900
  • 795
  • 2
  • 13
  • 31
0
votes
1 answer

how to create private VPC, but needs to be IP whitelisted (nat gateway?) and reduce S3/ECR cost (VPC endpoint?)

this may be a simple question for someone, but im just not able to figure it out. I need to have a private VPC (for audit+compliance reasons). I connect to a few external services for which i need a common whitelisted IP address. This is only for…
0
votes
0 answers

Template error: instance of Fn::GetAtt references undefined resource ElasticIPAddress(AWS CLoudformation)

I am trying to deploy VPC, subnets etc but I am getting the above error. I am not sure why I am getting this error. Here is the part of the template(yml) file where I am getting this error. NATGateway: Type: AWS::EC2::NatGateway …
0
votes
0 answers

Django App Cloudformation YAML Stack - Nginx isn't reaching Django - Securitygroups conf without NAT

Having no background with aws/devops and after a lot of efforts and trial/error I succeeded building the here bellow stack for my django app: The stack relies heavily on celery which consumes a lot of tasks so I migrated to sqs for cost reasons…
0
votes
1 answer

Understanding NAT Gateway traffic flow for Lambda for cost purposes

My current architecture includes a Lambda function in a private subnet that basically needs to access the internet to fetch weather data. I have set up a NAT gateway to allow the Lambda function to access the internet. What I am confused about is…
user782400
  • 1,617
  • 7
  • 30
  • 51
0
votes
1 answer

Should we use custom NACL with rules on Port Numbers, if we have a NAT gateway attached to public subnet

Suppose we have a basic architecture, where we have VPC with two subnets(One private and one public). The private subnet is connected to internet with a NAT gateway residing in Public Subnet.(As shown in below image) Now suppose we implement a…
0
votes
1 answer

Dropbox API integration on AWS Lambda gets FetchError (ETIMEDOUT)

I have a node.js app which runs on AWS Lambda. The Lambda is connected with a VPC. It goes internet with a static IP. I use v10.23.0 dropbox-sdk-js. It always seems to run on my local but it sometimes runs on the lambda, sometimes gets fetch…
0
votes
1 answer

Terraform nat gateway AWS

I am trying to create nat gateway from terraform by using AWS as provider but subnet_id in resource aws_nat_gateway always gives me error. I am trying to assign public subnet in subnet_id on resource "aws_nat_gateway" "sample_nat_gateway" from…
0
votes
1 answer

AWS LoadBalancer access from EKS worker nodes in provate subnets

I have an EKS cluster with worker nodes in private subnet. The worker nodes can access internet via the nat gateway. I have a Route53 hosted zone record routing traffic (alias) to a load balancer. When I try to access the url (route53 record) from a…
0
votes
2 answers

AWS NAT gateway

https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html aws document says - Public – (Default) Instances in private subnets can connect to the internet through a public NAT gateway, but cannot receive unsolicited inbound connections…
0
votes
0 answers

AWS NAT Gateway: What AWS VPC endpoints I need?

We have an VPC with 3 public subnets and 3 private subnets. Public subnets reach Internet across an Internet Gateway. Private subnets reach Internet across its own NAT Gateway (One for each). After created a couple of batch compute environments and…