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;
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
add a comment |
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
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
add a comment |
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
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
amazon-ec2 amazon-web-services amazon-elb aws-cli
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
add a comment |
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
add a comment |
1 Answer
1
active
oldest
votes
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.
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
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%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
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.
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
add a comment |
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.
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
add a comment |
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.
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.
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
add a comment |
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
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%2f865342%2f2-elbs-albs-to-1-target-group-possible%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
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