Access CloudDirectory from inside a VPC

0

I've setup CloudDirectory, and I'm trying to access my CloudDirectory from a Lambda which is running inside a VPC.
When executing the Lambda, I'm not seeing much except that it times out.

The log states:

[INFO]	2019-04-01T14:48:10.921Z	0604741e-681a-43db-9a47-0b91ec3a1809	Starting new HTTPS connection (1): clouddirectory.eu-west-1.amazonaws.com
[INFO]	2019-04-01T14:49:11.630Z	0604741e-681a-43db-9a47-0b91ec3a1809	Starting new HTTPS connection (2): clouddirectory.eu-west-1.amazonaws.com

As soon as I take the Lambda outside of the VPC, it directly works, so it seems to be an issue from Lambda towards CloudDirectory when executed inside a VPC. Since this seems like a similar issue like accessing DynamoDB, SNS and other AWS services, I want to make a VPC Endpoint, however CloudDirectory does not seem to be listed as supported service.

What is the best way to connect to CloudDirectory from inside a VPC, will the standard VPC Endpoints be supported?

idoorn
已提問 5 年前檢視次數 210 次
3 個答案
0

Hello,

At this time, Cloud Directory does not have integration with VPC Endpoints. We have taken this as a feature request and will consider it alongside other customer asks. In the mean time, the recommendation is to use VPC NATs to connect your VPC to the internet and then additionally add rules to your security group such that Cloud Directory is the only accessible internet endpoint.

https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Internet_Gateway.html

Hopefully this helps, let us know if you have further questions about Cloud Directory.

-Matt

AWS
已回答 5 年前
0

Thanks, I'll attempt to work it out with the NAT and Security Groups.

idoorn
已回答 5 年前
0

Just discovered that CloudDirectory now supports VPC Endpoints!

Thanks guys!

idoorn
已回答 4 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南