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년 전673회 조회
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.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠