title: Connect Lambda to Elasticache using Serverless framework
body: <p>I'm trying to access AWS Elasticache cluster from a Lambda function using Serverless framework (v 0.5.6) without loosing access to Dynamodb. I have tried using this <a href="https://gist.github.com/d4goxn/7322250ffe89f8a8a5c5d62804a8da2a" rel="nofollow">Gist</a> with no luck. Inside the Lambda function, first thing I do is to connect to the Redis instance but I keep getting timeouts, I have double checked CloudFormation outputs variables and its visibility inside the function and Lambda Roles/Policies for VPC but still nothing... I haven't found either any guide on how to create VPCs and Security Groups with CloudFormation and Serverless in order to create Public and Private subnets, NATs and Internet gateways as suggested <a href="https://www.youtube.com/watch?v=Qn8uGcfBb_I" rel="nofollow">here</a>. Can anyone help?</p>