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 Respuestas
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
respondido hace 2 años
  • 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

respondido hace 2 años
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.

respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas