amazon-web-services – 如何在autscaling组中添加aws new elb

Aws推出了一个名为alb的新elb,这个页面解释了如何在自动缩放组中添加alb,但是在aws控制台中没有办法做到这一点.

有人知道将alb与自动缩放相关联吗?

https://docs.aws.amazon.com/elasticloadbalancing/latest/application/target-group-register-targets.html

If your load balancer is attached to an Auto Scaling group and the group
scales out, the targets added to the Auto Scaling group are
automatically registered with the target group configured for the Auto
Scaling group. If you detach the load balancer from the Auto Scaling
group, the targets in the Auto Scaling group are automatically
deregistered from the target group.

最佳答案 您无法在自动缩放组中集成alb,但可以集成目标组(具有目标[ECS或EC2]).

看看如何在这个答案integrate target group in auto scaling group

点赞