Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We're moving from a single EC2 server setup to a multiple-webserver setup, and using ELB to spread traffic across the servers.

Our core application will handle this just fine. There's one sub directory that hosts a different application, and I'd like all requests for that application to go to a specific server.

Is this possible with ELB?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

Amazon's ELB operates at the IP level, it doesn't care about the protocol running on top.

What you're looking for is a HTTP reverse proxy. You could run another two EC2 instances with something like Apache, Nginx or Varnish to decides which back end instances to use based on the directory structure. Then you could use ELB to balance between these.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.