Connect to MemoryDB from Lambda
I am trying to connect to my MemoryDB instance my VPC. Memorydb is up and running I can connect to it from another EC2 in the same subnet, but I cannot connect to the MemoryDB from the Lambda function, I receive timeout. The lambda function is configured in the same VPC and subnet. The security group is configured to allow connections to MemoryDB port 6379.
If anyone knows how to configure this properly please help.
somehow removing the ":6379/0" from the redis connection string made it work on lambda
Did you add the Lambda's security group to the Memory DB's security group? If they are not in the same subnet, check also NACLs.
yep, they are in the same subnet, and use the same security group
Can't connect to an RDS Instance from Lambda (different account tough)asked 2 years ago
Lightsail container - connect to ElastiCacheasked 4 months ago
Cannot Connect to Running Lightsail Instance after taking Snapshotasked 2 months ago
Connect Lightsail instance to AWS instance in a private subnetasked 2 months ago
Unable to connect to EC2 instance in private Subnetasked a year ago
unable to connect to my instance !asked 3 months ago
Connect to Redshift (in private Subnet) using LambdaAccepted AnswerEXPERTasked 2 years ago
Unable to Connect to Instanceasked 2 months ago
Randomly unable to connect to ec2 instance from some networksasked 5 months ago
Connect to MemoryDB from LambdaAccepted Answerasked 14 days ago