# ModuleRTMPAuthenticate and Amazon EC2 ELB

**URL:** https://community.wowza.com/t/modulertmpauthenticate-and-amazon-ec2-elb/39292
**Category:** Wowza Streaming Engine
**Created:** [September 18, 2012, 10:36am UTC](https://community.wowza.com/t/modulertmpauthenticate-and-amazon-ec2-elb/39292 "2012-09-18T10:36:17Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![John\_Moser](https://avatars.discourse-cdn.com/v4/letter/j/5fc32e/32.png) [@John\_Moser](https://community.wowza.com/u/John_Moser)
#### Post date: [September 18, 2012, 10:36am UTC](https://community.wowza.com/t/modulertmpauthenticate-and-amazon-ec2-elb/39292/1 "2012-09-18T10:36:17Z")

</div>

Hi all.

Using Amazon EC2 ELB and trying to get RTMP authentication with ModuleRTMPAuthenticate. The load balancer is balancing port 1935.

Without ModuleRTMPAuthenticate, we can stream to the ELB fine. With ModuleRTMPAuthenticate, we can stream if and only if exactly one Wowza server is active; if there are two alive, authentication fails 100% of the time. In this case, attempting to stream directly to either (instead of the ELB) does work, and taking either down allows us to stream through the ELB to the other with successful authentication as well.

Anyone have any suggestions for RTMP authentication through Amazon ELB?

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [September 18, 2012, 4:09pm UTC](https://community.wowza.com/t/modulertmpauthenticate-and-amazon-ec2-elb/39292/2 "2012-09-18T16:09:04Z")

</div>

Why ELB? (I don’t have experience with ELB.) Have you considered Wowza Dynamic Load Balancer, which is very simple system that just tracks least loaded edge for clients to connect to, and is not involved in actual streaming

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

Richard

---

<div class="post-metadata">

### Author: ![Robert\_Ciepiela](https://avatars.discourse-cdn.com/v4/letter/r/b5ac83/32.png) [@Robert\_Ciepiela](https://community.wowza.com/u/Robert_Ciepiela)
#### Post date: [May 21, 2017, 6:23pm UTC](https://community.wowza.com/t/modulertmpauthenticate-and-amazon-ec2-elb/39292/3 "2017-05-21T18:23:17Z")

</div>

Hi!

Please Suggest the load balancer for publishers?? i try to user HAProxy… but it seems the Haproxy is also not redirecting connection its just a proxy also consuming bandwidth on the server where Haproxy is installed… will ELB resolve this issue?? if not what are the alternatives??
