Search code examples
amazon-ec2nginxload-balancinglinode

Load balancing between Linone and EC2 with Nginx


How to load balance with Nginx between a Linode and an EC2 instance? I don't want to use subdomains like

www1.abc.com
www2.abc.com

So there are different IP addresses, but I just want see abc.com from "outside".


Solution

  • As per: http://mickeyben.com/blog/2009/12/30/using-nginx-as-a-load-balancer/

    You would need once instance of Nginx running somewhere.