title: Psycopg2 Hangs when connecting to RDS AWS via AWS Lambda
body: <p>I have found similar questions with answers, but none of them have been effective.</p>
  
  <ol>
  <li>I have configured lambda such that it is in the same VPC as the RDS. The RDS is hosting a PostgresQL Database.</li>
  <li>I have allowed traffic from the Lambda Security group to the RDS Security group (by changing the inbound permission on RDS SG)</li>
  <li>The lambda function hangs on the <code>psycopg2.connect()</code> call.</li>
  </ol>
  
  <p>Any advice or pointers to resources is much appreciated. Thank you.</p>