Integration of Global Accelerator with Cognito


Currently AWS Cognito stores users in one region. This causes all of client network requests go to this specific region, which can cause significant latency. (Imagine a scenario when Cognito region is US-east and client is in Australia)

Global solve issues like that (Backend service operate in region A, but clients can connect to GlobalAccelelator locations which reduce latency)

It there any simple way of integrating Cognito and Global Accelerator in such a way that GlobalAccelelator will just 'proxy' all traffic to Cognito region?

2 Answers

Hi there, I am also interested in getting the latency down.

Currently, our Cognito user pool is located in us-east-1 and we also have traffic from Europe and the Asia-Pacific region.

From Europe alone, the latency is around 600-700 ms, which is quite long.

Hence, I was wondering whether there is an elegant solution for speeding things up globally.

answered 4 months ago
  • The original question was phrased as finding a simple way of doing this - I'll interpret "elegant" as the same thing; to which the answer I've supplied above is the same.


No, there's no simple way of doing this.

Note that you're dealing with (almost) the worst-case latency. It'd be better (if possible) to use Cognito in us-west-2 - still low latency for US customers; better for Australia. That said, putting it in Australia would be absolutely the best. ;-)

Please get in touch with your local AWS Solutions Architect - they can take this feedback and add it to a feature request.

profile pictureAWS
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions