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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南