2 Answers
- Newest
- Most votes
- Most comments
0
The problem was that the load balancer wasn't added to the ECS service itself. Once added, everything worked as expected.
answered 10 months ago
0
Please ensure you create an Target Group of Instance type. When you register your ECS service in the ECS console, you define the load balancer and target group to use
When your ECS Servive starts, it registers its self in the target group
Sounds like your using a IP type target group?
Hi, thanks and yes, we're using IP type.
We use Fargate with awsvpc mode and this guide here instructs to use IP type: https://repost.aws/knowledge-center/create-alb-auto-register.
I'll try using the instance type anyway.
Edit: This also didn't work. Problem was something else. Thanks anyway.
Relevant content
- Accepted Answerasked a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 years ago
Just as I said. Define the load balancer when setting up the ecs service.