Bỏ qua tới nội dung
CloudDojo
Phần 5/6 · 7 phút

Read replica cho báo cáo và disaster recovery

0/1
Từ khóa của phần nàyChọn một từ để xem nghĩa trước khi đọc

Read replica dùng cho báo cáo và bản sao dùng cho disaster recovery (DR) có yêu cầu khác nhau về cấu hình, vị trí và mã hoá.

Phòng kế toán cần một bản sao của database đơn hàng (RDS for MySQL, chưa mã hoá) để chạy báo cáo. Để tiết kiệm chi phí, có đề xuất tạo replica nhỏ bằng một nửa, hoặc tận dụng standby của Multi-AZ; đội bảo mật muốn nhân dịp này mã hoá bản sao. Thử từng cấu hình và quan sát kết quả:

Loại bản sao
Compute
Storage
Mã hoá
Vị trí
Source: RDS for MySQL, db.r6g.2xlarge, 500 GiB, chưa mã hoá.
Region SingaporeAZ aAZ bRegion khácPrimarydb.r6g.2xlarge · 500 GiBchưa mã hoáRead Replicadb.r6g.xlarge · 250 GiByêu cầu: mã hoáBáo cáo

Phòng kế toán cần một bản sao để chạy báo cáo. Chọn cấu hình, sau đó tạo bản sao. Thử cả các cấu hình sai để xem lý do bị loại.

Với DR, MFTECH kết hợp hai cơ chế ở Region khác: cross-Region read replica (promote thành DB instance độc lập khi Region chính gặp sự cố) và cross-Region automated backups (RDS sao chép snapshot và transaction log sang Region đích ngay khi chúng sẵn sàng). Loại storage, ví dụ Provisioned IOPS, chỉ quyết định hiệu năng I/O và không phải biện pháp DR.

Ghi nhớ:
  • Báo cáo: Read Replica cùng Region, cùng compute và storage như source (khi scale source thì scale cả replica).
  • Mã hoá của replica theo source.
  • Standby của Multi-AZ DB instance deployment không phục vụ đọc và chỉ ở cùng Region, nhưng là nơi lấy automated backup và snapshot.
  • DR cho RDS: cross-Region read replica và cross-Region automated backups.
Part 5/6 · 7 phút

Read replicas for reporting and disaster recovery

0/1
Từ khóa của phần nàyChọn một từ để xem nghĩa trước khi đọc

A read replica used for reports and a copy used for disaster recovery (DR) have different requirements for configuration, location and encryption.

The accounting team needs a copy of the order database (RDS for MySQL, unencrypted) to run reports on. To save money, someone proposes a replica half the size, or reusing the Multi-AZ standby; the security team wants to encrypt the copy while at it. Try each configuration and observe the result:

Loại bản sao
Compute
Storage
Mã hoá
Vị trí
Source: RDS for MySQL, db.r6g.2xlarge, 500 GiB, chưa mã hoá.
Region SingaporeAZ aAZ bRegion khácPrimarydb.r6g.2xlarge · 500 GiBchưa mã hoáRead Replicadb.r6g.xlarge · 250 GiByêu cầu: mã hoáBáo cáo

Phòng kế toán cần một bản sao để chạy báo cáo. Chọn cấu hình, sau đó tạo bản sao. Thử cả các cấu hình sai để xem lý do bị loại.

For DR, MFTECH combines two mechanisms in another Region: a cross-Region read replica (promoted to a standalone DB instance if the primary Region fails) and cross-Region automated backups (RDS copies snapshots and transaction logs to the destination Region as soon as they are ready). The storage type, for example Provisioned IOPS, determines only I/O performance and is not a DR measure.

Ghi nhớ:
  • Reports: a same-Region Read Replica with the same compute and storage as the source (scale the replica when you scale the source).
  • A replica’s encryption follows the source.
  • The standby of a Multi-AZ DB instance deployment serves no reads and stays in the same Region, but automated backups and snapshots are taken from it.
  • DR for RDS: cross-Region read replicas and cross-Region automated backups.

Kiểm tra nhanh

Trả lời để ghi nhận đã đọc phần này. Câu trả lời sai sẽ được nhắc ôn lại vào những ngày sau.

Phòng kế toán cần bản sao của database RDS for MySQL để chạy báo cáo. Cấu hình nào đúng khuyến nghị?
MFTECH cần khôi phục database RDS khi Region chính gặp sự cố. Kết hợp nào phù hợp?

Đã trả lời 0/2 câu