Home icon

Extending NLB health checks for RADIUS using an Amazon ECS witness

Networking & Content Delivery Blog



This article presents an open-source reference solution that extends AWS Network Load Balancer with application-layer RADIUS health checks using an Amazon ECS witness to detect authentication failures and manage target group membership.

  • NLB UDP health checks are transport-layer only and cannot validate RADIUS authentication functionality or identity store connectivity
  • A single-process RADIUS witness runs as an ECS task, performing real PAP authentication probes on each RADIUS server at configurable intervals
  • The witness uses failure thresholds and hold-down timers to prevent flapping, and implements fail-open mode to keep targets registered during complete outages
  • A reconciler daemon translates health state into NLB target group membership via EC2 and ELBv2 APIs, self-healing drift automatically
  • RADIUS credentials are stored in AWS Secrets Manager with support for automated rotation via Lambda functions
  • Structured logs to CloudWatch enable correlation between probe failures and target deregistration without joining log groups
  • Pattern generalizes to other protocols NLB cannot natively health-check: LDAP, custom TCP/UDP services

The solution closes the gap between transport-layer reachability and application-layer functionality for RADIUS workloads migrated to AWS, without requiring code changes to vendor-managed appliances.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

May 12
2026
Streamlined monitoring and debugging for Amazon EMR on EC2
Aug 27
2024
Amazon EC2 status checks now support reachability health of attached EBS volumes
Aug 14
2025
Enhance Amazon EMR observability with automated incident mitigation using Amazon Bedrock and Amazon Managed Grafana
Dec 16
2024
Announcing Node Health Monitoring and Auto-Repair for Amazon EKS

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.