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 年前1685 查看次数
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/

已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则