Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [amazon-vpc]

Amazon Virtual Private Cloud (Amazon VPC) lets you provision a logically isolated section of the Amazon Web Services (AWS) Cloud where you can launch AWS resources in a virtual network that you define

0
votes
0answers
26 views

Can not ping interface's public address of my instances

I have basically 2 VPCs where CSR 1000v is deployed in each VPC (CSR1 and CSR2). I attach a drawing my setup below. I created 2 interfaces in deferent subnets within its VPC CIDR in each VM and ...
-1
votes
0answers
20 views

Can not ping interface's public address of my instance

I have basically 2 VPCs where CSR 1000v is deployed in each VPC (CSR1 and CSR2). I created 2 interfaces in deferent subnets within its VPC CIDR in each VM and attached with a Elastic IPs. My problem ...
1
vote
3answers
51 views

Public and private subnet in VPC

IANA established certain blocks of IP as private IP range(shown below) 10.0.0.0 – 10.255.255.255 (255.0.0.0) 172.16.0.0 – 172.31.255.255 (255.255.0.0) 192.168.0.0 – 192.168.255.255 (...
1
vote
1answer
15 views

How can I list private zones associated with a VPC that are hosted in another account?

I can use a set of AWS API commands to associate a VPC with a private zone hosted in another account. That way, name resolution works in the VPC even for the zones that are defined elsewhere. Here'...
1
vote
1answer
55 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 ...
0
votes
0answers
20 views

why traceroute shows only one direct connection instead of 2?

I have got 4 CSR Cisco 1000v deployed in VMs on AWS. I could ping the Primary network interface of each VM from any instance in the network, but when I try traceroute it is not successful. The VMs ...
2
votes
1answer
55 views

How to Virtual static routing in CSR 1000v on AWS?

I'm trying to do static routing for 2 Cisco CSR 1000v routers which are deployed on 3 VMs in AWS, but it didn't work. I configured correctly 2 interfaces of both routers, but when I tried to ping the ...
2
votes
1answer
72 views

How to add a physical connections to Cisco CSR 1000 in AWS?

I deployed 2 Cisco CSR 1000 routers in one VPC-1 at a region A, and at region B I deployed another one. I would like to make a physical connection between these 3 routers. Also, I tried to ping ...
3
votes
2answers
46 views

Cannot Git Pull From Inside AWS Private Subnet

I am using two public subnets in two availability zones, and then two private subnets in those same availability zones. I have an elastic load balancer that forwards traffic to my EC2 instances in the ...
0
votes
1answer
55 views

Laravel Forge: Unable to create AWS EC2 instance in London Region

When I try to create a server on Laravel Forge for AWS in the London region I get the following error message: Whoops! There were some problems with your input. The server provider was unable ...
0
votes
2answers
74 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 ...
0
votes
3answers
30 views

What happens if the private IP range of a VPC falls outside the IANA defined ones?

The VPC documentation says: When you create a VPC, we recommend that you specify a CIDR block (of /16 or smaller) from the private IPv4 address ranges as specified in RFC 1918: 10.0.0.0 - ...
4
votes
1answer
127 views

IP Address exhaustion for lambdas in VPC

I am currently part of a group that is dealing with the repercussions of deploying 300+ AWS Lambda functions running Node.js in place of a more traditional REST API. I recently implemented an ...
2
votes
1answer
78 views

How to get AWS public IP CIDR range of a VPC

I have a VPC running on AWS which was created using kops, and the databases are running on mongo-atlas using GCP as a cloud provider. The mongo database servers are open to the world, what I'm trying ...
2
votes
1answer
69 views

An Issue with an AWS EC2 instance when connecting it to WebSocket

As I tried to run the chat app from localhost connected to MySQL database which had been coded with PHP via WebSocket it was successful. Also when I tried to run from the PuTTY terminal logged into ...
3
votes
1answer
213 views

What is a good subnet strategy for AWS VPC? [closed]

I currently have each VPC per cluster (stg, prd, tst, misc) and the standard clusters (stg, prd) have these subnets: elb: for public elb(s) that will received direct public traffic elb-int: for ...
3
votes
1answer
40 views

AWS lambda fails to access internet, despite having proper IGW, NAT and routing table entries?

I am experimenting with AWS Lambda, with a small piece of code that would fetch some files from S3. Unfortunately I cannot even access internet resources when I put my Lambda function into a VPC, ...
0
votes
1answer
73 views

NAT setup on AWS

This might sound ridiculous for some, but am trying to setup NAT on lightsail so that I can access my private ec2 instances which are connected using VPC peering. Suppose if 172.31.x.x is my ...
0
votes
2answers
73 views

AWS Instance accept connection from VPN in same VPC [closed]

I did setup an OpenVPN server, which works fine and the IP of the server shows instead of my machine's IP. I am using this VPN to connect to EC2 instance, and restricting access to only instances ...
0
votes
2answers
55 views

AWS VPC : Enable public access for application(s) running on private ip addresses

We have a few Couchbase databases running on EC2 instance(s) running within a AWS VPC. Our apps are on a different VPC. The app layer talks to the Database via VPC peering. Couchbase provides a web ...
1
vote
1answer
26 views

Restricting S3 access to individual servers when using S3 endpoint in private VPC with no public IPs

Question How can you restrict access to an S3 bucket to a single AWS instance when the instances have no public IP address and you're using an S3 endpoint in your VPC? Background and Detail We have ...
0
votes
2answers
31 views

AWS queries regarding subnetting and routing

I have some queries regarding AWS setup please clarify. I have created a VPC with CIDR 172.16.0.0/16 which is a private range of IP's. In my route table, I routed all the traffic from this range. ...
0
votes
1answer
41 views

Using Terraform for every region in a given account, find all VPCs and for each VPC enable flow logs

In Terraform how to populate the list of VPC IDs into the map. I want to find all VPCs for every region in a given account and for each VPC enable flow logs.How this can be done using Terraform
0
votes
1answer
47 views

Export my whole AWS architecture into file?

In AWS, I have a VPC with many components inside, including subnets, security groups, gateways, load balancers, target groups, many instances, and others. Is there any ways to export my whole ...
1
vote
1answer
96 views

Getting issue with VPC in Lambda function

I have attached VPC and private subnets in Lambda function. That is causing the connection issue with the API Gateway/other AWS services. Can anyone suggest the solution for this? Thank you.
1
vote
1answer
226 views

Amazon EKS: how to configure S3 access for worker nodes?

How can I configure an EKS cluster to automatically allow S3 access from worker nodes? I've set up an EKS cluster following the Getting Started guide and have run the example Guest Book app. Now I ...
0
votes
1answer
79 views

Connecting two AWS Peering Connections

I have an AWS Lightsail instance (deployed in AWS Managed VPC) that I want to connect to my Mongo ATLAS (deployed in Mongo Managed VPC). I was able to connect my AWS Services (Lambda, API Gateway) to ...
1
vote
2answers
61 views

How to connect with multi region private subnets through single VPN?

I had created 3 VPC's in three regions and I configured VPC peering between this 3 regions and it's working fine I can ping all the servers from any region through private ip's, I had configured ...
1
vote
1answer
73 views

Test connectivity to NAT Gateway over firewall.

I created a VPC in aws and added a NAT Gateway so my instances in the VPC can consume other resources on the internet. Some of these resources belong to a 3rd party and are behind a firewall for ...
0
votes
2answers
34 views

How to set up AWS Network Access Control List for SSH to private subnet

I'm doing a course on AWS. What I'm trying to do is set up a VPC with two Linux servers. I've set up the VPC with two subnets. I have put one server in each. The idea is that one subnet is public the ...
1
vote
1answer
78 views

AWS private subject cannot hit S3 using VPC endpoint

I have a private subnet in my VPC. I've sshed into this instance from a public subnet. Using a nat gateway, I'm able to run aws s3 ls and see all my buckets with no issues. Once I delete the nat ...
1
vote
1answer
119 views

Instance in private subnet can connect internet but can't ping/traceroute

I have an AWS VPC with some public subnets and a private subnet, like the image below. Both instances can connect to the internet (INSTANCE A connects through NAT GATEWAY instance) NAT GATEWAY can ...
0
votes
1answer
83 views

Connecting from an AWS Lambda function or service within a VPC to a customer's private network over VPN tunnel

We are currently running AWS Lambda functions within a VPC and for example already have a peering connection setup to MongoDB Atlas to have our AWS Lambda's within the VPC communicate to our MongoDB ...
0
votes
3answers
99 views

Do you need or you don't need an IGW to get access to the internet if you create a EC2 instance with an EIP

I’m confused about Internet Gateway in AWS, if it says that in order for your VPC to access the internet you need a IGW why then when you create a EC2 instance with an EIP you automatically have ...
0
votes
1answer
69 views

Access other AWS VPC Instances but OpenVPN server

I've configured OpenVPN server on Bastion instance in public subnet on AWS VPC. Right now, I have access private IP address of that instance with my OpenVpn client, but we want to access EC2 ...
0
votes
0answers
13 views

failed to create: [MyElastiCache] when trying to add ElastiCache to Elastic Beanstalk deployment

I'm trying to add ElastiCache to my rails deployment on Elastic Beanstalk. I've followed the instructions, but am getting the following error when trying to deploy: Uploading: [#######################...
0
votes
1answer
51 views

How can you connect two Amazon VPCs through VPC peering if they are already configured with the network IPs?

According to AWS documentation you can connect up to 50 VPC through VPC peering but you have to make sure there's not IP overlapping so my questions here are: How can you come up with so many ...
0
votes
1answer
30 views

Install packages from internet for VPC with no outside access

Have a VPC with a private subnet. Inside the VPC, am looking to update latest Anaconda packages using Conda which involves downloading the latest updates from internet. Since my VPC has no internet ...
0
votes
0answers
25 views

How does creating an S3 endpoint affect other resources using S3?

I've just created a Lambda in AWS that requires access to RDS and, as a result, has to be a VPC Lambda function instead of a regular one. As I understand it, this means I basically have no choice but ...
0
votes
1answer
63 views

Adding ip to connect to RDS 'not Publicly accessible'

I would like to allow access to an RDS for a group of ip's outside the VPC (devs using workbench). However, I would like to leave 'Publicly Accessible' disabled. Is there a way to do this? Config: ...
0
votes
0answers
47 views

Can I use AWS API Gateway for proxying a subset of my base path api's to one vpc and all others to another vpc

I have multiple API's with varying base paths all on the same subdomain. e.g : api.example.com/user/pay api.example/partner/requestpay api.example.com/partner/discount/create api.example.com/...
0
votes
1answer
17 views

Issue connecting EC2 instances in 2 separate VPCs (same region)

I have 2 VPCs (default and special) each hosting 1 EC2 instance. Both instances have the same security group (say name = internal). The security group allows All Traffic from internal (a circular ...
0
votes
0answers
41 views

Connecting to RDS, created by custom VPC, using MySQL Workbench

I need to get an RDS in region X connected by Elastic Beanstalk from regions Y and Z. I have created RDS in a custom VPC. I need to connect to this RDS from my mac using MySQL Workbench. For VPC, ...
0
votes
0answers
25 views

How to access this RDS server in an AWS VPC

I have a typical web application with a web server (PHP) and a database. It is on a new AWS account, not the EC-Classic style. I want to be able to access the database server from my desktop using a ...
0
votes
1answer
19 views

Get the current VPC from CLI within the EC2 instance

How is it possible to display the current VPC from the CLI within a running Linux (Debian) EC2 instance?
0
votes
0answers
100 views

How an Ec2 node can contact eni of a different node in different AWS account and vpc

I have a requirement that one of my EC2 instance's originating traffic to a specific ip address needs to land to a ENI of a different EC2 instance which is present in different account and different ...
-1
votes
2answers
59 views

In AWS VPC subnet id changed

I deleted the default subnet in my VPC and tried to create new. After creating the new subnet it showed a different subnet id, as you would expect. When I try to create subnet group in RDS the ...
0
votes
1answer
82 views

AWS - VPC and subnet group

In order to create RDS, I need to create a VPC and two subnets attached to it. If I choose 10.0.0.0/16 as IPv4 CIDR for VPC, can you please suggest IPv4 CIDR blocks for the two subnets that I have to ...
0
votes
1answer
63 views

Is it possible to share same AWS Elastic IP addresses between two and more VPC?

I have "VPC-A" with NAT and attached Elastic IP address. Couple of services are running inside under load and couldn't be easily moved. Also I have "VPC-B" with own NAT for subnet and, of course, ...
2
votes
1answer
72 views

Public hosted zone records don't work inside VPC

I have some public hosted zone records defined in Route 53. They work normally accessed from any computer, but when accessed from an instance in my production vpc (or any other vpc of my account), it'...