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
1
vote
1 answer

How to use AWS private application load balancer in aws api gateway

I have a situation to use AWS private(internal-facing) application load balancer (not a network load balancer) in the api gateway. Can anyone please guide me how to use ALB in the api gateway.
1
vote
4 answers

My VPC is greyed out when trying to create a EC2 Instance?

I am trying to create an instance into my already created VPC network. For some reason when I am in the middle of the launch, I cannot select my VPC and it only lets me select a default VPC which is not what I want.
Student1860
  • 138
  • 2
  • 17
1
vote
1 answer

Route Propagation on AWS via Terraform

My company uses AWS as a cloud provider and Terraform to do our Infrastructure as code piece. I need to make a change to the way our traffic routes in AWS. We currently have 1 NAT gateway. So if the AZ that this live sin went down we'd lose…
Chris M
  • 11
  • 2
1
vote
1 answer

Can we change Default VPC = No for default VPC in AWS?

I have a complete setup of instances and vpn connection done using default VPC. Due to some reasons, I need to delete default VPC and create new VPC to setup again from scratch. However I don't want to do that. Can I change flag default VPC to "No"…
digya
  • 51
  • 9
1
vote
0 answers

Lambda function timing out

I have a Lambda function (initiated by API Gateway) that accesses an Aurora Cluster in private subnets (no errors in CloudWatch, just that the function timed out). If I invoke the function several times, at around 5 concurrent executions it is…
Damien
  • 1,647
  • 2
  • 16
  • 17
1
vote
2 answers

Error in Custom VPC

What is the solution for this?? I am tried to setup new VPC from Scratch. I have created a VPC with CIDR 10.0.0.0/16 in Mumbai region. And Created a Internet Gate way and attached to these VPC. Created Two subnets 1)10.0.1.0/24,With Public IP, In…
naren viru
  • 37
  • 1
  • 7
1
vote
1 answer

Error trying to download git package on aws instance: Failed to connect to github.com port 443: Connection timed out

I'm connecting to an AWS EC2 private instance (has Private DNS and IP, no Public DNS nor IP). I do it the following way: Agent forwarding: ssh-add private-instance.pem Connect to bastion: ssh my-project.prd .ssh/config connect to private…
ntonnelier
  • 1,539
  • 3
  • 23
  • 49
1
vote
1 answer

How aws accounts are differentiated?

I am aware that we can create a vpc by providing a ipv4 cidr range . Imagine I have two AWS accounts with cidr range 10.0.0.0/16 in same region. How are these two VPCs differentiated ? . Might be a dumb question for some . But it would be of great…
Bala
  • 1,077
  • 5
  • 15
  • 35
1
vote
0 answers

Warming Lambda Function with Cloudwatch schedule rules

I'm trying to warm a lambda (inside VPC which access a private RDS) function with cloudwatch. The rate is 5 minutes (only for experimental) I intend to make it 35 minutes later on. After I saw the cloudwatch logs which indicate that the function has…
kkesley
  • 3,258
  • 1
  • 28
  • 55
1
vote
1 answer

Subnet association change in route table of VPC stopped it working

I was working with one of our VPC which was created through CF stack. I manually change the subnet association to the router attached to the VPC after that, the networking seems totally down. I tried to associate all the subnets to route table of…
Bhavik Joshi
  • 2,557
  • 6
  • 24
  • 48
1
vote
1 answer

AWS SDK - How to set the VPC name tag using Boto3

How can I specify the VPC name tag using the AWS SDK when creating vpc? I tried a number of options as shown here but no success. Here is how I create my VPC using python, boto3 SDK. import os import boto3 import time .... .... print('Creating…
Stryker
  • 5,732
  • 1
  • 57
  • 70
1
vote
0 answers

Connect AWS private ALB from private VPC

I have a complex networking requirement because of my clients current architecture. Will simplify as follows. lets say I have 3 AWS VPCs. VPC 1 CIDR : 10.0.0.0/16 * I have a private ALB here. (xxx.elb.amazonaws.com) * peering connection to the…
Wikum Ekanayake
  • 121
  • 1
  • 3
1
vote
0 answers

AWS ELB cannot be attached to multiple subnets while it's not configured for it

I'm experiencing an issue with AWS EB today. I'm trying to put an EC2 instance on 1 subnet (private) and the ELB on another one (public). Then since this morning, I get this error while deploying: Updating load balancer named:…
1
vote
0 answers

How to connect Lambda in VPC to RDS?

There are multiple questions/answers for this but none of the solutions seem to work. How to properly connect AWS Lambda to RDS in VPC? Allow AWS Lambda to access RDS Database Can't access to RDS from Amazon Lambda, same VPC and correct role…
Katherine
  • 2,086
  • 1
  • 14
  • 23
1
vote
1 answer

How to parse custom PROXY protocol v2 header for custom routing in HAProxy configuration?

How can one parse the PROXY protocol version 2 header and use the parsed values to select a backend? Specifically, I am making a connection from one AWS account to another using a VPC PrivateLink endpoint with PROXY v2 enabled. This includes the…
theherk
  • 6,954
  • 3
  • 27
  • 52
1 2 3
8 9