# AWS Node Termination Handler

AWS Node Termination Handler is a Helm chart that deploys a Kubernetes component to gracefully drain and cordon Amazon EC2 nodes before maintenance, Spot interruptions, or termination events, reducing application. It is open source and self-hosted, installable on Kubernetes (Helm).

Canonical page: https://ourlocalhost.com/app/4699/aws-node-termination-handler

## Description

AWS Node Termination Handler is a Helm chart that deploys a Kubernetes component to gracefully drain and cordon Amazon EC2 nodes before maintenance, Spot interruptions, or termination events, reducing application disruption.

## Platform availability

Available on 1 of 10 platforms: Helm.

## Health score

50/100 (Fair), based on 4 of 5 factors.
- Maintained: 79 (last commit 8 days ago)
- Popular: 65 (1,764 GitHub stars)
- Easy to install: 25 (1 install platform, install notes)
- Security check: 0 (7 serious findings, 6 minor, CI, tests, OpenSSF Scorecard 4.1/10)

## Security check

7 serious findings: Uses golang.org/x/crypto v0.45.0, which has a known critical vulnerability; Uses golang.org/x/crypto v0.45.0, which has a known critical vulnerability; Uses golang.org/x/crypto v0.45.0, which has a known critical vulnerability; Uses golang.org/x/crypto v0.45.0, which has a known critical vulnerability; Uses golang.org/x/crypto v0.45.0, which has a known critical vulnerability; Uses golang.org/x/crypto v0.45.0, which has a known critical vulnerability; Uses golang.org/x/crypto v0.45.0, which has a known critical vulnerability.
Automated checks on commit be7b2ed, 24 Oct 2026. Not an audit.

## Links

- GitHub: https://github.com/aws/aws-node-termination-handler
- Kubernetes (Helm): https://artifacthub.io/packages/helm/aws/aws-node-termination-handler
- Official website: https://aws.amazon.com/ec2
- Documentation: https://docs.aws.amazon.com/ec2/

## Common questions

### Does aws-node-termination-handler need a pod on each node for Spot and EC2 event handling?

The IMDS Monitor runs a small pod on each host to monitor IMDS paths like /spot and /events. It reacts by draining and/or cordoning the corresponding node.

### Can aws-node-termination-handler use an SQS queue for interruption events?

The Queue Processor monitors an SQS queue of events from Amazon EventBridge. It handles ASG lifecycle events, EC2 status change events, Spot Interruption Termination Notice events, and Spot Rebalance Recommendation events.

### How can I track how often nodes are terminated by the handler?

The built-in metrics endpoint may be unavailable after the node goes down. This can make tracking termination frequency over time difficult because the pod may stop reporting after the node is gone.

### Can it be deployed to self-managed Amazon EKS worker nodes?

AWS guidance describes deploying Node Termination Handler in a self-managed worker node in an Amazon EKS cluster. It can be automated through a CI/CD pipeline.

---
Source: Our Local Host (https://ourlocalhost.com/app/4699/aws-node-termination-handler), the self-hosted and open-source app directory.
