简体   繁体   English

Atlas MongoDB通过VPC与Lambda的连接不起作用

[英]Atlas MongoDB connection with Lambda via VPC not works

I try to connect my MongoDB on Atlas with Lambda functions. 我尝试将Lambda函数连接到Atlas上的MongoDB。

I did everything from instruction https://docs.atlas.mongodb.com/security-vpc-peering/ but I got error: 我按照指令https://docs.atlas.mongodb.com/security-vpc-peering/进行了所有操作,但出现错误:

Task timed out after 30.03 seconds

How to solve this problem? 如何解决这个问题呢?

Please create Gateway VPC endpoint and update it route tables 请创建网关VPC端点并更新其路由表

https://docs.aws.amazon.com/vpc/latest/userguide/vpce-gateway.html https://docs.aws.amazon.com/vpc/latest/userguide/vpce-gateway.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM