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
0 answers

Not able to use AWS security groups with GWLB Endpoint (Palo Alto Cloud NGFW)

We are trying to get traffic from the internet to hit our ALB, get decrypted and then sent through the Palo Alto Cloud NGFW and finally reach our containers. See image below: For some reason we are not able to get this to work when we allow traffic…
0
votes
0 answers

Proxy request from one API Gateway to another API Gateway in vpc

I want to achieve the following: I have a public-facing REST API that will serve as a "router" and will route traffic to the internal rest API through VPC. I do now want to depend on IPs or IP ranges but rather on internal custom domains. I tried…
Marcin Majewski
  • 1,007
  • 1
  • 15
  • 30
0
votes
1 answer

AWS Lambda function can't query elastic search running on ec2 instance

I have a lambda function which is trying to read data from elastic search running in an ec2 machine. Both of them are in the same VPC, subnet and have the same security group assigned to it. The Lambda can't seem to access the elastic search…
0
votes
1 answer

Can not connect to Redshift from Airflow - ConnectionRefusedError

I am trying to create a connection to AWS Redshift from the Airflow Web UI, but so far it does not work. I always get the error: ('communication error', ConnectionRefusedError(111, 'Connection refused'). My Redshift is in a subnet of a VPC, but I…
0
votes
0 answers

Inter-region VPC Peering: Insert records in DB instance (US-east-1) from Lambda resouce (EU-West-1) from same account

How can I use SQLAlchemy in a Lambda service in the EU-West-1 region to write to a DB instance in the US-East-1 region from same account? I have attempted to establish a VPC peering connection between the accepting VPC in US-East-1 (which has the…
Saad
  • 11
  • 3
0
votes
0 answers

AWS Application Load Balancer forwarding to dynamic internal IP

I have an AWS VPC subnet in which dynamically hosts are created and destroyed. My frontend will have to connect to them. My plan was to reverse proxy to them. Backend creates an ec2 instance in said subnet Backend reads its internal ip address I…
0
votes
1 answer

AWS Cloud9 Environment Creation Failing on both Public and Private Subnets

I'm trying to create an AWS Cloud9 environment to access a DocumentDB server for direct access. However, when creating the Cloud9 environment it takes forever then dies with an error regarding an inability to connect to the functional backing EC2…
ImTheSquid
  • 365
  • 6
  • 15
0
votes
0 answers

ECS can't pull ECR images

I have created an ECS service and started a service with a task definition. I wan't the ability to start these services in a private subnet, but I read that for that to happen I need to use: NAT Gateway or VPC Endpoints for S3 and ECR (API and…
0
votes
2 answers

How to create Postgres DB with Public access using AWS CloudFormation

for testing purposes, I need to create Postgres Database which will have Public access and will be available from anywhere. My current CloudFormation looks like this: --- AWSTemplateFormatVersion: "2010-09-09" Resources: VPC: Type:…
0
votes
1 answer

Requests to Lambda through ALB behind VPC are extremely slow

I am working on exposing a lambda to the public net with the lambda residing behind an already existing VPC (so I can later on limit the IP range of incoming requests using a security group). To test that everything works, I set up a small lambda…
0
votes
1 answer

Sending load balancer traffic to a target group in another VPC for blue-green deployments

So far I used a single-account for blue-green deployments using ALB and target groups. My company decided we should use a multi-account setup for enhanced security (separate staging and prod). Great, so I'm now migrating our setup and noticed I…
0
votes
0 answers

Accessing Amazon Connect from inside of VPC

I'm trying to make a call from a lambda function within VPC using boto3.start_outbound_voice_contact(). Since the lambda function cannot reach whatever outside the VPC, simply invoking the boto3.start_outbound_voice_contact() function. I have came…
0
votes
1 answer

AWS Lambda sftp to another account's private vpc

I have a task which requires me to pull files from a private sftp server outside my network using AWS Lambda. I am using the paramiko library and I was wondering if this is possible as the the ip provided are private i.e. 10.xxx.xxx.xxx. This…
0
votes
0 answers

How can I add an already existing VPC to a lambda using AWS CDK?

Currently I'm using AWS CDK to create a simple lambda function. const hello = new Function(this,"HelloHandler",{ role:lambdaRole, runtime:Runtime.NODEJS_16_X, code:Code.fromAsset("dist"), handler:"index.handler", }) I…
0
votes
0 answers

Configure Lambda Function to a VPC in a Different Account? (Cross-Account)

I have two accounts, account A and B. Account A has a VPC that contains resources. These resources are needed by my Lambda function in account B. I am trying to configure my lambda function to the VPC found in account A. I tried a peering connection…
TheShield
  • 297
  • 1
  • 5
  • 18