76 questions
0 votes
1 answer
32 views
AWS-Cloudformation: Ipv6 EC2 Route in a Private Nat Subnet - Provide one of DestinationCidrBlock or DestinationIpv6CidrBlock and a valid routeTableId
I am currently creating a network infrastructure within my vpc, that has private subnets and has a NAT gateway. I have a Route Table that has the private subnets associated to it and I intend to have ...
2 votes
1 answer
130 views
App Runner connected with NAT Gateway won't use a static IP
I would like to attach an elastic IP to an App runner instance. By following the AWS instructions, I first configured the VPC: VPC Created a new VPC with a NAT gateway enabled on both private subnets ...
0 votes
1 answer
68 views
Why can I set a default route to a nat gateway from a private subnet if this nat gateway is NOT in this private subnet? [closed]
I have an EC2 instance in a private subnet, in this private subnet I can configure a default route to a nat gateway to go out to internet and reach an smtp Server. The nat gateway is in a public ...
1 vote
0 answers
71 views
Redis Backup Cron Job in EKS is Causing High NAT Gateway Costs in AWS
I’ve noticed unexpectedly high costs in our AWS bill, specifically from NAT Gateway data transfer charges. After investigating, it seems the Redis backup Cron Jobs are the primary cause. Here’s the ...
0 votes
1 answer
404 views
Issue Accessing ECS Service with Static IP (NAT Gateway and Load Balancer)
I’m experiencing a problem with an AWS ECS service and need some help. Scenario: ECS Service: I have set up an ECS service that is configured with a Load Balancer. Subnets: I have defined two subnets ...
0 votes
1 answer
362 views
How to access resources in a private EC2 instance via ELB?
I have an example diagram below, and a scenario. Suppose I deployed and ran a web server (with NodeJS) in both EC2 instances and used load balancing for requests distribution. EBS is used to store ...
0 votes
1 answer
230 views
Can we use single NAT gateway for inbound access to RDS and Opensearch resources in private subnet?
we have multiple resources like RDS Aurora and Opernsearch service nodes in private subnet of VPC. We would like to have access to those resources from internet. Is it possible to use single NAT ...
0 votes
0 answers
73 views
How to access resources in private subnets of one vpc to another peered vpc?
I have two VPCs A and B. VPC A has 3 public and 3 private subnets. My eks cluster is deployed in 3 public subnets of VPC A (due to lack of IP addresses in public subnets there is a secondary CIDR as a ...
0 votes
1 answer
57 views
Allow lambda internet connection inside VPC
I have one lambda inside a VPC. It has 2 subnets (A & B). I need to call an external api inside the lambda. I've been reading about NatGatway and RouteTables but I'm not able to provide internet ...
0 votes
1 answer
162 views
Is it possible to SSH OUT from a Nat Gatewy to a public server
I can't get this to work with AWS and Nat Gateway. I am able to SSH in to to the Private instance (Through Bastion), but I am not able to ssh out from a private instance to a public server that is not ...
-1 votes
1 answer
522 views
Is it possible to to configure NAT Gateway without using Internet Gateway with Terraform
This is my code: Is it possible to to configure NAT Gateway without using Internet Gateway with Terraform? The code which I wrote for deploying the cod with terraform but I keep getting this issue: ...
0 votes
1 answer
381 views
Secure way to deploy production level plotly-dash apps in aws ec2 instance
I am trying to deploy a simple internal plotly-dash webapp with very low traffic, (5-10 user, approx 2 hours usage/day), but it needs to be highly secure. How do I secure the app to white list certain ...
0 votes
1 answer
300 views
AWS CDK: Reuse NAT-Gateway and App Load Balancer (ALB) to reduce cost
I am new in AWS with CDK and trying to reduce cost in NAT-Gateway and ALB. I have a stack for every client within NAT-Gateway, ALB, EC2, EFS and so on. If I have 3 clients I will end with 3 NAT-...
0 votes
1 answer
603 views
Why can't my ecs task pull a container from the docker hub?
I am trying to deploy mlflow on ecs fargate using terraform. I am trying to set up a private subnet with a nat gateway, so that the ecs task will be able to pull the mlflow image from the docker hub. ...
1 vote
2 answers
359 views
Cloudformation NATGateway replacement: traffic blocked from vpc
I am attempting to swap out a NATGateway instance in my Cloudformation Yaml script with a Nat instance AMI named Fck-Nat in order to reduce the (insane) cost from $40/m to around $4/m. My current VPC ...