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 Risposte
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
con risposta 2 anni fa
  • 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

con risposta 2 anni fa
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.

con risposta 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande