AWS Application load balancer in switching between two frontendsCan I use an Amazon Load Balancer in front of multiple GlusterFS EC2 instances?Scaling a web application horizontally in Tomcat (load balancing / clustering)Add LoadBalancer to existing servicegoogle cloud http(s) load balancer returning 502 despite healthy backend serviceAmazon ECS Load balancer set to port 9090 doesnt workWhat container/service creates external load balancer rules in Docker for Azure?AWS Application Load Balancer vs Network Load BalancerTCP request is getting drop on Google cloud load balancerAWS Application Load Balancer not workingSlow GCP HTTP Global Load Balancer configuration
A team managed by my peer is close to melting down
Do they make "karaoke" versions of concertos for solo practice?
Why did the Death Eaters wait to reopen the Chamber of Secrets?
How to represent jealousy in a cute way?
Print "N NE E SE S SW W NW"
Is Jesus the last Prophet?
Approach sick days in feedback meeting
When a class dynamically allocates itself at constructor, why does stack overflow happen instead of std::bad_alloc?
Is plausible to have subspecies with & without separate sexes?
I sent an angry e-mail to my interviewers about a conflict at my home institution. Could this affect my application?
Does WiFi affect the quality of images downloaded from the internet?
Simple log rotation script
Part of my house is inexplicably gone
Is tuition reimbursement a good idea if you have to stay with the job
Why are ambiguous grammars bad?
In The Incredibles 2, why does Screenslaver's name use a pun on something that doesn't exist in the 1950s pastiche?
ISP is not hashing the password I log in with online. Should I take any action?
What is the language spoken in Babylon?
Content Editor Web Part - SharePoint Online?
How to soundproof the Wood Shop?
How can I find out about the game world without meta-influencing it?
How (un)safe is it to ride barefoot?
Why is it bad to use your whole foot in rock climbing
Is it a good security practice to force employees hide their employer to avoid being targeted?
AWS Application load balancer in switching between two frontends
Can I use an Amazon Load Balancer in front of multiple GlusterFS EC2 instances?Scaling a web application horizontally in Tomcat (load balancing / clustering)Add LoadBalancer to existing servicegoogle cloud http(s) load balancer returning 502 despite healthy backend serviceAmazon ECS Load balancer set to port 9090 doesnt workWhat container/service creates external load balancer rules in Docker for Azure?AWS Application Load Balancer vs Network Load BalancerTCP request is getting drop on Google cloud load balancerAWS Application Load Balancer not workingSlow GCP HTTP Global Load Balancer configuration
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I have two angular6 frontends, one running on port 4000, the second running on 4100.
Do a Dockerized push to ECR and create two task definitions ... create cluster and then 2 services of these two frontends, both are running on their ports well and good.
Now I create an application load balancer with ssl, default traffic to port 4000 frontend on domain driver.com. Then add a rule for the second frontend, like:
Host driver.com
Path /secondfrontend
so it becomes driver.com/secondfrontend
I get the secondfrontend but it's blank
amazon-web-services docker load-balancing amazon-alb angular
add a comment |
I have two angular6 frontends, one running on port 4000, the second running on 4100.
Do a Dockerized push to ECR and create two task definitions ... create cluster and then 2 services of these two frontends, both are running on their ports well and good.
Now I create an application load balancer with ssl, default traffic to port 4000 frontend on domain driver.com. Then add a rule for the second frontend, like:
Host driver.com
Path /secondfrontend
so it becomes driver.com/secondfrontend
I get the secondfrontend but it's blank
amazon-web-services docker load-balancing amazon-alb angular
Have you been able to reference the second port number anywhere?
– TristanK
May 28 at 22:49
Yess .. I have two target groups on each target i have my two frontend services .. one has port 4000 that target is default access target with driver.com and other is on 4100 and i add that target group in rules
– dev
May 28 at 23:00
i have specify host and path and than forward to the second frontend target group
– dev
May 28 at 23:01
When you say "blank". What exactly do you mean? Are both ports 4000 and 4100 open in your Security Group?
– DTD
May 28 at 23:29
yeah through ip it is working fine .. both load well
– dev
May 29 at 0:26
add a comment |
I have two angular6 frontends, one running on port 4000, the second running on 4100.
Do a Dockerized push to ECR and create two task definitions ... create cluster and then 2 services of these two frontends, both are running on their ports well and good.
Now I create an application load balancer with ssl, default traffic to port 4000 frontend on domain driver.com. Then add a rule for the second frontend, like:
Host driver.com
Path /secondfrontend
so it becomes driver.com/secondfrontend
I get the secondfrontend but it's blank
amazon-web-services docker load-balancing amazon-alb angular
I have two angular6 frontends, one running on port 4000, the second running on 4100.
Do a Dockerized push to ECR and create two task definitions ... create cluster and then 2 services of these two frontends, both are running on their ports well and good.
Now I create an application load balancer with ssl, default traffic to port 4000 frontend on domain driver.com. Then add a rule for the second frontend, like:
Host driver.com
Path /secondfrontend
so it becomes driver.com/secondfrontend
I get the secondfrontend but it's blank
amazon-web-services docker load-balancing amazon-alb angular
amazon-web-services docker load-balancing amazon-alb angular
edited May 29 at 0:47
Stephen Rauch
221139
221139
asked May 28 at 20:39
devdev
11
11
Have you been able to reference the second port number anywhere?
– TristanK
May 28 at 22:49
Yess .. I have two target groups on each target i have my two frontend services .. one has port 4000 that target is default access target with driver.com and other is on 4100 and i add that target group in rules
– dev
May 28 at 23:00
i have specify host and path and than forward to the second frontend target group
– dev
May 28 at 23:01
When you say "blank". What exactly do you mean? Are both ports 4000 and 4100 open in your Security Group?
– DTD
May 28 at 23:29
yeah through ip it is working fine .. both load well
– dev
May 29 at 0:26
add a comment |
Have you been able to reference the second port number anywhere?
– TristanK
May 28 at 22:49
Yess .. I have two target groups on each target i have my two frontend services .. one has port 4000 that target is default access target with driver.com and other is on 4100 and i add that target group in rules
– dev
May 28 at 23:00
i have specify host and path and than forward to the second frontend target group
– dev
May 28 at 23:01
When you say "blank". What exactly do you mean? Are both ports 4000 and 4100 open in your Security Group?
– DTD
May 28 at 23:29
yeah through ip it is working fine .. both load well
– dev
May 29 at 0:26
Have you been able to reference the second port number anywhere?
– TristanK
May 28 at 22:49
Have you been able to reference the second port number anywhere?
– TristanK
May 28 at 22:49
Yess .. I have two target groups on each target i have my two frontend services .. one has port 4000 that target is default access target with driver.com and other is on 4100 and i add that target group in rules
– dev
May 28 at 23:00
Yess .. I have two target groups on each target i have my two frontend services .. one has port 4000 that target is default access target with driver.com and other is on 4100 and i add that target group in rules
– dev
May 28 at 23:00
i have specify host and path and than forward to the second frontend target group
– dev
May 28 at 23:01
i have specify host and path and than forward to the second frontend target group
– dev
May 28 at 23:01
When you say "blank". What exactly do you mean? Are both ports 4000 and 4100 open in your Security Group?
– DTD
May 28 at 23:29
When you say "blank". What exactly do you mean? Are both ports 4000 and 4100 open in your Security Group?
– DTD
May 28 at 23:29
yeah through ip it is working fine .. both load well
– dev
May 29 at 0:26
yeah through ip it is working fine .. both load well
– dev
May 29 at 0:26
add a comment |
1 Answer
1
active
oldest
votes
It was path base routing problem
removing path base routing and left only host based works fine
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%2f969223%2faws-application-load-balancer-in-switching-between-two-frontends%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
It was path base routing problem
removing path base routing and left only host based works fine
add a comment |
It was path base routing problem
removing path base routing and left only host based works fine
add a comment |
It was path base routing problem
removing path base routing and left only host based works fine
It was path base routing problem
removing path base routing and left only host based works fine
answered May 29 at 0:28
devdev
11
11
add a comment |
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%2f969223%2faws-application-load-balancer-in-switching-between-two-frontends%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
Have you been able to reference the second port number anywhere?
– TristanK
May 28 at 22:49
Yess .. I have two target groups on each target i have my two frontend services .. one has port 4000 that target is default access target with driver.com and other is on 4100 and i add that target group in rules
– dev
May 28 at 23:00
i have specify host and path and than forward to the second frontend target group
– dev
May 28 at 23:01
When you say "blank". What exactly do you mean? Are both ports 4000 and 4100 open in your Security Group?
– DTD
May 28 at 23:29
yeah through ip it is working fine .. both load well
– dev
May 29 at 0:26