Is it possible to use AWS SDK Cognito within a private subnet without internet access?

0

To set the scenario, I have applications that uses AWS SDKs like Boto3 (Python) and aws-sdk (NodeJS) that are residing within a VPC with private subnets that strictly should have no internet access, while trying to sign up and auto confirm new users in the cognito user pool.

I notice that when these application attempt to call Cognito Identity Provider services using said SDKs, the SDK client would not receive any response.

Could someone please explain why this is the case, is it only happening for Cognito Identity Providers? And given that it is a requirement that the applications should still remain within the private subnet, is there possibly a way for these applications to make use of the SDKs?

preguntada hace un año1685 visualizaciones
1 Respuesta
0

You would need NAT Gateway to build this communication channel.

Private Subnet with default route to nat gateway ( Nat gateway will live in public subnet )

https://aws.amazon.com/premiumsupport/knowledge-center/nat-gateway-vpc-private-subnet/

respondido hace un año

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