title: Cannot connect Lambda to ElastiCache Redis cluster
body: <p>I am having issues connecting Elasticache from a Lambda function
  I have done the following:</p>
  
  <ol>
  <li>Created a new security group</li>
  <li>Assign security group to Lambda and assigned two private subnets of same VPC</li>
  <li>Created an Elasticache redis cluster and assigned the above security group</li>
  <li>Created a NAT gateway address, assigned and ElasticIP (for the above VPC)</li>
  </ol>
  
  <p>Internet works and I verified this by opening stackoverflow.com URL. However Elasticache auto discovery times out. Is there any additional configuration that needs to be done?</p>
  
  <p><strong>Update</strong>
  I added inbound rule for Security Group to port 6379 and now still times out. </p>