Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7939659
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T23:10:11+00:00 2026-06-03T23:10:11+00:00

I am trying to set up my application server behind the Amazon Elastic Load

  • 0

I am trying to set up my application server behind the Amazon Elastic Load Balancer. I am thinking to have one server dedicated for old version, and all other server dedicated for new version. I am thinking to implement this using version id in path parameter

e.g.

Current Version (3.0) : http://example.com/APPNAME/service

Old Version (2.2) : http://example.com/APPNAME/v2.2/service

I would like to know:

  1. Does ELB has ability to look into HTTP request?
  2. Can ELB redirect request depending on the URL Path Parameter?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T23:10:12+00:00Added an answer on June 3, 2026 at 11:10 pm

    Update 2017-04-05

    After launching the new Application Load Balancer with path-based routing support last summer (see preceding update), AWS has now also added Host-Based Routing Support for AWS Application Load Balancers:

    […] You can now create Application Load Balancer rules that route incoming
    traffic based on the domain name specified in the Host header.
    Requests to api.example.com can be sent to one target group, requests
    to mobile.example.com to another, and all others (by way of a default
    rule) can be sent to a third. You can also create rules that combine
    host-based routing and path-based routing. This would allow you to
    route requests to api.example.com/production and
    api.example.com/sandbox to distinct target groups.

    Update 2016-08-11

    AWS has just (Aug 11, 2016) launched a new Application Load Balancer for the Elastic Load Balancing service, which is designed to improve flexibility and performance of real-time applications, microservices, container-based architectures, and streaming applications:

    This new load balancer, which also supports the WebSocket protocol and
    HTTP/2, operates at the application layer and provides content-based
    routing
    support. This allows the Application Load Balancer to route
    requests across multiple services or containers running on one or more
    Amazon Elastic Compute Cloud (Amazon EC2) instances, helping to reduce
    costs and simplify service discovery. [emphasis mine]

    As emphasized in the introductory blog post, this new Application Load Balancer option for ELB […] runs at Layer 7 and supports a number of advanced features [whereras] the original option (now called a Classic Load Balancer) is still available to you and continues to offer Layer 4 and Layer 7 functionality.

    More specifically ELB now supports the scenario at hand, because each Application Load Balancer allows you to define up to 10 URL-based rules to route requests to target groups (AWS plans to give you access to other routing methods over time).


    Initial Answer

    This is not possible – Amazon ELB mainly (but see below) provides Transport-layer load balancing (OSI layer 4), which bases its load balancing decisions solely on the TCP connection but ignores the application payload. The latter would allow Application-layer load balancing (OSI layer 7), where the application payload is taken into account for the load balancing decisions indeed.

    The default configuration in Amazon ELB actually provides basic application level support for HTTP/HTTPS/SSL (e.g. terminating SSL connections and inserting X-Forwarded-* headers), but you cannot adjust this configuration; put another way, ELB does look into the HTTP request here indeed, but you have no control over the ELB behavior n this regard.

    This is explained in more detail within Choosing Listeners for Your Load Balancer, e.g.:

    Using TCP/SSL (Layer 4) with Elastic Load Balancing

    When you use TCP for both front-end and back-end connections, your
    load balancer will forward the request to the back-end instances
    without modification to the headers
    . This configuration will also not
    insert cookies for session stickiness or the X-Forwarded-* headers.

    […]

    Using HTTP/HTTPS (Layer 7) with Elastic Load Balancing

    When you use HTTP (layer 7) for both front-end and back-end
    connections, your load balancer parses the headers in the request and
    terminates the connection before re-sending the request to the
    registered instance(s)
    . This is the default configuration provided by
    Elastic Load Balancing.

    [emphasis mine]

    The Architectural Overview provides an illustration and more details as well.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

so i'm trying to set up an application where i have multiple panels inside
I am trying to set up a basic Silverlight application to run behind the
I am trying to set up a new application and one of the steps
I'm trying to set up an application server to run a simple website and
I have two separate installs of WebSphere. (Actually one is WebSphere Application Server V6.1
I'm trying to set up a web application for the first time on Amazon
I am trying to configure Quartz(1.8) in my server application (Jboss5.1.x EJB3.0) I have
I have an application, and I am trying to set up a fairly large
In my application, I am trying to set my application as startup by adding
Currently trying to set up and deploy a Sencha Touch 2 application. I'm following

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.