HTTPS streaming and dynamic load balancer using Wowza and AWS VPC
We are using
Wowza instances to perform live streaming on AWS infrastructure. We have a script that monitors load balancer and launches/kills instances when required based on the number of connections/viewers per edge server. It woks well for
HTTP/RTMP/RTMPT streaming. We are now trying to implement dynamic load balancing for
HTTPS streaming and automate the scaling process. The main question for us is how to automate it in a best possible way? We don't know the IPs of the edge servers that will be launched, therefore, can't create the DNS records in advance.
One possible solution would be to reserve some number of elastic IPs (i.e. 20) and the same number of
DNS names and use them during scaling. But this will set a limit on the number of servers we can launch dynamically.
Is there a more elegant solution that we can try to implement?
Our LB infrastructure is inside
AWS VPC and we have a star certificate that we can use. Also,
Wowza Load Balancer only used to tell the viewer the IP of the available edge server. After that, the viewer connects to the edge server directly.
Is it possible to utilize
SteamLock service for that and automate cert creation?
I've got an amazing reply to the same question on
SO and was also wondering if Wowza has a built-in solution too.