单一目标组用于多个服务 – ECS

huangapple go评论61阅读模式
英文:

Single target group for multiple services - ECS

问题

我有10个在ECS上运行的服务,它们在不同的端口上运行,我必须在ECS上使用应用负载均衡器实现蓝/绿部署。我有两种情况:

  1. 需要根据服务创建20个目标组(蓝色和绿色目标组) - 我想知道这是否会很复杂。
  2. 或者我可以在特定的监听器中创建规则,其中我可以定义基于路径(端口)的路由 - 不太确定这一点。

我可以尝试哪些方法?

英文:

I have 10 services which are running on a diff-diff port on ECS, I have to implement blue/green deployment with an application load balancer on ECS. I have two scenarios:

  1. Needs to be created 20 Target Group as per services(blue and green target groups) -- I wonder
    if this will be complicated.
  2. or can I create a rules in a particular
    listener where I can define the path (port) base routing -- not sure
    about this.

What things can I try?

答案1

得分: 1

每个目标组仅适用于单个端口。您将需要创建多个目标组。

英文:

Each target group is only for a single port. You will have to create multiple target groups.

huangapple
  • 本文由 发表于 2023年7月17日 19:27:27
  • 转载请务必保留本文链接:https://go.coder-hub.com/76703995.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定