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;








-1















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










share|improve this question
























  • 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

















-1















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










share|improve this question
























  • 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













-1












-1








-1








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










share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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

















  • 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










1 Answer
1






active

oldest

votes


















-2














It was path base routing problem
removing path base routing and left only host based works fine






share|improve this answer























    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
    );



    );













    draft saved

    draft discarded


















    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









    -2














    It was path base routing problem
    removing path base routing and left only host based works fine






    share|improve this answer



























      -2














      It was path base routing problem
      removing path base routing and left only host based works fine






      share|improve this answer

























        -2












        -2








        -2







        It was path base routing problem
        removing path base routing and left only host based works fine






        share|improve this answer













        It was path base routing problem
        removing path base routing and left only host based works fine







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered May 29 at 0:28









        devdev

        11




        11



























            draft saved

            draft discarded
















































            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.




            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            How to write a 12-bar blues melodyI-IV-V blues progressionHow to play the bridges in a standard blues progressionHow does Gdim7 fit in C# minor?question on a certain chord progressionMusicology of Melody12 bar blues, spread rhythm: alternative to 6th chord to avoid finger stretchChord progressions/ Root key/ MelodiesHow to put chords (POP-EDM) under a given lead vocal melody (starting from a good knowledge in music theory)Are there “rules” for improvising with the minor pentatonic scale over 12-bar shuffle?Confusion about blues scale and chords

            What if the end-user didn't have the required library?What is setup.py?What is a clean, pythonic way to have multiple constructors in Python?What does Ruby have that Python doesn't, and vice versa?What is the reason for having '//' in Python?How do I create a namespace package in Python?How to package shared objects that python modules depend on?setuptools vs. distutils: why is distutils still a thing?Navigation in Windows 10 vs code not going to virtualenv library when the same library is installed at user levelPython create package for local usePackaging a project that uses multiple python versionsWhy is permission denied on pip install except for when “--user” is included at end of command?

            Esgonzo ibérico Índice Descrición Distribución Hábitat Ameazas Notas Véxase tamén "Acerca dos nomes dos anfibios e réptiles galegos""Chalcides bedriagai"Chalcides bedriagai en Carrascal, L. M. Salvador, A. (Eds). Enciclopedia virtual de los vertebrados españoles. Museo Nacional de Ciencias Naturales, Madrid. España.Fotos