Questions tagged [aws-vpc]

AWS-VPC is the Virtual Private Cloud from the AWS. It enables us to create resources in the virtual network.

A virtual private cloud (VPC) is a virtual network dedicated to your AWS account. It is logically isolated from other virtual networks in the AWS Cloud. You can launch your AWS resources, such as Amazon EC2 instances, into your VPC. You can specify an IP address range for the VPC, add subnets, associate security groups, and configure route tables.

A subnet is a range of IP addresses in your VPC. You can launch AWS resources into a specified subnet. Use a public subnet for resources that must be connected to the internet, and a private subnet for resources that won't be connected to the internet.

For more information check below link :

https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html

127 questions
0
votes
3 answers

How to make two lambdas in different vpcs in different aws account to connect to each other?

I have a lambda in a vpc in an aws account and I have another lambda in a vpc in another aws account. How to make them be able to communicate with each other ?
Karias Bolster
  • 955
  • 3
  • 17
  • 31
0
votes
2 answers

AWS - vpc: private subnet access from public subnet

I created the public subnet and private subnet ,Internet gateway associated the public subnet. Now the webserver was provisioned or installed in private subnet but how do we access any content from private subnet ,why was the server installed. in…
yasho h
  • 9
  • 1
  • 3
0
votes
1 answer

Total number of AWS VPC limit per root account

I looking for an AWS environment architecture where I can have more than 500 VPC. I do not see any AWS documentation where it has mentioned the VPC limit per root AWS account. From VPC FAQ it is clear that one account ( not root account ) can have…
Sas
  • 33
  • 7
0
votes
1 answer

AWS Aurora - failed to connect from a MySQL client (Sequel Pro)

I have set up an AWS Aurora cluster like below: Figure 1: Cluster overview All 3 instances in the cluster are in the same VPC, say: vpc-123456 Below are the vpc-123456's settings of: Network ACL - Inbounds Network ACL - Outbounds Security…
quanguyen
  • 1,443
  • 3
  • 17
  • 29
0
votes
1 answer

Can resources in different cidr blocks of the same VPC reach one another aws

Resources like databases (RDS) must be in same VPC as the EC2 instances to be reachable. Can EC2 instance reach RDS instance in the same VPC if they are in different CIDR blocks? i.e. VPC has 2 CIDR blocks, a and b. Instance in block a, database…
cryanbhu
  • 4,780
  • 6
  • 29
  • 47
0
votes
1 answer

Forward Traffic from Windows EC2 Instance to ElasticSearch VPC Endpoint

I have Windows EC2 instance I use for my public-facing C# API. The VPC(and related Internet Gateway, subnets, etc) are all default. I've now setup an AWS ElasticSearch service using their more secure VPC Endpoint option (instead of public-facing)…
NullHypothesis
  • 4,286
  • 6
  • 37
  • 79
0
votes
0 answers

Health checks of Private Instance in Target Groups Shows as unhealthy

I created a network load balancer(internal) to point to the private servers in the VPC, as per documentation i have done the below steps: Configure Security Groups to allow traffic from Client IP address as well as VPC CIDR Blocks. But after…
0
votes
1 answer

How to setup a VPN for 3 different VPC's in 3 different regions in different AWS accounts?

I wanted to create a VPN for 3 different AWS accounts. All these 3 accounts are running different application but for the same client, as a service provider, we want to set up a VPN connection to these environments so that we can access the…
0
votes
1 answer

AWS VPC: restricting user to create/delete its own VPC

Conceptually is it possible to create an IAM policy such that developer can only create/delete its own 50-net (e.g. 50.10.0.0/16) VPC? Or do we usually rather having the network admin to allocate the VPC to developer coming on board? I want to…
simonso
  • 595
  • 1
  • 8
  • 19
0
votes
3 answers

Powershell Script to Update AWS Security Groups Based Upon Dynamic IP Error

I created a Powershell script that would run in Task Scheduler to update my AWS security groups based upon my public ip address. When I run this script I get an error message which is posted below. I would also like your help in modifying the…
0
votes
1 answer

Issue with VPC attached to Lambda function

I have a Lambda function which connects to an external database (running MySQL) and sends SNS emails after grabbing data from the database. I have created a VPC with a NAT gateway, 2 subnets and a security group that allows all incoming and outgoing…
0
votes
0 answers

Routing between private and public subnets on different, peered, VPCs

I'm testing a scenario where I have two peered VPCs: VPC A has a CIDR of 10.0.0.0/16 VPC B has a CIDR of 172.17.0.0/16 Both VPCs have private and public subnets with the following CIDRs: VPC-A-PRIV has a CIDR of 10.0.1.0/24 VPC-A-PUB has a CIDR…
swin12
  • 33
  • 6
0
votes
3 answers

AWS lambda call dynamo db through private network or bypass internet traffic

I have a lambda function which runs every 15 minutes and saves some data in DynamoDB. Now I want to secure the DynamoDB call made by my lambda so that the request does not go via the Internet, rather through Amazon internal network. There is no EC2…
nightfly
  • 425
  • 2
  • 8
  • 18
0
votes
1 answer

How to get available subnets from AWS VPC?

I am trying to create an Application Load Balancer using AWS CLI. create-load-balancer The error message is as follows: An error occurred (ValidationError) when calling the CreateLoadBalancer operation: At least two subnets in two different…
Valeri
  • 1,072
  • 5
  • 14
  • 31
0
votes
1 answer

Cannot create ElasticBeanstalk app with Network Load Balancer using CLI with an organization granted account

I'm trying to create Beanstalk app with Network load balancer in new VPC (one public, one private subnet, internet gateway, nat gateway...) I can create successfully in my personal aws account. With account of my organization, I have this error "VPC…
1 2 3
8 9