Files
nexus/wiki/concepts/Spot-Interruption.md
2026-04-19 14:51:38 +08:00

29 lines
973 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "Spot Interruption"
type: concept
tags: [AWS, EC2, Cost-Optimization, High-Availability]
sources: []
last_updated: 2026-04-19
---
## Definition
Spot Interruption 是 AWS EC2 Spot 实例的中断处理机制Karpenter 原生集成 EventBridge 和 SQS 实现自动处理。
## Mechanism
- **通知来源**EventBridge 发送 Spot 中断、实例重平衡、健康事件、实例状态变更通知
- **处理方式**Karpenter 监听 SQS 队列,自动将工作负载迁移到其他实例
- **无需额外组件**Karpenter 原生支持,与 Node Termination Handler 不同
## Benefits
- 降低 Spot 实例使用成本(可达 90% 折扣)
- 自动处理中断,提高工作负载可用性
- 简化架构,无需额外管理组件
## Related Concepts
- [[Karpenter]]:原生支持 Spot 中断处理
- [[EventBridge]]AWS 事件总线服务
- [[SQS]]AWS 简单队列服务
## Aliases
- Spot Interruption Handling
- Spot Instance Interruption