teluzia.Cloud Engineer · Day 60
CHAPTER 09 · STORAGE AND DATABASES

RDS/Aurora and backup choices

4–5 hours including independent practice3 topics
LET’S MAKE THIS SIMPLE

What you’re learning today

Choose database recovery features by the failure you need to survive. RDS and Aurora are related managed relational offerings with different deployment and storage models. Automated backups, snapshots, replicas and Multi-AZ are complementary choices. The lab restores a synthetic sandbox dataset and measures recovery rather than assuming a backup listing proves usefulness. RDS supports several managed engines and deployment types. Aurora is an RDS-managed cluster-based database with engine-compatible interfaces and distributed storage architecture. Writer and reader endpoints have different roles. Features and failover behavior depend on engine and deployment; do not generalize one Multi-AZ instance design to every Aurora or RDS cluster. Automated backups support configured retention and point-in-time recovery within documented limits. Manual snapshots persist until deliberately deleted and provide a captured recovery point rather than every possible second. Restore generally creates a new database resource. Backup access and encryption-key availability are part of recovery readiness.

Think of it this way

A standby is a spare running kitchen; a backup is a preserved recipe-and-inventory state that must be rebuilt before serving again.

TOPIC 01 / 03Step by step

RDS and Aurora models

RDS supports several managed engines and deployment types. Aurora is an RDS-managed cluster-based database with engine-compatible interfaces and distributed storage architecture. Writer and reader endpoints have different roles. Features and failover behavior depend on engine and deployment; do not generalize one Multi-AZ instance design to every Aurora or RDS cluster. An Aurora application writes through the writer endpoint and can use suitable reader endpoints for read workloads; a reader endpoint is not a promise that writes will be accepted at whichever instance a client reaches. Deployment-specific reasoning keeps routing and failover claims accurate and helps choose a design based on workload requirements rather than treating all relational managed databases as identical behind different names. Using a reader endpoint for writes or assuming every standby is readable confuses endpoint roles; verify the exact deployment type and database behavior before coding connection strings or promising read scaling.

WORKED EXAMPLE
An Aurora application writes through the writer endpoint and can use suitable reader endpoints for read workloads; a reader endpoint is not a promise that writes will be accepted at whichever instance a client reaches.
Why this matters

Deployment-specific reasoning keeps routing and failover claims accurate and helps choose a design based on workload requirements rather than treating all relational managed databases as identical behind different names.

A common trap

Using a reader endpoint for writes or assuming every standby is readable confuses endpoint roles; verify the exact deployment type and database behavior before coding connection strings or promising read scaling.

Read all topics in this lesson

A complete reference to revisit alongside the guided steps above.

RDS and Aurora models

RDS supports several managed engines and deployment types. Aurora is an RDS-managed cluster-based database with engine-compatible interfaces and distributed storage architecture. Writer and reader endpoints have different roles. Features and failover behavior depend on engine and deployment; do not generalize one Multi-AZ instance design to every Aurora or RDS cluster. An Aurora application writes through the writer endpoint and can use suitable reader endpoints for read workloads; a reader endpoint is not a promise that writes will be accepted at whichever instance a client reaches. Deployment-specific reasoning keeps routing and failover claims accurate and helps choose a design based on workload requirements rather than treating all relational managed databases as identical behind different names. Using a reader endpoint for writes or assuming every standby is readable confuses endpoint roles; verify the exact deployment type and database behavior before coding connection strings or promising read scaling.

WORKED EXAMPLE
An Aurora application writes through the writer endpoint and can use suitable reader endpoints for read workloads; a reader endpoint is not a promise that writes will be accepted at whichever instance a client reaches.

Why this matters

Deployment-specific reasoning keeps routing and failover claims accurate and helps choose a design based on workload requirements rather than treating all relational managed databases as identical behind different names.

A common trap

Using a reader endpoint for writes or assuming every standby is readable confuses endpoint roles; verify the exact deployment type and database behavior before coding connection strings or promising read scaling.

Automated backups and snapshots

Automated backups support configured retention and point-in-time recovery within documented limits. Manual snapshots persist until deliberately deleted and provide a captured recovery point rather than every possible second. Restore generally creates a new database resource. Backup access and encryption-key availability are part of recovery readiness. Restoring to before a mistaken delete needs a valid point within the retained recovery window; a manual snapshot from last week cannot supply yesterday’s newer records unless another recovery source contains them. Recovery-point thinking makes data-loss expectations concrete and prevents treating any retained snapshot as equivalent to continuous recoverability of every recent transaction stored in the database. Leaving retention at an assumed default can produce an unexpected recovery gap; record the actual policy, available restore times and key dependencies before relying on backups for important data.

WORKED EXAMPLE
Restoring to before a mistaken delete needs a valid point within the retained recovery window; a manual snapshot from last week cannot supply yesterday’s newer records unless another recovery source contains them.

Why this matters

Recovery-point thinking makes data-loss expectations concrete and prevents treating any retained snapshot as equivalent to continuous recoverability of every recent transaction stored in the database.

A common trap

Leaving retention at an assumed default can produce an unexpected recovery gap; record the actual policy, available restore times and key dependencies before relying on backups for important data.

Recovery drills and objectives

Recovery point objective describes acceptable data loss, while recovery time objective describes acceptable restoration time. A drill must include restore creation, network and credentials, data checks and application reconnection. High availability reduces certain outage durations but does not roll back logical corruption. Keep old and restored systems distinct until verification is complete. After restoring a fixture, count expected rows, inspect a known record and run an application query against the new endpoint; record elapsed time before choosing whether to switch traffic from the original database. Measured drills reveal real operational dependencies and show whether the chosen backup strategy satisfies the application’s recovery goals instead of merely existing as a enabled feature in a console screen. Deleting the original before validating the restored database removes fallback options; keep the systems distinct, check data and access, and plan the cutover before performing any destructive cleanup.

WORKED EXAMPLE
After restoring a fixture, count expected rows, inspect a known record and run an application query against the new endpoint; record elapsed time before choosing whether to switch traffic from the original database.

Why this matters

Measured drills reveal real operational dependencies and show whether the chosen backup strategy satisfies the application’s recovery goals instead of merely existing as a enabled feature in a console screen.

A common trap

Deleting the original before validating the restored database removes fallback options; keep the systems distinct, check data and access, and plan the cutover before performing any destructive cleanup.

KEEP THESE WITH YOU

Today’s takeaways

Distinguish deployment models and endpoints.

Choose backup points and retention intentionally.

Measure complete recovery drills.

CLOSE THE LOOP

Ready to complete this day?

Verify the practical steps and pass the knowledge check (at least two thirds correct).

Lab steps verifiedKnowledge check passed