AWS Lambda: Unable to access SQS Queue from a Lambda function with VPC access
<p>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.</p>

<p>I am able to access the Cassandra server from my Lambda function, using it's private IP and configuring the security groups correctly.</p>

<p>However, I am not able to read messages from the SQS Queue. When I change the configuration of Lambda function to <code>No VPC</code>, then I am able to read the messages from the SQS Queue. However, with VPC settings, it just times out. </p>

<p>How can I overcome this ? I have checked the security group of my Lambda function has full outbound access to all IP addresses.</p>