Can't add instances in Load Balancer on amazon EC2

When I create a load balancer on Amazon EC2 for some reason I can’t add instances to the load balancer. When I click save nothing happens.

My process:

1.I’m start two wowza instances first.

2.Then I’m create load balancer

  1. Lastly I try to add my two instances to the load balancer.

Is there another method for doing this?

Could my issue be related to this post in the FAQ? ? If so please explain.

Q: Can I load balance Amazon EC2 instances launched using a Paid AMI?

Not at this time. Manually registering a Paid AMI based Amazon EC2 instance with the Elastic Load Balancer or using a Paid AMI with an Auto Scaling Group that is associated with the Elastic Load Balancer is not supported. Elastic Load Balancing with Paid AMI support will be available soon.

http://aws.amazon.com/ec2/faqs/#Can_I_load_balance_Amazon_EC2_instances_launched_using_a_Paid_AMI

Thanks

Derrick F.

Wowza EC2 instance are PAID AMIs, so it won’t work at present.

Richard

You can use that, it’s here:

https://www.wowza.com/docs/how-to-get-dynamic-load-balancing-addon

Richard

Derrick,

Use startup packages. This way you can start 30 edge servers at one time. See the EC2 User Guide for details on using startup packages. There are prepared startup packages here:

http://wowzamediasystems.s3.amazonaws.com/packagelist.html

Including Liverepeater origin and edge

http://wowzamediasystems.s3.amazonaws.com/com/wowza/startup/2.0/liverepeater-edge.zip

http://wowzamediasystems.s3.amazonaws.com/com/wowza/startup/2.0/liverepeater-edge.zip

The default startup packages is what Wowza EC2 instances use if you do not specify one of your own.

Short guide: download the startup package, open ElasticFox, open Launch Instance dialog to start a Wowza Instance, click the button labeled “Open Binary File” and select the startup package zip file, then launch the instance and it will be configured by the startup package.

Monitor the cluster to see if you need add edge servers:

http://[load-balancer-ip-address]:1935/loadbalancer?serverInfoXML

Richard

In addition to using startup packages, I’ve got a bash script that will allow you to not only launch with a given startup package, but to then do additional processing on the instance (such as downloading content, applying modules and so on).

http://blog.ianbeyer.com/code/ec2-startup

Startup packages in combination with this script (and a few others) have made automating quite simple.

-Ian

Thanks. So do I have to use the AddOn for Dynamic Load Balancing to get Load Balancing to work with EC2?

Derrick F.

Thanks Richard! I got it going with that.

Derrick F.

Richard,

I’m curious. What’s best approach for load balancing for large scale deployments of 30 or more instances with load balancing? It seems like that would take a while to set up using the AddOn approach.

Derrick F.

Thanks Richard and Ian! I’ll check into these items.