Cognito: multi region support

5

Is there a way to synch cognito user pool across 2 regions ? I have api gateway with cognito and cannot do x-region as cognito is specific to a region

3回答
2

There is no out of the box way to sync all of the details from one region to another using Cognito. There are solutions like the Cognito user profiles export reference architecture. However, that won't sync the passwords.

You should be able to have API Gateway and the Cognito User Pool in different regions without a problem. https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-enable-cognito-user-pool.html

AWS
回答済み 2年前
  • It's a bad design on AWS part and blunder is trying to make something unhelpful with that reference architecture. Absolutely unhelpful

1

basically aws forces you to run app in single-region but telling to run in multi region during the re:invent etc. What's the point of that dev guide to "sync" cross-region if passwords won't sync and users won't be able to login?....

Related: https://repost.aws/questions/QUrDBg73LJTxydp3BFhu8VYw/multi-region-cognito

回答済み 2年前
0

So there is no way to have a 100% cross region resilience. In region 1 and 2 will share the cognito of region 1. I have a serverless stack api gateway > lambda > dynomodb - but because of cognito cannot call it a resilient system.

回答済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ