View a markdown version of this page

Resilience in AWS Amplify - AWS Amplify

Resilience in AWS Amplify

The AWS global infrastructure is built around AWS Regions and Availability Zones. Regions provide multiple physically separated and isolated Availability Zones, which are connected through low-latency, high-throughput, and highly redundant networking. With Availability Zones, you can design and operate applications and databases that automatically fail over between zones without interruption. Availability Zones are more highly available, fault tolerant, and scalable than traditional single or multiple data center infrastructures.

For more information about AWS Regions and Availability Zones, see AWS Global Infrastructure.

Resilience for Amplify backends

This topic explains how an Amplify backend handles Availability Zone resilience, how its backups and point-in-time restore work, and why cross-Region durability is your responsibility.

An Amplify backend database runs on Amazon Aurora, which replicates storage across multiple Availability Zones within a Region by default. You do not configure this. Amplify’s own control plane and data plane are deployed per Region, and a backend is a single-Region resource: the backend, its databases and the credentials it issues live in one Region.

A backend’s data API read returns at most 1,000 rows. A GET with no limit, or a larger one, and an /rpc call that returns a set stop at 1,000 rows. The Content-Range response header shows the rows returned, with an asterisk in place of the total when the total is unknown. With Prefer: count=exact, a read that was cut short answers 206 Partial Content and the header carries the total instead (for example 0-999/6001). Page through a larger result with limit and offset, or a Range header. Each embedded to-many resource also stops at 1,000 rows per parent row, with no header to say so. Inserts, updates and deletes are not limited, including the rows they return.

Backups and point-in-time restore

Automated backups are enabled by default for a backend’s database through Amazon Aurora’s continuous backup and point-in-time recovery. You do not need to configure them. Backups are encrypted, using the same encryption as the source database.

Amplify exposes point-in-time restore for a backend’s production branch. Use amplifygen3:GetRestoreWindow to discover the available restore window and amplifygen3:RestoreBranch to restore. A restore produces a new branch you can connect to and validate; extract or copy the recovered data from it. Non-production branches cannot be restored.

To restore the production database to a point in time:

  1. See the earliest and latest times that you can restore to. Replace my-app with the name of your app.

    aws amplifygen3 backend restore-window --app my-app
  2. Restore to a time in that window. Replace 2026-11-20T09:30:00Z with the time to restore to. A time with no time zone is read as UTC.

    aws amplifygen3 backend restore --app my-app --restore-to-time 2026-11-20T09:30:00Z

    The restore copies the data as of that time into a new branch in production, named production- followed by the time in epoch seconds, and leaves production as it is. No deployment uses the new branch.

  3. Check the restored data, and then copy back the rows that you need.

For the retention setting, how to follow the restore, and how to copy data back, see Backups and restore.

Deleting a branch or backend deletes its backups

Deleting a branch, removing the backend, or deleting the app deletes the automated backups with the database, so no backup is left to restore. Before you delete one, or before a risky migration, save your own copy with aws amplifygen3 db dump.

When a backend pauses, Amplify keeps one final snapshot of each branch’s database and deletes its automated backups. When the backend resumes, Amplify restores each database from its snapshot as a new copy, so you can restore only to a time after the resume.

Cross-Region durability

Amplify does not replicate backend data or configuration across Regions, and does not offer a cross-Region backup copy. If your recovery objective requires cross-Region durability, export your data yourself — for example with a scheduled logical dump written to an Amazon S3 bucket you own with cross-Region replication enabled.