How to use Lightsail load balancers globally instead of per region?

0

My web app's DNS is managed by Cloudflare. I have created a CNAME record that points to a Lightsail load balancer DNS. It works fine.

The question is the load balancer is created in a specific region. Ideally I want a load balancer that sends traffic to instances that are in different regions: Germany, Austrailia and USA for example.

Do I have to use Cloudflare load balancer instead? it seems to allow dispatching of traffic to origins based in different geographical locations.

Distribution/CDN is not a solution as some of the content will not be cached (videos for streaming). If I want low latency I need origins close to visitors.

Thank you.

preguntada hace 2 años673 visualizaciones
1 Respuesta
1

AWS doesn't have a global load balancer but it is always bound to one or multiple subnets that all are within the same region (but can, and should be on multiple AZs). You could take a look at Global Accellerator -service that allow you to have a pair of static IPs that are routed to closest instance of your application. This will get bit more complex than typical Lightsail application however. I would also think CDN once more, as you don't have to cache (all) your content but you could just use other features (getting client connected to closes edge etc). You can do this either by setting cache headers at your origin server or setting default caching at CDN.

profile picture
EXPERTO
Kallu
respondido hace 2 años
  • Thanks, I didn't know about Global Accelerator.

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