Questions tagged [private-subnet]

Use this tag for questions related to private subnets, i.e. subnets of a private network. A subnet is a part of a greater network/net.

This tag is used for questions related to the subnets of a (virtual) private network.

For example, one could use this tag when posting a question related to how his subnet can have Internet access.

129 questions
1
vote
1 answer

ELB failure - Multiple subnets in one AZ

We are trying to create a Network Load Balancer through cloudformation in the private subnet and we have 6 private subnets - 2 in each availability zone. Currently we pass in the SubnetIDs manually by picking one subnet in each AZ as…
1
vote
1 answer

In AWS, what is the use case of having 2 or more CIDR blocks for a single VPC?

In AWS, generally a VPC is created with one CIDR block followed by creating multiple subnets that are subsets of VPC CIDR block. However, what would be the use case to create 2 or more CIDR blocks for a single VPC? Is it to allocate more space in…
1
vote
2 answers

I want to create Public and Private Subnet in GCP using terraform

I created a VPC in GCP using Terraform, Now I want to add two subnets Public and private. while creating the VM'S. if I passed the public subnet the VM should get public IP & if I passed private subnet the VM should get an only private internal IP…
1
vote
1 answer

Access cross region s3 endpoint through private subnet

I have an EMR which is spinning up in eu-west-1 private subnet. I have defined a gateway endpoint for S3 in the route table. I have to access this public bucket/location exposed by AWS:…
ishan3243
  • 1,870
  • 4
  • 30
  • 49
1
vote
1 answer

How to make EC2 instance in private subnet accessible from the internet? (as in being able to visit the website)

I know that one way is to use a load balancer in a public subnet, but for a development server we wouldn't need a load balancer. Is there an alternative option that would allow an application in a private subnet to be reachable from the internet? If…
1
vote
1 answer

Gmail SMTP timeout on 587 port, EC2 in private subnet

I have a few ec2 instances running in private subnet, one of them needs to use SMTP to send emails over 587 port, since the EC2 is in a private subnet I think im getting a timeout over the port, Is there anyway to fix this
1
vote
1 answer

HA for NAT / Internet gateways in Elastic Beanstalk environment with multiple AZ/subnets

I have a question regarding NAT gateways and internet ones tied to elastic beanstalk. My config is the following: 3 public subnets in different AZ's 1 Route table with the 3 public subnets and an internet gateway 3 private subnets in different…
1
vote
0 answers

Aws git access/curl issue

I am having something strange using AWS subnet with ubuntu instances. I have create the public/private subnet schema with one ubuntu instance on the private one. Everything is working smoothly, I can git clone, curl... However when creating any…
1
vote
2 answers

What are the reasons to use private subnet in aws vpc?

I am trying to evaluate private and public subnets while creating a new VPC. Is seclusion from inbound traffic from internet the only reason to go ahead with a private subnet? These points also need to be taken into account when considering the…
shshnk
  • 1,621
  • 14
  • 26
1
vote
0 answers

How to access the docker-container-ip:docker-container-port from outside network

I'm running docker setup in following way 1) On windows running the vagrant script to install ubuntu14.04 on my local VM 2) on top of VM running docker containers Here my concern is like My Windows machine subnet is different (like…
1
vote
1 answer

can ssh to physical server in another subnet, but cannot ssh to bridged vm on that machine

host A 192.168.2.4 in subnet 192.168.2.0 host B 192.168.3.53 in subnet 192.168.3.0 host C 192.168.3.54 in subnet 192.168.3.0 VM D 192.168.3.60 on host B, bridged network host A can ssh to host B and host C host B and…
JavyZheng
  • 53
  • 7
1
vote
1 answer

Moving Service with API to private subnet in Amazon VPC

Our API was public. We'd access it from api.domain.com. The service has moved to a private subnet with an Amazon VPC. The web app is hosted on a public instance which communicates via API to the private instance. How do we create an endpoint to…
csi
  • 9,018
  • 8
  • 61
  • 81
0
votes
0 answers

Is there any way to compare latency between request from asia and request from US both to ec2 server in private subnet?

Is there any way to compare latency between request from asia and request from US both to ec2 server in private subnet? I need to compare a latency when I request in korea and also in US. The ec2 server is in private subnet and have private ip. Hope…
0
votes
0 answers

Access EC2 running Flask APIs in vpc(Public subnet) using AWS API Gateway

I have an EC2 instance in a VPC which has public IP and an elastic IP as well. Now I want to use AWS API gateway to expose Flask APIs running on instance. Is it possible to do so with private link, without load balancer? If so please share any…
0
votes
0 answers

SSH tunnel from local machine to access a MySQL database using a jump host

My setup: EC2 instance within a private subnet that has a MySQL database EC2 instance within a public subnet that I use as bastion (jump host) I'm able to login with SSH from the bastion host to the host in private subnet after following the…
1 2 3
8 9