Jump to content
  • 0

AWS load blanacer setup


Chungwei
 Share

Question

I followed the documentation to setup the ant media server on AWS with auto scaling enabled, however, I use the t2.micro type as the instance type, so that it is easy for me to test the server, in terms of auto scaling.

But it seems like the AWS load balancer doesn't perform a good traffic routing, although the number of instance did scale, but it keep route the traffic to one instance, which caused the particular instance goes down, and all the viewer that used the instance got disconnect.

Is there anyway to solve this problem?
Link to comment
Share on other sites

  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

2 answers to this question

Recommended Posts

  • 0
Hi,
Both sides are using WebRTC.
And yeah, t2.micro is definitely not sufficient enough for AMS, but I use for dev environment just to easily mimic the auto-scaling scenario. So I'm not sure if this will happen to t2.medium or greater.

My current solution is to write a simple node server in different port to perform the CPU usage check, as the AWS load balancer health check, not sure if this is a good solution, but at least it performs a much better traffic routing.
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share


×
×
  • Create New...