Erik
Erik

Reputation: 898

Accessing ECS instances from AWS Lambda running in VPC

I am running a Lambda function in a VPS and have been able to connect to my S3 and RDS resources. However I cannot connect to containers I have running in the VPC through ECS (These containers are exposed to the internet via ELB).

I am aware that accessing the internet via a Lambda function in a VPC requires a managed NAT Gateway (https://aws.amazon.com/blogs/aws/new-access-resources-in-a-vpc-from-your-lambda-functions/) but is it possible to connect to EC2/ECS resources in a VPC without the NAT gateway?

Upvotes: 2

Views: 1362

Answers (1)

Andreas
Andreas

Reputation: 984

Two options:

Upvotes: 2

Related Questions