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?

1개 답변
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/

답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠