Questions tagged [vpc]

A Virtual Private Cloud (VPC) is an on demand configurable pool of shared computing resources allocated within a public cloud environment, providing certain level of isolation between the different organizations (denoted as users hereafter) using the resources. Please note that this tag is exclusively for programming questions.

655 questions
13
votes
4 answers

Is it possible to get a VPC Id using AWS Cloud Formation?

Is it possible to obtain a VPC Id using Cloud Formation JSON? Something like: { "Fn::GetAtt" : [ "MyVPCName", "VPCId" ] }
lrepolho
  • 951
  • 1
  • 12
  • 23
12
votes
3 answers

How to setup vpc connector for firebase cloud functions?

Firebase Cloud Functions run on top of GCP, so, do they support using a vpc connector? What I'm trying to achieve is to limit a forward-proxy server to only accept requests from the internal network, but since Cloud Functions doesn't support static…
Jonathan Solorzano
  • 6,812
  • 20
  • 70
  • 131
12
votes
4 answers

How to find unused VPC in AWS account

Is there any way to find unused VPCs in an AWS account? I mean the VPCs that don't have any EC2 instances, RDS and other services associated with it. One way is to just search with VPC ID in running instances, RDS and for other services to find out…
MichealMills
  • 315
  • 5
  • 15
11
votes
1 answer

Unable to create cluster. VPC is greyed out when launching Redshift Cluster

Can't select the default VPC. Error: VPC associated with db subnet group does not exist Error image 1 -> https://i.stack.imgur.com/8dp4Y.png Error Image 2 -> https://i.stack.imgur.com/ulytq.png VPC Dashboard ->…
Atul
  • 155
  • 2
  • 10
11
votes
3 answers

Why are "weird" TCP ports required for my AWS ECS app to pull from ECR?

I am using ECS with NLB in front. ECS is pulling images from ECR. The thing I cannot understand is why does ECS require me to open all TCP ports to be able to pull from ECR? 2 621567429603 eni-0f5e97a3c2d51a5db 18.136.60.252 10.0.12.61 443 55584 6…
Jiew Meng
  • 84,767
  • 185
  • 495
  • 805
10
votes
3 answers

Reference an existing AWS VPC Id in CloudFormation script when creating subnets

How do you reference the VPC Id of an existing VPC (which has been created before in a separate CloudFormation script) in CloudFormation script in order to create subnets in the VPC?
Roobie
  • 1,346
  • 4
  • 14
  • 24
9
votes
1 answer

AWS VPC subnet route table best practices

In AWS we have subnets tired like public and private subnets. To simplify the question, I am only referring to the private subnet. I know we can use single routing table for private subnets in all AZs, or we can use multiple routing table per…
hlesnt395
  • 603
  • 10
  • 30
9
votes
1 answer

Access Internet from AWS VPC instance without public IP address

We're setting up an Amazon VPC in which we will provision (for now) a single EC2 instance and one RDS instance. This is to 'extend our data center', and should only be using private subnet(s). So actually, we have this setup, and it is working well…
9
votes
3 answers

AWS VPC Lambda Function keeps losing internet access

Hope someone can help enlighten me on this issue. I am currently working on a lambda function that utilizes the cloud watch scheduler to check various devices and it is using elasticache to maintain a simple database on the readings. My problem…
9
votes
3 answers

Is it possible to launch an RDS instance without a VPC?

I'm trying to insert records into a Postgres database in RDS from a Lambda function. My Node.js lambda function works correctly when run locally, but the database connection times out when run in AWS. I've read several articles and tutorials which…
8
votes
3 answers

How to connect multiple cloud with overlapping VPC?

We are creating a Console to administer, view logs and metrics, create resources on Kubernetes in a multicloud environment. The Console ( a web app ) is deployed on GKE in GCP, but we can't figure out how we can connect and reach K8S Api-Servers in…
Thomas8
  • 1,117
  • 1
  • 11
  • 22
8
votes
2 answers

Terraform "Route target is not supported" when creating a AWS route table to make a subnet publicly accessible

Using terraform v0.12.21 and the AWS provider v2.51.0, I'm trying to create some infrastructure from scratch (no previous terraform state). The goal is to have some publicly-accessible EC2 instances in a single VPC, and I think these are the…
Employee
  • 2,231
  • 3
  • 33
  • 60
8
votes
1 answer

how to configure a VPC endpoint to access DynamoDB with Terraform?

I have a Lambda function running in an AWS VPC. This Lambda needs to access both RDS and DynamoDB, so it needs a VPC endpoint configured to reach DynamoDB. I have managed to make it work using a manual configuration, as described on Amazon's blog…
gru
  • 4,573
  • 1
  • 22
  • 22
8
votes
2 answers

AWS:EC2 enable dns-hostname for host in non default vpc

I have a non-default vpc where i want to launch instances. The docs http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-vpc.html say: Non-default vpc: "DNS hostnames are disabled by default." Currently there is no option to set in during…
Jens Zastrow
  • 287
  • 1
  • 3
  • 9
8
votes
5 answers

Windows Virtual PC Development Setup?

After having had a dev PC HD corrupt, I'm considering the idea of making my development environment be fully Virtual PC based. The core items would be: - XP Pro 32 - IIS - VS2003 - VS2008 - SQL Server 2005 - Office 2003 Primary source would reside…
schooner
  • 3,047
  • 8
  • 30
  • 39
1
2
3
43 44