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
preguntada hace 5 años211 visualizaciones
3 Respuestas
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
respondido hace 5 años
0

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

idoorn
respondido hace 5 años
0

Just discovered that CloudDirectory now supports VPC Endpoints!

Thanks guys!

idoorn
respondido hace 4 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas