Should I share an AWS application load balancer between applications?Network File Systems (NFS) between multiple AWS EC2 Instances for VisualSVN Servers behind Load BalancerShould you use secondary IP configuration to configure applications in EC2?Load Balancer, EC2 - HTTPS Connectioncalculating costs and usage for awsAWS Application Load Balancer vs Network Load BalancerShare a file between AWS serversAWS Load Balancer times outAWS Elastic Load Balancer- two web applications in cluster in different autoscaled groups- one load balancer or two?AWS redundant file share solution for WindowsAn Application Load Balancer with fewer Instances than Availability Zones?
Are go-arounds prohibited at St Barth (TFFJ)?
What do we gain with higher order logics?
Did Darth Vader wear the same suit for 20+ years?
How to retract the pitched idea from employer?
What can cause the front wheel to lock up when going over a small bump?
Select items in a list that contain criteria #2
When writing an error prompt, should we end the sentence with a exclamation mark or a dot?
Last survivors from different time periods living together
Remove sudoers using script
SF novella separating the dumb majority from the intelligent part of mankind
You've spoiled/damaged the card
Etymology of 'calcit(r)are'?
Why does NASA use higher frequencies even though they have worse Free Space Path Loss (FSPL)?
My coworkers think I had a long honeymoon. Actually I was diagnosed with cancer. How do I talk about it?
What is the purpose of building foundations?
When conversion from Integer to Single may lose precision
How to skip replacing first occurrence of a character in each line?
Does Lightning Network has concept of continuous stream of value?
Does an ice chest packed full of frozen food need ice?
Why does Kathryn say this in 12 Monkeys?
siunitx error: Invalid numerical input
Incremental Ranges!
Avoiding cliches when writing gods
Why does this sentence use 东西?
Should I share an AWS application load balancer between applications?
Network File Systems (NFS) between multiple AWS EC2 Instances for VisualSVN Servers behind Load BalancerShould you use secondary IP configuration to configure applications in EC2?Load Balancer, EC2 - HTTPS Connectioncalculating costs and usage for awsAWS Application Load Balancer vs Network Load BalancerShare a file between AWS serversAWS Load Balancer times outAWS Elastic Load Balancer- two web applications in cluster in different autoscaled groups- one load balancer or two?AWS redundant file share solution for WindowsAn Application Load Balancer with fewer Instances than Availability Zones?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I have two unrelated applications ( they are not two microservices of the same application, but two separate services ) running on Amazon Ec2 or Fargate. Should I share an application loadbalancer using path-based routing or have a separate loadbalancer for each application? What's the best practice?
amazon-web-services amazon-alb
add a comment |
I have two unrelated applications ( they are not two microservices of the same application, but two separate services ) running on Amazon Ec2 or Fargate. Should I share an application loadbalancer using path-based routing or have a separate loadbalancer for each application? What's the best practice?
amazon-web-services amazon-alb
add a comment |
I have two unrelated applications ( they are not two microservices of the same application, but two separate services ) running on Amazon Ec2 or Fargate. Should I share an application loadbalancer using path-based routing or have a separate loadbalancer for each application? What's the best practice?
amazon-web-services amazon-alb
I have two unrelated applications ( they are not two microservices of the same application, but two separate services ) running on Amazon Ec2 or Fargate. Should I share an application loadbalancer using path-based routing or have a separate loadbalancer for each application? What's the best practice?
amazon-web-services amazon-alb
amazon-web-services amazon-alb
edited May 20 at 14:21
Heschoon
asked May 20 at 14:03
HeschoonHeschoon
1667
1667
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
After some deeper research, it seems that sharing Application load balancers can be an effective way to reduce costs, with no downside.
A more appropriate solution than path-based routing when having different applications using the same ALB is host-based routing. Host-based routing is transparent for the underlying applications as it doesn't require them to know about the path the Listener Rule uses to dispatch the requests of their clients.
Useful references:
- Consolidating AWS Load Balancers using host-based routing
- Host-based routing support for Application Load Balancers
1
I agree that this seems like a good approach. Someone with significant practical experience may let you know if this has any practical issues.
– Tim
May 20 at 19:40
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f968104%2fshould-i-share-an-aws-application-load-balancer-between-applications%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
After some deeper research, it seems that sharing Application load balancers can be an effective way to reduce costs, with no downside.
A more appropriate solution than path-based routing when having different applications using the same ALB is host-based routing. Host-based routing is transparent for the underlying applications as it doesn't require them to know about the path the Listener Rule uses to dispatch the requests of their clients.
Useful references:
- Consolidating AWS Load Balancers using host-based routing
- Host-based routing support for Application Load Balancers
1
I agree that this seems like a good approach. Someone with significant practical experience may let you know if this has any practical issues.
– Tim
May 20 at 19:40
add a comment |
After some deeper research, it seems that sharing Application load balancers can be an effective way to reduce costs, with no downside.
A more appropriate solution than path-based routing when having different applications using the same ALB is host-based routing. Host-based routing is transparent for the underlying applications as it doesn't require them to know about the path the Listener Rule uses to dispatch the requests of their clients.
Useful references:
- Consolidating AWS Load Balancers using host-based routing
- Host-based routing support for Application Load Balancers
1
I agree that this seems like a good approach. Someone with significant practical experience may let you know if this has any practical issues.
– Tim
May 20 at 19:40
add a comment |
After some deeper research, it seems that sharing Application load balancers can be an effective way to reduce costs, with no downside.
A more appropriate solution than path-based routing when having different applications using the same ALB is host-based routing. Host-based routing is transparent for the underlying applications as it doesn't require them to know about the path the Listener Rule uses to dispatch the requests of their clients.
Useful references:
- Consolidating AWS Load Balancers using host-based routing
- Host-based routing support for Application Load Balancers
After some deeper research, it seems that sharing Application load balancers can be an effective way to reduce costs, with no downside.
A more appropriate solution than path-based routing when having different applications using the same ALB is host-based routing. Host-based routing is transparent for the underlying applications as it doesn't require them to know about the path the Listener Rule uses to dispatch the requests of their clients.
Useful references:
- Consolidating AWS Load Balancers using host-based routing
- Host-based routing support for Application Load Balancers
edited May 20 at 15:04
answered May 20 at 14:58
HeschoonHeschoon
1667
1667
1
I agree that this seems like a good approach. Someone with significant practical experience may let you know if this has any practical issues.
– Tim
May 20 at 19:40
add a comment |
1
I agree that this seems like a good approach. Someone with significant practical experience may let you know if this has any practical issues.
– Tim
May 20 at 19:40
1
1
I agree that this seems like a good approach. Someone with significant practical experience may let you know if this has any practical issues.
– Tim
May 20 at 19:40
I agree that this seems like a good approach. Someone with significant practical experience may let you know if this has any practical issues.
– Tim
May 20 at 19:40
add a comment |
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f968104%2fshould-i-share-an-aws-application-load-balancer-between-applications%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown