Target.NotRegistered
- Meaning in the AWS docs
- Target is not registered to the target group
- Fix
- Register it with the command below
An ALB 503 means a target group has no registered targets or only unused ones. Read the reason code, fix registration, and alarm on the right metric.
An Application Load Balancer sends 503 when it has nothing to forward to: the target group has no registered targets, or every registered target is in the unused state. Unhealthy targets do not cause this, because the ALB fails open. Run describe-target-health, read the reason code (Target.NotRegistered, Target.NotInUse, Target.InvalidState), and fix registration, listener rules or the instance state.
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
listener -> rule (conditions match) -> action: forward -> target group
|
no registered targets --------> 503
every target "unused" --------> 503
some targets healthy --------> forwarded
all targets unhealthy --------> forwarded anyway (fail open)curl -sS -o /dev/null -w "%{http_code}\n" https://httpbin.org/status/503
# observed: 503aws elbv2 describe-target-health \
--target-group-arn <target-group-arn> \
| jq -r '.TargetHealthDescriptions[] | [.Target.Id, .TargetHealth.State, (.TargetHealth.Reason // "-")] | @tsv'i-ceddcd4d unused Target.NotInUseAn empty result, with no rows at all, means the target group has no registered targets. I checked the jq expression against a response that follows the shape in the AWS CLI reference, and the aws elbv2 calls come from the AWS docs and were not run against an account.
| State | Does it cause a 503? | What it is |
|---|---|---|
unused | Yes, if it is every target | Not registered, group not used by a listener rule, target in a disabled Availability Zone, or target stopped or terminated |
unhealthy | No, the ALB fails open | Failed health checks. With every target unhealthy in all enabled zones, requests go to all of them anyway |
initial | Not by itself | Registration or the first health checks in progress |
draining | Not by itself | Deregistering with connection draining under way |
unavailable | Not by itself | Health checks are disabled for the target group |
unused. Each one has a different owner, so reading the code saves a round of guessing.Target.NotRegisteredTarget.NotInUseTarget.InvalidStateTarget.IpUnusableaws elbv2 register-targets \
--target-group-arn <target-group-arn> \
--targets Id=i-1234567890abcdef0 Id=i-0abcdef1234567890When the port is not given, the ALB uses the target group's port. AWS says a newly registered target must pass one health check to be considered healthy, so expect initial for a short while.
HealthyHostCount and fires at zero. AWS documents that metric as reported only if there are registered targets, so a target group with nothing registered reports no data rather than zero. An alarm that treats missing data as OK stays silent through the exact failure this page is about.HTTPCode_ELB_503_CountHealthyHostCountUnHealthyHostCountHealthyHostCount without raising this3 questions people ask next, answered from the sources on this page.
It normally does not. AWS says that when every target in a group is unhealthy in all enabled Availability Zones, the load balancer fails open and routes to all of them. A 503 points to no registered targets or only unused targets, so check the state with describe-target-health.
AWS lists four situations: the target is not registered, the target group is not used in a listener rule, the target sits in an Availability Zone that is not enabled, or the target is stopped or terminated. The reason code on the target tells you which.
Yes. A listener rule with a fixed-response action returns a custom response with a 2XX, 4XX or 5XX status code and an optional message. The AWS documentation example shows status code, content type and message body fields, so add Retry-After at another layer if you need it.
Run the free audit, then approve the fixes. Every change can be undone.