Questions tagged [amazon-vpc]

Amazon Virtual Private Cloud (Amazon VPC) lets you provision a private, isolated section of the Amazon Web Services (AWS) Cloud where you can launch AWS resources in a virtual network that you define. With Amazon VPC, you can define a virtual network topology that closely resembles a traditional network that you might operate in your own datacenter.

Docs

2516 questions
0
votes
1 answer

How do you specify from the AWS CLI/API what VPC an RDS Snapshot is restored to?

I have 2 VPCs, one default and one for my DBs. If I run this command: aws rds restore-db-instance-from-db-snapshot --db-instance-identifier test --db-snapshot-identifier db-arn --vpc-security-group-ids "foo" It will produce the error below: An…
DariusFontaine
  • 682
  • 1
  • 4
  • 20
0
votes
0 answers

Lambda in default VPC on a public subnet times out when accessing SQS

My lambdas need access to a DB and SQS. The DB is connected to my default VPC through peering. So I placed my lambdas in the VPC as well. They can access the DB, but timeout when accessing SQS. The security group allows all traffic in and out. I'm…
Ben Zuill-Smith
  • 3,504
  • 3
  • 25
  • 44
0
votes
1 answer

How can I call websocket apigateway from a lambda with vpc configuration?

I have deployed a public websocket api gateway in AWS and my lambda needs to call `PostToConnection" on the apigateway to response message to clients. It works fine if the lambda is running without any VPC configuration. However, when I configure a…
Joey Yi Zhao
  • 37,514
  • 71
  • 268
  • 523
0
votes
1 answer

Site Unavailable on EC2 Instance (Bitnami Image)

i've installed Bitnami image (for Wordpress) on top of EC2 instance. After stopping and again starting an instance I am getting this error when I try to access the site over browser: ec2-.eu-central-1.compute.amazonaws.com refused to…
Dantes
  • 2,791
  • 6
  • 26
  • 34
0
votes
0 answers

Recovering an accidently deleted CloudFormation stack

We tried to delete a cloud formation stack (for a VPC) we thought was unused. Unfortunately it was, in fact, in use and this has created some issues. Not all items deleted and the current status is : DELETE_FAILED | DRIFTED However, some essential…
0
votes
0 answers

Newly created VPC security group not listed while creating new RDS

I want to create a dev RDS that I can access using PGadmin from my local machine. For that I created a new RDS from the previous snapshot Then created the VPC security group with Inbound rule adding My IP address. However, the newly created VPC…
0
votes
0 answers

How to send messages between AWS VPCs?

I'm trying to understand how to send integration messages between applications. In the following scenario: User in Application 1 generates a query. That query gets sent to Application 2 Application 2 returns the results and sends it back to…
0
votes
2 answers

Lambda can't connect to CodeCommit from a subnet

I am working on a lambda function in node.js, this function needs to connect to CodeCommit, checkout a file from a specific branch in a specific repo, read some values and connect to a document DocumentDB cluster. const codeCommit = new…
user3174311
  • 1,714
  • 5
  • 28
  • 66
0
votes
1 answer

AWS Lambda HTTP request to Neptune with openCypher query fails

Running the below Lambda for most openCypher queries fails. This is a NodeJS 18.x Lambda, attempting to send an HTTP request to a Neptune Writer endpoint. The Lambda works fine when the openCypher query does not contain any strings. This simple…
Mor Sagmon
  • 905
  • 1
  • 16
  • 35
0
votes
1 answer

How to create a private subnet within my current VPC?

I have a VPC with 6 public subnet, I need to create a private one to deploy a lambda function that needs to connect to a DB, no need to have internet access. The problem is that when I try to create a new one, it comes with an internet gateway…
user3174311
  • 1,714
  • 5
  • 28
  • 66
0
votes
0 answers

CDK python Sagemaker endpoint subnet deletion blocked by ENI

I am deploying with a public and private subnet in two AZs (see code below). However, when I delete I get the following error. "The subnet 'subnet-0d50f818f269ce4f2' has dependencies and cannot be deleted. (Service: Ec2, Status Code: 400... When I…
0
votes
0 answers

enumerating availability zones for ECS cluster VPC subnets in CloudFormation

When I manually create an AWS ECS cluster in the UI, by default it shows the default VPC with the default subnets selected, one in each availability region, which I infer to be best practice. I'm creating a new ECS Fargate deployment using…
0
votes
0 answers

Route53 Routing Policies in VPCs

I am deploying an application to us-west-2, us-east-1, and eu-central-1. In each region, I will have a Lambda function and an EC2 instance in the same subnet. (That is, I will have a VPC in us-east-1, a VPC in us-west-2, and a VPC in eu-central-1,…
Nevo
  • 752
  • 2
  • 9
  • 22
0
votes
1 answer

Connection Time out when accessing MWAA UI

I created MWAA environment on the main default VPC where every service is running .I used the (private network) option to access the webserver. When accessing the airflow UI using my user the connection times-out and the site is not reached. The…
0
votes
1 answer

Can't connect to my AWS Postgresql instance via local pgAdmin

My plan is to migrate from SQL Server to Postgresql, hosted on AWS. My Postgresql DB is in a VPC and the security group attached to it has the following inbound rules: The first one is for my EC2 instance (where my server-side application is…
A. Gh
  • 631
  • 9
  • 24