2 ELBs (ALBs) to 1 target group, possible? The 2019 Stack Overflow Developer Survey Results Are InEC2 Auto Scaling for mortals? Does that exist?AWS Instance stand-alone ssh connect string differences: root vs ec2-userChef Integration Tasks Best PracticesAWS - LaunchConfig starting before NAT instance is initiated (CloudFormation)EC2 Security Group, restrict inbound access by hostnameAmazon RDS and Auto-Scale EBS: Security GroupsAWS add option groupHow to use the same target group of instances with 2 ELBs (ALBs) + auto-scalingAWS Autoscaling Group won't honor five minute draining policy of the Target Group when scaling downAWS Elastic Load Balancer and target group health check fail for no apparent reason

Have you ever entered Singapore using a different passport or name?

How to type this arrow in math mode?

What tool would a Roman-age civilization have for the breaking of silver and other metals into dust?

Can we generate random numbers using irrational numbers like π and e?

Protecting Dualbooting Windows from dangerous code (like rm -rf)

Worn-tile Scrabble

When should I buy a clipper card after flying to OAK?

Should I use my personal e-mail address, or my workplace one, when registering to external websites for work purposes?

Shouldn't "much" here be used instead of "more"?

Return to UK after being refused entry years previously

Are spiders unable to hurt humans, especially very small spiders?

Right tool to dig six foot holes?

Can a rogue use sneak attack with weapons that have the thrown property even if they are not thrown?

Why is the maximum length of OpenWrt’s root password 8 characters?

Button changing it's text & action. Good or terrible?

How are circuits which use complex ICs normally simulated?

How to notate time signature switching consistently every measure

Apparent duplicates between Haynes service instructions and MOT

Resizing object distorts it (Illustrator CC 2018)

Loose spokes after only a few rides

What does Linus Torvalds mean when he says that Git "never ever" tracks a file?

Does a dangling wire really electrocute me if I'm standing in water?

Why do UK politicians seemingly ignore opinion polls on Brexit?

How to answer pointed "are you quitting" questioning when I don't want them to suspect



2 ELBs (ALBs) to 1 target group, possible?



The 2019 Stack Overflow Developer Survey Results Are InEC2 Auto Scaling for mortals? Does that exist?AWS Instance stand-alone ssh connect string differences: root vs ec2-userChef Integration Tasks Best PracticesAWS - LaunchConfig starting before NAT instance is initiated (CloudFormation)EC2 Security Group, restrict inbound access by hostnameAmazon RDS and Auto-Scale EBS: Security GroupsAWS add option groupHow to use the same target group of instances with 2 ELBs (ALBs) + auto-scalingAWS Autoscaling Group won't honor five minute draining policy of the Target Group when scaling downAWS Elastic Load Balancer and target group health check fail for no apparent reason



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








3















I have the following scheme:




Internet <-> elb1external <-> varnish <-> elb2internal <-> targetgroupofwebnodes




But some /static/* & /media/* are routed to targetgroupofwebnodes from elb1external directly, around varnish & second ELB, so I need both elb1 & elb2 to point to the same target group of web nodes.



The Amazon web console shows the group as grayed out, when I try to select it from the drop down on the second ELB, but I do see mentioning of that scheme being possible on the web.



As a workaround I've created targetgroupofwebnodes2 with the same servers in it, but I'm required to have only 1 & the next task is autoscaling, so there's going to be an autoscaling group instead of target group.



Must I use the CLI for that or there's a way through the web console?










share|improve this question
























  • You can targeting 2 ALB (or more) to 1 target group, but you can't chain two ELB/ALB (like in your description) in any case. Maybe explain more about your requirement other than the solution so others able to help you with a possible way to solve it

    – number5
    Jul 27 '17 at 0:10












  • It looks like you can't point 2 ALBs to 1 target group (that's actually what I need) according to Amazon doc: docs.aws.amazon.com/elasticloadbalancing/latest/application/… Load balancers per target group: 1

    – GTXBxaKgCANmT9D9
    Jul 27 '17 at 17:25

















3















I have the following scheme:




Internet <-> elb1external <-> varnish <-> elb2internal <-> targetgroupofwebnodes




But some /static/* & /media/* are routed to targetgroupofwebnodes from elb1external directly, around varnish & second ELB, so I need both elb1 & elb2 to point to the same target group of web nodes.



The Amazon web console shows the group as grayed out, when I try to select it from the drop down on the second ELB, but I do see mentioning of that scheme being possible on the web.



As a workaround I've created targetgroupofwebnodes2 with the same servers in it, but I'm required to have only 1 & the next task is autoscaling, so there's going to be an autoscaling group instead of target group.



Must I use the CLI for that or there's a way through the web console?










share|improve this question
























  • You can targeting 2 ALB (or more) to 1 target group, but you can't chain two ELB/ALB (like in your description) in any case. Maybe explain more about your requirement other than the solution so others able to help you with a possible way to solve it

    – number5
    Jul 27 '17 at 0:10












  • It looks like you can't point 2 ALBs to 1 target group (that's actually what I need) according to Amazon doc: docs.aws.amazon.com/elasticloadbalancing/latest/application/… Load balancers per target group: 1

    – GTXBxaKgCANmT9D9
    Jul 27 '17 at 17:25













3












3








3


2






I have the following scheme:




Internet <-> elb1external <-> varnish <-> elb2internal <-> targetgroupofwebnodes




But some /static/* & /media/* are routed to targetgroupofwebnodes from elb1external directly, around varnish & second ELB, so I need both elb1 & elb2 to point to the same target group of web nodes.



The Amazon web console shows the group as grayed out, when I try to select it from the drop down on the second ELB, but I do see mentioning of that scheme being possible on the web.



As a workaround I've created targetgroupofwebnodes2 with the same servers in it, but I'm required to have only 1 & the next task is autoscaling, so there's going to be an autoscaling group instead of target group.



Must I use the CLI for that or there's a way through the web console?










share|improve this question
















I have the following scheme:




Internet <-> elb1external <-> varnish <-> elb2internal <-> targetgroupofwebnodes




But some /static/* & /media/* are routed to targetgroupofwebnodes from elb1external directly, around varnish & second ELB, so I need both elb1 & elb2 to point to the same target group of web nodes.



The Amazon web console shows the group as grayed out, when I try to select it from the drop down on the second ELB, but I do see mentioning of that scheme being possible on the web.



As a workaround I've created targetgroupofwebnodes2 with the same servers in it, but I'm required to have only 1 & the next task is autoscaling, so there's going to be an autoscaling group instead of target group.



Must I use the CLI for that or there's a way through the web console?







amazon-ec2 amazon-web-services amazon-elb aws-cli






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 13 hours ago









slm

5,066124360




5,066124360










asked Jul 26 '17 at 19:19









GTXBxaKgCANmT9D9GTXBxaKgCANmT9D9

83210




83210












  • You can targeting 2 ALB (or more) to 1 target group, but you can't chain two ELB/ALB (like in your description) in any case. Maybe explain more about your requirement other than the solution so others able to help you with a possible way to solve it

    – number5
    Jul 27 '17 at 0:10












  • It looks like you can't point 2 ALBs to 1 target group (that's actually what I need) according to Amazon doc: docs.aws.amazon.com/elasticloadbalancing/latest/application/… Load balancers per target group: 1

    – GTXBxaKgCANmT9D9
    Jul 27 '17 at 17:25

















  • You can targeting 2 ALB (or more) to 1 target group, but you can't chain two ELB/ALB (like in your description) in any case. Maybe explain more about your requirement other than the solution so others able to help you with a possible way to solve it

    – number5
    Jul 27 '17 at 0:10












  • It looks like you can't point 2 ALBs to 1 target group (that's actually what I need) according to Amazon doc: docs.aws.amazon.com/elasticloadbalancing/latest/application/… Load balancers per target group: 1

    – GTXBxaKgCANmT9D9
    Jul 27 '17 at 17:25
















You can targeting 2 ALB (or more) to 1 target group, but you can't chain two ELB/ALB (like in your description) in any case. Maybe explain more about your requirement other than the solution so others able to help you with a possible way to solve it

– number5
Jul 27 '17 at 0:10






You can targeting 2 ALB (or more) to 1 target group, but you can't chain two ELB/ALB (like in your description) in any case. Maybe explain more about your requirement other than the solution so others able to help you with a possible way to solve it

– number5
Jul 27 '17 at 0:10














It looks like you can't point 2 ALBs to 1 target group (that's actually what I need) according to Amazon doc: docs.aws.amazon.com/elasticloadbalancing/latest/application/… Load balancers per target group: 1

– GTXBxaKgCANmT9D9
Jul 27 '17 at 17:25





It looks like you can't point 2 ALBs to 1 target group (that's actually what I need) according to Amazon doc: docs.aws.amazon.com/elasticloadbalancing/latest/application/… Load balancers per target group: 1

– GTXBxaKgCANmT9D9
Jul 27 '17 at 17:25










1 Answer
1






active

oldest

votes


















4














I'm not sure if you can point two ALBs to a single TargetGroup. However since you mentioned AutoScaling you can have the ASG instances automatically registered in more than one TargetGroups, therefore your approach with two target groups will work just as well with AutoScaling.



Hope that helps.



UPDATE #1



The OP was able to find this link to AWS docs on limits titled: Limits for Your Application Load Balancers. In this docs on limits the number of target groups per ALB is mentioned in this table:




Target Group Limits



  • Load balancers per target group: 1

  • Targets per target group (instances or IP addresses): 1000

  • Targets per target group (Lambda functions): 1



Based on this info, you cannot have the same target group in more than one ALB.






share|improve this answer




















  • 1





    Thanks for your answer! I've actually figured it out myself while playing with auto scaling groups. Two ALBs can't be pointed to a single Target Group & it's strange: docs.aws.amazon.com/elasticloadbalancing/latest/application/… Load balancers per target group: 1

    – GTXBxaKgCANmT9D9
    Jul 27 '17 at 17:27






  • 1





    @GTXBxaKgCANmT9D9 if the answer is correct please upvote and accept it to reward the reputation points for the effort taken answering your question. Thanks!

    – MLu
    Oct 7 '18 at 6:16











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%2f865342%2f2-elbs-albs-to-1-target-group-possible%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









4














I'm not sure if you can point two ALBs to a single TargetGroup. However since you mentioned AutoScaling you can have the ASG instances automatically registered in more than one TargetGroups, therefore your approach with two target groups will work just as well with AutoScaling.



Hope that helps.



UPDATE #1



The OP was able to find this link to AWS docs on limits titled: Limits for Your Application Load Balancers. In this docs on limits the number of target groups per ALB is mentioned in this table:




Target Group Limits



  • Load balancers per target group: 1

  • Targets per target group (instances or IP addresses): 1000

  • Targets per target group (Lambda functions): 1



Based on this info, you cannot have the same target group in more than one ALB.






share|improve this answer




















  • 1





    Thanks for your answer! I've actually figured it out myself while playing with auto scaling groups. Two ALBs can't be pointed to a single Target Group & it's strange: docs.aws.amazon.com/elasticloadbalancing/latest/application/… Load balancers per target group: 1

    – GTXBxaKgCANmT9D9
    Jul 27 '17 at 17:27






  • 1





    @GTXBxaKgCANmT9D9 if the answer is correct please upvote and accept it to reward the reputation points for the effort taken answering your question. Thanks!

    – MLu
    Oct 7 '18 at 6:16















4














I'm not sure if you can point two ALBs to a single TargetGroup. However since you mentioned AutoScaling you can have the ASG instances automatically registered in more than one TargetGroups, therefore your approach with two target groups will work just as well with AutoScaling.



Hope that helps.



UPDATE #1



The OP was able to find this link to AWS docs on limits titled: Limits for Your Application Load Balancers. In this docs on limits the number of target groups per ALB is mentioned in this table:




Target Group Limits



  • Load balancers per target group: 1

  • Targets per target group (instances or IP addresses): 1000

  • Targets per target group (Lambda functions): 1



Based on this info, you cannot have the same target group in more than one ALB.






share|improve this answer




















  • 1





    Thanks for your answer! I've actually figured it out myself while playing with auto scaling groups. Two ALBs can't be pointed to a single Target Group & it's strange: docs.aws.amazon.com/elasticloadbalancing/latest/application/… Load balancers per target group: 1

    – GTXBxaKgCANmT9D9
    Jul 27 '17 at 17:27






  • 1





    @GTXBxaKgCANmT9D9 if the answer is correct please upvote and accept it to reward the reputation points for the effort taken answering your question. Thanks!

    – MLu
    Oct 7 '18 at 6:16













4












4








4







I'm not sure if you can point two ALBs to a single TargetGroup. However since you mentioned AutoScaling you can have the ASG instances automatically registered in more than one TargetGroups, therefore your approach with two target groups will work just as well with AutoScaling.



Hope that helps.



UPDATE #1



The OP was able to find this link to AWS docs on limits titled: Limits for Your Application Load Balancers. In this docs on limits the number of target groups per ALB is mentioned in this table:




Target Group Limits



  • Load balancers per target group: 1

  • Targets per target group (instances or IP addresses): 1000

  • Targets per target group (Lambda functions): 1



Based on this info, you cannot have the same target group in more than one ALB.






share|improve this answer















I'm not sure if you can point two ALBs to a single TargetGroup. However since you mentioned AutoScaling you can have the ASG instances automatically registered in more than one TargetGroups, therefore your approach with two target groups will work just as well with AutoScaling.



Hope that helps.



UPDATE #1



The OP was able to find this link to AWS docs on limits titled: Limits for Your Application Load Balancers. In this docs on limits the number of target groups per ALB is mentioned in this table:




Target Group Limits



  • Load balancers per target group: 1

  • Targets per target group (instances or IP addresses): 1000

  • Targets per target group (Lambda functions): 1



Based on this info, you cannot have the same target group in more than one ALB.







share|improve this answer














share|improve this answer



share|improve this answer








edited 13 hours ago









slm

5,066124360




5,066124360










answered Jul 27 '17 at 9:19









MLuMLu

9,67722445




9,67722445







  • 1





    Thanks for your answer! I've actually figured it out myself while playing with auto scaling groups. Two ALBs can't be pointed to a single Target Group & it's strange: docs.aws.amazon.com/elasticloadbalancing/latest/application/… Load balancers per target group: 1

    – GTXBxaKgCANmT9D9
    Jul 27 '17 at 17:27






  • 1





    @GTXBxaKgCANmT9D9 if the answer is correct please upvote and accept it to reward the reputation points for the effort taken answering your question. Thanks!

    – MLu
    Oct 7 '18 at 6:16












  • 1





    Thanks for your answer! I've actually figured it out myself while playing with auto scaling groups. Two ALBs can't be pointed to a single Target Group & it's strange: docs.aws.amazon.com/elasticloadbalancing/latest/application/… Load balancers per target group: 1

    – GTXBxaKgCANmT9D9
    Jul 27 '17 at 17:27






  • 1





    @GTXBxaKgCANmT9D9 if the answer is correct please upvote and accept it to reward the reputation points for the effort taken answering your question. Thanks!

    – MLu
    Oct 7 '18 at 6:16







1




1





Thanks for your answer! I've actually figured it out myself while playing with auto scaling groups. Two ALBs can't be pointed to a single Target Group & it's strange: docs.aws.amazon.com/elasticloadbalancing/latest/application/… Load balancers per target group: 1

– GTXBxaKgCANmT9D9
Jul 27 '17 at 17:27





Thanks for your answer! I've actually figured it out myself while playing with auto scaling groups. Two ALBs can't be pointed to a single Target Group & it's strange: docs.aws.amazon.com/elasticloadbalancing/latest/application/… Load balancers per target group: 1

– GTXBxaKgCANmT9D9
Jul 27 '17 at 17:27




1




1





@GTXBxaKgCANmT9D9 if the answer is correct please upvote and accept it to reward the reputation points for the effort taken answering your question. Thanks!

– MLu
Oct 7 '18 at 6:16





@GTXBxaKgCANmT9D9 if the answer is correct please upvote and accept it to reward the reputation points for the effort taken answering your question. Thanks!

– MLu
Oct 7 '18 at 6:16

















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%2f865342%2f2-elbs-albs-to-1-target-group-possible%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 make RAID controller rescan devices The 2019 Stack Overflow Developer Survey Results Are InLSI MegaRAID SAS 9261-8i: Disk isn't recognized after replacementHow to monitor the hard disk status behind Dell PERC H710 Raid Controller with CentOS 6?LSI MegaRAID - Recreate missing RAID 1 arrayext. 2-bay USB-Drive with RAID: btrfs RAID vs built-in RAIDInvalid SAS topologyDoes enabling JBOD mode on LSI based controllers affect existing logical disks/arrays?Why is there a shift between the WWN reported from the controller and the Linux system?Optimal RAID 6+0 Setup for 40+ 4TB DisksAccidental SAS cable removal

Куамањотепек (Чилапа де Алварез) Садржај Становништво Види још Референце Спољашње везе Мени за навигацију17°19′47″N 99°1′51″W / 17.32972° СГШ; 99.03083° ЗГД / 17.32972; -99.0308317°19′47″N 99°1′51″W / 17.32972° СГШ; 99.03083° ЗГД / 17.32972; -99.030838877656„Instituto Nacional de Estadística y Geografía”„The GeoNames geographical database”Мексичка насељапроширитиуу

Can the Right Ascension and Argument of Perigee of a spacecraft's orbit keep varying by themselves with time? The 2019 Stack Overflow Developer Survey Results Are InHow is the altitude of a satellite defined, given that the Earth is not spherical?Why do satellites appear to move faster when overhead and slower closer to the horizon?For the mathematical relationship between J2 (km^5/s^2) and dimensionless J2 - which one is derived from the other?Why is Nodal precession affected by the rotational period of the planet?Why is it so difficult to predict the exact reentry location and time of a very low earth orbit object?Why are low earth orbit satellites not visible from the same place all the time?Perifocal coordinates and the orbit equationHow feasible is the Moonspike mission?What was the typical perigee after a shuttle de-orbit burn?I am having trouble calculating my classic orbital elements and am at a loss on where to lookAm I supposed to modify the gravitational constant with scale and why do fps & time scale changes cause my orbit to break?How Local time of a sun synchronous orbit is related to Right ascension of ascending node?What is wrong with my orbit sim equations? How can I fix them?How to obtain the initial positions and velocities of an inclined orbit?