Please read this article with step by step guide. Also read the details in this doc.a) how to configure load balancer? Determine in flow request by port 8443?
You can apply the same license key to all the instances. If you're using AWS Marketplace AMI, it will be billed by Amazon itself for their own price. If you're using custom base image with your own license key, it will be billed according to running instances count as described here.b) How to apply license on scaled instances?
Yes.I just need to replace it with LB hostname right?
Yes, as described in the article. In the doc (p 2.3) just HTTP ports are shown. If you plan to use HTTPS, you should provide SSL certificates for load balancer domain name.Also to use port 8443 in the LB protocol setting?
You can add 1935/TCP port forwarding to load balancer too.I hv configured LB in AWS to forward http/https (port 80, 8443 and 8888) to webcallserver sitting in a auto scaling group, but how about RTMP traffic? How would it figure which server (if more than 1 in auto scaling group) to forward the RTMP traffic to?