ladderlore
ガイドをリクエスト
  • S3 や IAM などのサービス名を入力してください。

概念 · CLF-C02 の発展

Multi-Region designs

Active-passive or active-active, how data reaches the second Region, and how Route 53 sends users to the healthy one.

このレッスンはまだ翻訳されていないため、英語で表示しています。

クラウドプラクティショナーで学んだこと

  • A second Region protects against the loss of a whole Region, serves far-away users faster and meets data sovereignty rules.
  • Regions are independent: nothing is copied unless you set it up.
  • It adds cost and complexity. Several AZs are enough unless the requirement says more.
クラウドプラクティショナーのレッスンを読む
  • S3

    How it replicates
    Cross-Region Replication
    Writes in the other Region?
    No: copies of new objects
  • DynamoDB

    How it replicates
    Global tables
    Writes in the other Region?
    Yes, in every Region
  • Aurora

    How it replicates
    Global Database
    Writes in the other Region?
    No: read-only until promoted
  • RDS

    How it replicates
    Cross-Region read replica
    Writes in the other Region?
    No: read-only until promoted
  • EBS

    How it replicates
    Snapshot copy
    Writes in the other Region?
    Restore in the other Region
Pick the replication that fits the data store.

1 / 2

  • S3

    How it replicates
    Cross-Region Replication
    Writes in the other Region?
    No: copies of new objects
  • DynamoDB

    How it replicates
    Global tables
    Writes in the other Region?
    Yes, in every Region
  • Aurora

    How it replicates
    Global Database
    Writes in the other Region?
    No: read-only until promoted

2 / 2

  • RDS

    How it replicates
    Cross-Region read replica
    Writes in the other Region?
    No: read-only until promoted
  • EBS

    How it replicates
    Snapshot copy
    Writes in the other Region?
    Restore in the other Region
Pick the replication that fits the data store.
Region ARegion B
Users
Route 53Load BalancingLoad BalancingAuroraAurorahealthyfailoverreplicate
Route 53 uses health checks to move users to Region B.

概要

In an active-passive design, one Region serves users and a second Region waits. The standby can be off, small or full size, so cost and recovery time depend on how much is running. In an active-active design, users are served from several Regions at once. It gives the fastest recovery and the lowest latency, but needs data that can be written in more than one place, and costs the most.

概要

Data is the hard part. Amazon S3 Cross-Region Replication copies new objects to a bucket in another Region. DynamoDB global tables are multi-active: every Region accepts writes. By default the last writer wins on a conflict. A newer option, multi-Region strong consistency, gives zero data loss but needs exactly three Regions and has limits. Aurora Global Database has one writer Region and read-only secondary Regions, with replication usually under one second. An RDS cross-Region read replica can be promoted. EBS snapshots and AMIs can be copied across Regions.

概要

Route 53 sends users to the right Region: failover routing with health checks for active-passive, latency or weighted routing for active-active. Build each Region from the same CloudFormation template. Quotas are per Region, and KMS keys are Regional unless you create multi-Region keys, so prepare them in the second Region too.

覚えること

  • Active-passive: a standby Region. Active-active: every Region serves users.
  • S3 CRR copies new objects and needs versioning. DynamoDB global tables accept writes in every Region.
  • Aurora Global Database: one writer Region, read-only secondary Regions, usually under 1 second behind.

覚えること

  • Route 53 failover routing for active-passive. Latency routing for active-active.
  • Build every Region from the same CloudFormation template.
  • Quotas and encryption keys are per Region. Prepare them in the second Region.

試験では

  • “Survive the loss of an entire Region with minimal data loss” points to Aurora Global Database or DynamoDB global tables, plus Route 53.
  • “Users worldwide need low-latency writes” points to DynamoDB global tables.
  • “Copy objects to another Region automatically” points to S3 Cross-Region Replication.
  • “The cheapest option for Region failure, hours of recovery are fine” points to backups copied to a second Region.