I have a web service. It is deployed on 4 AWS EC2 machines to balance the load from the clients. I'm considering two solutions. One is using the AWS ELB. The other is using node-http-proxy to implement a reverse proxy by myself. It spreads connections across the 4 machines.
Both of them can implement the load balance functionality. I don't know which one is better. AWS ELB may be more robust than the reverse proxy. But reverse proxy solution is cost effective. I don't need to pay for the AWS ELB.
Does anyone can give some comments which solution is better? And why?
Thanks,
Jeffrey