Route 53 是 AWS 的 DNS 服务(将域名转换为地址,具有路由策略);CloudFront 是 AWS 的 CDN(内容分发网络,在全球边缘位置缓存内容以实现快速传输)。两者都可以提高 Web 应用程序的性能和可用性。
Route 53 — DNS 和流量路由
Route 53 is a managed DNS service (+ domain registration):
→ translates domain names (example.com) → IP addresses / AWS resources
→ ROUTING POLICIES (intelligent traffic direction):
- SIMPLE → one destination
- WEIGHTED → split traffic by percentage (e.g. A/B testing, gradual rollout)
- LATENCY → route users to the lowest-latency region (performance)
- GEOLOCATION → route by user location
- FAILOVER → route to a backup if the primary fails (HIGH AVAILABILITY)
→ HEALTH CHECKS → route away from unhealthy endpoints
