Auto-sync: update nexus workspace

This commit is contained in:
2026-04-29 15:44:38 +08:00
parent b2aadf771a
commit c961c6a394
114 changed files with 4784 additions and 1334 deletions

View File

@@ -0,0 +1,51 @@
---
title: "DynamoDB Config Table"
type: concept
tags:
- AWS
- DynamoDB
- Configuration
- Scheduling
sources:
- ctp-topic-27-aws-instance-scheduler
last_updated: 2026-05-12
---
## DynamoDB Config Table
AWS Instance Scheduler 架构中的核心数据存储组件,用于持久化调度规则和周期定义。
## Schema Design
DynamoDB Config Table 通常包含两张表:
### Schedules 表
- **ScheduleName**:调度名称(如 `Seattle-9-5``UK-9-5`
- **Timezone**:时区配置
- **Description**:调度描述
### Periods 表
- **PeriodName**:周期名称
- **BeginTime**:开始时间
- **EndTime**:结束时间
- **Weekdays**:适用工作日(周一至周五)
- **InstanceType**应用实例类型EC2/RDS
## Role in AWS Instance Scheduler
DynamoDB Config Table 是 Instance Scheduler 的**逻辑核心**
1. Lambda 函数通过 DynamoDB SDK 读取 Schedules 和 Periods 定义
2. 根据当前时间和实例标签(`Schedule``Period`)匹配适用的调度规则
3. 返回匹配结果后决定执行启动或停止操作
## Key Advantages
- **无服务器**:无需管理任何基础设施,按需扩展
- **低延迟**:毫秒级读取性能,满足高频调度查询
- **高可用**:多可用区自动复制,无单点故障
- **成本效益**:按请求计费,零管理工作负载
## Related Pages
- [[AWS-Instance-Scheduler]] — 主要使用场景
- [[ctp-topic-27-aws-instance-scheduler]] — 原始来源