# aws


12/15/2023, 5:42 PM
Hello all, I am utilizing ECS Fargate for a web application, I am also using CodeDeploy for Blue/Green deployments. Since I am using CodeDeploy I need to have 2 target groups for the ALB. I just wanted to verify that I needed to attach both target groups to the ECS Service, I tried only using one target group before and it appears to work some of the time, but I often get '503 Gateway Timeout' messages, Thanks!