--- title: "CTP Topic 40 SaaS Database Architecture On AWS Cloud" type: source tags: [SaaS, Database, Architecture, AWS, CTP] date: 2026-04-14 --- ## Source File - [[raw/Cloud & DevOps/Public-Cloud-Learning-Sessions/01_AWS-Landing-Zone/ctp-topic-40-saas-database-architecture-on-aws-cloud.md]] ## Summary - 核心主题:AWS 云上 SaaS 数据库架构设计,SaaS 数据库团队的全球运维实践 - 问题域:多区域数据库运维、多租户数据隔离、数据库高可用与灾备 - 方法/机制:Oracle Data Guard、Postgres Active-Passive、RDS High Availability - 结论/价值:提供 24/7 支持,管理 500+ 数据库和 1000+ 服务器,支持 Oracle、Vertica、Postgres、DynamoDB、SQL Server、MongoDB、MySQL 等多种数据库 ## Key Claims - SAS 数据库团队分布在全球多个国家(美国、加拿大、印度、以色列),提供全天候支持 - 团队拥有 Oracle 认证专家、DBA 和安全专业人员 - 数据库主要部署在应用 VPC 中,集成安全措施 - 使用 Oracle Data Guard 实现高可用,Postgres 使用 Active-Passive 机制,计划迁移到 Active Active - 数据库运行在区域内两个可用区,主数据库在第一区,备用在第二区,第三区作为观察者管理故障转移 ## Key Quotes > "The idea was to move those databases seamless without downtime or with minimum downtime." — 数据库迁移目标 > "Reporting databases have a read-only warehouse in the third availability zone, with secure VPN access for customers to run operational warehousing queries." — 报表数据库架构 ## Key Concepts - [[Multi-Tenant Management]]:多租户 SaaS 数据库管理 - [[High-Availability]]:高可用架构设计 - [[故障转移]]:自动故障转移机制 - [[Database Migration]]:数据中心迁移到云端 ## Key Entities - [[AWS]]:AWS 云平台 - [[Amazon Aurora]]:Postgres Aurora 数据库 - [[Amazon DynamoDB]]:DynamoDB 数据库 - [[Amazon ElastiCache]]:ElastiCache Redis 缓存 - [[Oracle]]:Oracle 数据库 - [[PostgreSQL]]:PostgreSQL 数据库 ## Connections - [[CTP Topic 35 AWS Landing Zone Design Refresher (SaaS Labs)]] ← uses ← [[ctp-topic-40-saas-database-architecture-on-aws-cloud]] - [[CTP Topic 51 Architecting with AWS Purpose-Built Databases]] ← extends ← [[ctp-topic-40-saas-database-architecture-on-aws-cloud]] - [[CTP Topic 66 Exposing the differences between PostgreSQL RDS and Aurora]] ← relates_to ← [[ctp-topic-40-saas-database-architecture-on-aws-cloud]] ## Contradictions - (暂无)