簡體   English   中英

使用 Lambda 從另一個賬戶中的不同 VPC 訪問 AWS DocumentDB?

[英]Accessing AWS DocumentDB from different VPC in a another account using Lambda?

我在一個賬戶(比如說賬戶 A)中有一個 lambda function,它試圖訪問另一個賬戶(賬戶 B)中的 VPC(私有)內的 AWS 文檔數據庫

我看到最新的 [DocumentDB 文檔] ( https://aws.amazon.com/documentdb/faqs/ ) 提到 VPC 對等支持訪問 VPC 外部的 DocumentDB 集群,這是否涵蓋其他帳戶中的 VPC?

是否可以使用 VPC 對等訪問 lambda 中的 VPC(在賬戶 B 中)內的 DocumentDB,這是賬戶 A 中的另一個 VPC?

Sagar,正如您所描述的,這可以通過 VPC 對等互連來實現。 Let's say you have a DocumentDB cluster in VPC A and a lambda function in VPC B. Your lambda function can access your DocumentDB cluster if you setup VPC peering between VPC A and VPC B.

在 46:14 查看 Twitch 演講 ( https://www.twitch.tv/videos/510542149 )。 我正在編寫一個涵蓋這方面某些方面的教程,當我擁有它時,我會在這里分享

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM