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
4
votes
2 answers

API Gateway + Lambda extremely slower response time

I'm creating the backend of my application using the API Gateway with Lambda functions and I'm having problems with the response time of the requests. It's already known that the Lambda functions have the infamous "cold start" and ok, we already…
Lucas Kauer
  • 278
  • 1
  • 3
  • 12
4
votes
1 answer

How to access private AWS resources in AWS SAM LOCAL when start-api testing

I've been working with AWS SAM Local to create and test a lambda / api gateway stack before shipping it to production. I have recently ran into a brick wall when trying to access private resources (RDS) when testing locally (sam local start-api…
4
votes
1 answer

How to debug connection issue: Connecting to SSM VPC Endpoint from Lambda Function in VPC

I have a lambda function in a VPC that should be able to connect to SSM via a VPC endpoint. In fact, I have had this working in another VPC (the default), but just can't get it to work in a new VPC that I have built with CloudFormation. In addition,…
Joe
  • 4,852
  • 10
  • 63
  • 82
4
votes
1 answer

Amazon AWS elasticsearch Kibana access from browser

I know this issue has been already discussed before , Yet I feel my question is a bit different. I'm trying to figure out how am I to enable access to the Kibana over the self manged AWS elastic search which I have in my AWS account . Could be that…
4
votes
2 answers

Unable to access amazon RDS mysql instance from lightsail instance

I am new to AWS and not a network admin, mere a developer, and need your help. I am unable to connect to my aws RDS (mysql) from my lightsail ubuntu instance. when trying to connect, it just wait for a minute and then fails. I am unable to ping my…
4
votes
1 answer

Common AWS failures - Handling AZ failover

Specifically I have a question what is the recommended way to organize AZ failover in AWS environment. Also it will be good to understand typical AWS failures in order to organize Application HA (High Availability). So, Application architecture (AWS…
4
votes
2 answers

Access AWS Resource Outside of VPC from Within VPC - Serverless Framework

I am trying to access a kinesis stream outside a VPC from a lambda function inside a VPC. Currently when the code to write to the kinesis stream is executed it will hang and then timeout. When I take the lambda out of the VPC the code to write to…
pizzarob
  • 11,711
  • 6
  • 48
  • 69
3
votes
2 answers

Do I need to create the SQS in the same VPC as the ECS is in?

I have a ECS cluster inside the VPC. ECS have to read from a SQS. So, do I need to create SQS in the same VPC for that to communicate? Also, if say, I wanted to communicate outside VPC, how can I do that?
hatellla
  • 4,796
  • 8
  • 49
  • 101
3
votes
1 answer

AWS VPC access from Raspberry Pi

We have some services running in AWS VPC. These services only accessible within VPC only. For development purpose, need access to these services from office location. So trying to setup WiFi access point on Raspberry Pi and planning to connect…
roy
  • 6,344
  • 24
  • 92
  • 174
3
votes
2 answers

AWS VPC connect to more than one Virtual Private Gateways

I am trying to create VPN tunnel from VPC to office location. I have created Virtual Private Gateways and when i try to attached to VPC it says Error VPC vpc-xxxxxxxx is currently attached to the Virtual Private Gateway VPC can only be attached to…
roy
  • 6,344
  • 24
  • 92
  • 174
3
votes
2 answers

AWS Lambda ENI limitation in VPC clarification

I found this in the AWS official docs for lambda: If your Lambda function accesses a VPC, you must make sure that your VPC has sufficient ENI capacity to support the scale requirements of your Lambda function. You can use the following formula to…
3
votes
1 answer

Resource IP addresses of S3 buckets?

When we create a VPC, we specify an address range to be used within our VPC as a CIDR block (mostly as 10.0.0.0/16). Then we launch instances within that VPC. And they will get private IP addresses from that address range. And when we create a S3…
Ashan Priyadarshana
  • 3,119
  • 3
  • 29
  • 34
3
votes
0 answers

AWS VPC Peering connection issue

AWS VPC peering is created for VPCs in single region by referring to aws docs. The diagram below explains the same. Both the VPC peering connections are active and their route tables adjusted for subnets. But when tried to establish http connection…
sap
  • 331
  • 2
  • 4
  • 16
3
votes
0 answers

Grant containers internetaccess in awsvpc network mode

The situation is as follows: Two containers reside in the same task definition. A service with this task definition is running on a specific ec2 instance. I've configured the VPC of this instance to use a NAT gateway. This has been successful I…
Quinten Scheppermans
  • 954
  • 1
  • 10
  • 29
3
votes
1 answer

"NLB ARN is malformed" when create VPC link for AWS APIGateway

I followed the tutorial to create a VPC link to my private elb balancer. https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-api-with-vpclink-cli.html But it failed, and got an error message "statusMessage": "NLB ARN is malformed". I…
1
2
3
8 9