0

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?

power-cut
  • 1,310
  • 1
  • 14
  • 30

1 Answers1

1

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

Mark B
  • 183,023
  • 24
  • 297
  • 295
  • So what you are saying is 20 in total target groups - 10 from blue and 10 for green ? – power-cut Jul 17 '23 at 13:50
  • 1
    Yes, I'm saying that you need two target groups for each port. I know it seems ugly but if you are using something like CloudFormation or Terraform it shouldn't be a big deal. – Mark B Jul 17 '23 at 15:19