英文:
Single target group for multiple services - ECS
问题
我有10个在ECS上运行的服务,它们在不同的端口上运行,我必须在ECS上使用应用负载均衡器实现蓝/绿部署。我有两种情况:
- 需要根据服务创建20个目标组(蓝色和绿色目标组) - 我想知道这是否会很复杂。
- 或者我可以在特定的监听器中创建规则,其中我可以定义基于路径(端口)的路由 - 不太确定这一点。
我可以尝试哪些方法?
英文:
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:
- Needs to be created 20 Target Group as per services(blue and green target groups) -- I wonder
if this will be complicated. - 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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论