ladderlore
လမ်းညွှန် တောင်းဆိုရန်
  • S3 သို့မဟုတ် IAM လို service အမည်ကို ရိုက်ထည့်ပါ။

သဘောတရား · CLF-C02 အပေါ် ဆက်လေ့လာရန်

Database high availability

Multi-AZ instance, Multi-AZ cluster, Aurora, global databases and cross-Region replicas: what each gives you.

ဒီသင်ခန်းစာကို မြန်မာဘာသာ မပြန်ရသေးလို့ အင်္ဂလိပ်လို ပြထားပါတယ်။

Cloud Practitioner မှ သင်သိပြီးသားများ

  • RDS is a managed relational database. Multi-AZ keeps a standby in another AZ and fails over automatically.
  • Read replicas add read capacity. They are for scaling, not for high availability.
  • Automated backups allow point-in-time restore.
Cloud Practitioner သင်ခန်းစာကို ဖတ်ရန်
  • RDS Multi-AZ instance

    Standbys
    1, in another AZ
    Readable?
    No
    Covers
    AZ failure
  • RDS Multi-AZ cluster

    Standbys
    2, in other AZs
    Readable?
    Yes
    Covers
    AZ failure
  • Aurora cluster

    Standbys
    Up to 15 replicas
    Readable?
    Yes
    Covers
    AZ failure
  • Aurora Global Database

    Standbys
    Replicas in other Regions
    Readable?
    Yes
    Covers
    Region failure
  • RDS cross-Region replica

    Standbys
    A replica in another Region
    Readable?
    Yes
    Covers
    Region failure, some data loss
Pick by the failure you must survive.

1 / 2

  • RDS Multi-AZ instance

    Standbys
    1, in another AZ
    Readable?
    No
    Covers
    AZ failure
  • RDS Multi-AZ cluster

    Standbys
    2, in other AZs
    Readable?
    Yes
    Covers
    AZ failure
  • Aurora cluster

    Standbys
    Up to 15 replicas
    Readable?
    Yes
    Covers
    AZ failure

2 / 2

  • Aurora Global Database

    Standbys
    Replicas in other Regions
    Readable?
    Yes
    Covers
    Region failure
  • RDS cross-Region replica

    Standbys
    A replica in another Region
    Readable?
    Yes
    Covers
    Region failure, some data loss
Pick by the failure you must survive.
App
Writer
Replica
Shared storage, 3 AZs
writesreadspromote
Both instances use one storage volume, so a replica can become the writer without copying data.

ဘာလဲ

An RDS Multi-AZ DB instance has one primary and one standby in another AZ, kept in sync with synchronous replication. The standby cannot serve reads. On failure, RDS switches the DB endpoint DNS name to the standby, so the application reconnects to the same name. An RDS Multi-AZ DB cluster has one writer and two readable standbys in three AZs, with semisynchronous replication. The readers serve queries and are the failover targets.

ဘာလဲ

Aurora stores data in a cluster volume that spans three AZs, independent of how many instances you run. Up to 15 Aurora replicas read from the same storage, serve reads and act as failover targets. You give each a failover priority. When the writer fails, Aurora promotes a replica, and no data has to be copied because the storage is shared.

ဘာလဲ

For Region failure, Aurora Global Database replicates storage to secondary Regions, usually under one second behind, and you can promote a secondary after an outage. DynamoDB global tables accept writes in every Region. An RDS cross-Region read replica can be promoted to a stand-alone database, but its replication is asynchronous, so recent writes may be lost. Multi-AZ protects against an AZ failure, not a Region failure.

မှတ်ထားရန်

  • Multi-AZ instance: synchronous standby, not readable, DNS switch on failover.
  • Multi-AZ cluster: two readable standbys in three AZs.
  • Aurora: shared storage across 3 AZs. Replicas serve reads and are failover targets.
  • Aurora Global Database: secondary Regions, usually under one second behind.

မှတ်ထားရန်

  • DynamoDB global tables: multi-Region, multi-writer.
  • Read replicas are asynchronous. Promoting one can lose recent writes.

စာမေးပွဲမှာ

  • “A standby in another AZ with automatic failover, not used for reads” points to RDS Multi-AZ DB instance.
  • “High availability and more read capacity, still on RDS” points to a Multi-AZ DB cluster or Aurora replicas.
  • “Recover from a Region outage with an RPO of about a second” points to Aurora Global Database.