Forum: NGINX newbie- How to use nginx as a load balancer

Posted by anyaservices (Guest)
on 2012-12-23 23:05
(Received via mailing list)
Hello all,


I have recently been introduced to nginx, hence pardon me if my 
questions
sound silly to you :)


(1) Kindly let me know how I can programmatically create/update/remove 
load
balancers for use with apps in different languages like 
PHP/Java/Ruby/Python
etc. So that I can deploy an app to a Cloud of my choice, and then 
create
and configure a load balancer for use with the deployed app.



(2) Also, how do I monitor the load balancer itself?



(3) How do I assign a load balancer to a group of servers?


(4) How do I add/remove a server that is one of the multiple servers 
running
the web app

(5) Am I correct in thinking that with ref to the web app that is being
served by the load balancer-->I simply have to deploy that web app to
multiple servers, and then configure the server running nginx to be the 
load
balancer for all those servers?

(6) Also, is the method/answer suggested by you applicable to any cloud 
of
my choice? Can I use nginx (with the help of your answers to this 
thread) as
a load balancer for any app/cloud?



Thanks,
Arvind.

Posted at Nginx Forum: 
http://forum.nginx.org/read.php?2,234375,234375#msg-234375
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.