Load Balancer via Cloudformation

0

Is it possible to associate more than one application to an ELB generated by cloudformation using target groups?

1개 답변
0
수락된 답변

Hi,

Yes is possible.

You can associate a load balancer with multiple target groups by linking them via listener using the aws::ElasticLoadBalancingV2::Listener type:

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-listener.html

And in its default actions you can specify target group arns https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-action.html

Hope it helps ;)

profile picture
전문가
답변함 일 년 전
  • Thank you for your help. from what I saw in the documentation it is Specifies a target group for an Application Load Balancer, a Network Load Balancer, or a Gateway Load Balancer. If it is an ELB classic does it also work?

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠