Questions tagged [aws-vpc-peering]
50 questions
0
votes
0 answers
How to resolve connection refused on EC2 instance, and enable communication between server and client between 2 VPCs?
I have two VPC (VPC1, VPC2) in different regions. Each VPC has two EC2 instances. On VPC1, I have a public and a private subnets (subnet1 and subnet2 respectively) each with its own routing table, and on VPC2, I have one private subnet (subnet3).…

Hussam Ahmed
- 413
- 1
- 5
- 17
0
votes
2 answers
Terraform state conflict between vpc and vpc-peering modules
I am using terraform and terragrunt for my companies aws infrastructure, general structure is like this, i have two main folder, one for modules, other one for environments and sourcing modules to environment folder using terragrunt, one module is…

Lado Golijashvili
- 123
- 1
- 5
0
votes
1 answer
Share RDS instance with another VPC, but no other resources?
I have created two VPCs using Terraform:
resource "aws_vpc" "alpha" {
cidr_block = "10.16.0.0/16"
enable_dns_support = true
enable_dns_hostnames = true
tags = {
Name = "Alpha"
}
}
resource "aws_subnet" "alpha_private_a" {
vpc_id…

sdgfsdh
- 33,689
- 26
- 132
- 245
-1
votes
1 answer
What is the difference between VPC Peering and VPC Endpoint Service? And when to use them?
I understand VPC Peering is used to establish connection between 2 VPCs. And to connect to another Application/Service in another VPC, VPC Endpoint Service is used. But can't a VPC Endpoint Service be connected via VPC peering?
A use-case/scenario…

Mohamed Bilal
- 11
- 2
-3
votes
1 answer
AWS RDS Allow Access for Whitelisted IPs and 'Private' VPC
I am hoping someone can clarify some network/security concerns about the following scenario:
I have a VPC that allows outbound connections to external internet resources, but is not supposed to allow inbound connections from any resources not within…

zemaj
- 330
- 1
- 7