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년 전

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

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

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