gpt4 book ai didi

amazon-web-services - 从 AWS Lambda 函数连接到 ElastiCache 集群

转载 作者:行者123 更新时间:2023-12-03 06:27:47 24 4
gpt4 key购买 nike

是否可以从 AWS Lambda 函数连接到 Redis ElastiCache 集群?

我无法确定这是配置问题还是根本不可能。

PS:我在EC2实例上进行了测试,可以连接到Redis节点。另外,Lambda 函数和 Redis 节点位于同一区域。

<小时/>

更新(2015 年 10 月 9 日):

Amazon 宣布推出适用于 AWS Lambda 函数的 VPC。 Details here

这意味着我们现在可以访问 VPC 安全组后面的 AWS 中的任何资源,包括 ElastiCache 和 RDS 计算机。

更新(2016 年 2 月 11 日):亚马逊推出了适用于 AWS Lambda 的 VPC。

https://aws.amazon.com/about-aws/whats-new/2016/02/access-resources-within-a-vpc-using-aws-lambda/

最佳答案

自 2016 年 2 月起,AWS 允许使用 lambda 函数连接到 Elasticache。引用Access Resources within a VPC using AWS Lambda 。这是其工作原理的链接 - Tutorial: Configuring a Lambda Function to Access Amazon ElastiCache in an Amazon VPC

关于amazon-web-services - 从 AWS Lambda 函数连接到 ElastiCache 集群,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27759026/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com