Results 1 to 8 of 8

Thread: Creating a Load Balancer for EC2

  1. #1
    Join Date
    Oct 2011
    Posts
    23

    Question Creating a Load Balancer for EC2

    Hi,

    I want to create a Load Balancer using the AWS Management Console. When I launch a wizard I'm unsure what configuration I must use in Listener Configuration:

    Load Balancer Protocol
    Load Balancer Port
    Instance Protocol
    Instance Port

    By Default, is HTTP and Port 80,so, should I add/change port 1934 of TCP for Flash? In which fields, Load Balancer or Instance fields?

    And What about Health configuration? What values do you recommend me?
    Last edited by Mr_LinDowsMac; 11-02-2011 at 12:37 PM. Reason: Adding questions

  2. #2
    Join Date
    Dec 2007
    Posts
    28,381

    Default

    You can use the Load Balancer Addon and Wowza EC2 startup packages

    The Load Balancer is here
    http://www.wowza.com/forums/content....ncing-solution

    Startup packages are covered in the EC2 guide
    http://www.wowzamedia.com/resources/...UsersGuide.pdf

    Richard

  3. #3
    Join Date
    Oct 2011
    Posts
    23

    Question

    This means that I can't use Amazon's Load Balancer?

  4. #4
    Join Date
    Dec 2007
    Posts
    28,381

    Default

    You might be able to use that. I don't have any experience with it. Wowza load balancer uses connection counts, which makes the most sense when network throughput is the limiting factor, which it is in most cases with streaming, and definitely is true with EC2.

    Richard

  5. #5
    Join Date
    Oct 2011
    Posts
    23

    Default

    If I use Wowza's Dynamic Load Balancer in an instance and a "origin" server, and then use autoscaling to launch automatically a new instance, Will origin server get noticed about the new instance?

  6. #6
    Join Date
    Oct 2011
    Posts
    23

    Default

    If I use Wowza's Dynamic Load Balancer in an instance and a "origin" server, and then use autoscaling to launch automatically a new instance, Will origin server get noticed about the new instance?

  7. #7
    Join Date
    Dec 2007
    Posts
    28,381

    Default

    Yes, a properly configured Load Balancer Sender/Edge server will announce itself to the LB Listener.

    Richard

  8. #8
    Join Date
    Oct 2011
    Posts
    23

    Exclamation

    We already setup an Load Balancer "listener" server instance and an "edge" server instance.

    When we access to the http://[loadbalancer-ip]:1935/loadbalancer, we get a edge IP:

    Code:
    redirect=[edge-server]
    But when we look at the "wowzamediaserver_error.log" located in the origin server, we got this:

    Code:
      ModuleLoadBalancerRedirector.onAppStart[Myapp/_definst_]: LoadBalancerListener not found. All connections to this application will be refused.
    Why am I getting this error log even when I access to "http://[loadbalancer-ip]:1935/loadbalancer" appears the edge server properly?

    Note: We are using a converted EBS-backed instances of Wowza Media Server 2 for EC2.
    Last edited by Mr_LinDowsMac; 11-04-2011 at 01:04 PM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •