Bootstrap FreeKB - Amazon Web Services (AWS) - Resolve "Target group is not configured to receive traffic from the load balancer"
Amazon Web Services (AWS) - Resolve "Target group is not configured to receive traffic from the load balancer"


Let's say "Target group is not configured to receive traffic from the load balancer" is displayed in the AWS console or in the output of the aws elbv2 describe-target-health command.

~]$ aws elbv2 describe-target-health --target-group-arn arn:aws:elasticloadbalancing:us-east-1:713512344252:targetgroup/my-target-group/b12348d3a5abcd1d
{
    "TargetHealthDescriptions": [
        {
            "Target": {
                "Id": "i-0182deb20171e5945",
                "Port": 80
            },
            "HealthCheckPort": "80",
            "TargetHealth": {
                "State": "unused",
                "Reason": "Target.NotInUse",
                "Description": "Target group is not configured to receive traffic from the load balancer"
            }
        },
        {
            "Target": {
                "Id": "i-0f9a8d82897695a66",
                "Port": 80
            },
            "HealthCheckPort": "80",
            "TargetHealth": {
                "State": "unused",
                "Reason": "Target.NotInUse",
                "Description": "Target group is not configured to receive traffic from the load balancer"
            }
        }
    ]
}

 

This can be returned when the Elastic Load Balancer is not configured with a Listener. In this scenario, the fix is easy. Create a listener for the load balancer

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter 33ae75 in the box below so that we can be sure you are a human.