AWS Lambda: Unable to access SQS Queue from a Lambda function with VPC access

后端 未结 5 2081
独厮守ぢ
独厮守ぢ 2021-02-07 07:25

I have a Lambda function that needs to read messages from an SQS queue using it\'s URL. Then it needs to insert that data to Cassandra running on a server inside a VPC.

5条回答
  •  天涯浪人
    2021-02-07 07:58

    Some services (e.g. S3) are offering VPC endpoints to solve this particular problem but SQS is not one of them. I think the only real solution to this problem is to run a NAT inside your VPC so the network traffic from the Lambda function can be routed to the outside world.

提交回复
热议问题