2 個答案
- 最新
- 最多得票
- 最多評論
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.
相關內容
- 已提問 7 個月前
- AWS 官方已更新 1 年前
- AWS 官方已更新 1 年前
Hi there.
Could you share what the Lambda execution role looks like? You may need permissions to access MemoryDB.