2 Answers
- Newest
- Most votes
- Most comments
0
Please check lambda function settings.
- Go to Configuration
- General -> Timeout.
I hope that's not the case but your function would be timed out if that timeout limit reaches first before connecting to memory DB. Since there are few things, which you have already mentioned here, so network connectivity shouldn't be the problem.
I'd suggest you to follow this AWS Documentation, this may help you.
Comment here how it goes, happy to help.
Abhishek
0
I think this is the problem:
Security Group for both Lambda and MemoryDB are both set to allow Inbound and Outbound 6379
The security group on MemoryDB needs to allow inbound connections on port 6379. Outbound from MemoryDB is unimportant unless it is establishing connections to somewhere.
Relevant content
- asked 8 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated a year ago
Hi there.
Could you share what the Lambda execution role looks like? You may need permissions to access MemoryDB.