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.

已提问 2 年前674 查看次数
1 回答
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
专家
Kallu
已回答 2 年前
  • Thanks, I didn't know about Global Accelerator.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则