Restoring a DB instance or a Multi-AZ DB cluster with Amazon RDS Extended Support (original) (raw)
When you restore a DB instance or a Multi-AZ DB cluster, select Enable RDS Extended Support in the console, or use the Extended Support option in the AWS CLI or the parameter in the RDS API. When you enroll a DB instance or Multi-AZ DB cluster in RDS Extended Support, it is permanently enrolled in RDS Extended Support for the life of the DB instance or Multi-AZ DB cluster.
The default for the RDS Extended Support setting depends on whether you use the console, the AWS CLI, or the RDS API to restore your database. If you use the console, you don't selectEnable RDS Extended Support, and the major engine version you are restoring is past the RDS end of standard support, then Amazon RDS automatically upgrades your DB instance to a newer engine version. If you use the AWS CLI or the RDS API and you don't specify the RDS Extended Support setting, then Amazon RDS defaults to enabling RDS Extended Support. When you automate by using AWS CloudFormation or other services, this default behavior maintains the availability of your database past the RDS end of standard support date. You can disable RDS Extended Support by using the AWS CLI or the RDS API.
Topics
- RDS Extended Support behavior
- Considerations for RDS Extended Support
- Restore a DB instance or a Multi-AZ DB cluster with RDS Extended Support
RDS Extended Support behavior
The following table summarizes what happens when a major engine version of a DB instance or a Multi-AZ DB cluster that you are restoring has reached the RDS end of standard support.
RDS Extended Support status* | Behavior |
---|---|
Enabled | Amazon RDS charges you for RDS Extended Support. |
Disabled** | After the restore finishes, Amazon RDS automatically upgrades yourDB instance or Multi-AZ DB cluster to a newer engine version (in a future maintenance window). |
* In the RDS console, the RDS Extended Support status appears as Yes or No. In the AWS CLI or RDS API, the RDS Extended Support status appears as open-source-rds-extended-support
or open-source-rds-extended-support-disabled
.
** This option is only available when restoring a DB instance or a Multi-AZ DB cluster running PostgreSQL 12 and higher or MySQL 8 and higher.
Considerations for RDS Extended Support
Before restoring a DB instance or a Multi-AZ DB cluster, consider the following items:
- After the RDS end of standard support date has passed, if you want to restore a DB instance or a Multi-AZ DB cluster from Amazon S3, you can only do so by using the AWS CLI or the RDS API. Use the
--engine-lifecycle-support
option in therestore-db-cluster-from-s3 AWS CLI command or theEngineLifecycleSupport
parameter in the RestoreDBClusterFromS3 RDS API operation. - If you want to prevent RDS from restoring your databases to RDS Extended Support versions, specify
open-source-rds-extended-support-disabled
in the AWS CLI or the RDS API. By doing so, you will avoid any associated RDS Extended Support charges.
If you specify this setting, Amazon RDS will automatically upgrade your restored database to a newer, supported major version. If the upgrade fails pre-upgrade checks, Amazon RDS will safely roll back to the RDS Extended Support engine version. This database will remain in RDS Extended Support mode, and Amazon RDS will charge you for RDS Extended Support until you manually upgrade your database.
For example, if you restore a MySQL 5.7 snapshot without using RDS Extended Support, Amazon RDS will attempt to automatically upgrade your database to MySQL 8.0. If this upgrade fails because of an issue that you need to resolve, Amazon RDS will roll back the database to MySQL 5.7. Amazon RDS will keep the database on RDS Extended Support until you can fix the issue. For example, an upgrade might fail because of insufficient storage space. After you fix the issue, you must initiate the upgrade. After the first attempt to upgrade your database, Amazon RDS won't attempt to upgrade it again. - RDS Extended Support is set at the cluster level. Members of a cluster will always have the same setting for RDS Extended Support in the RDS console,
--engine-lifecycle-support
in the AWS CLI, andEngineLifecycleSupport
in the RDS API.
For more information, see MySQL versions and Release calendars for Amazon RDS for PostgreSQL.
Restore a DB instance or a Multi-AZ DB cluster with RDS Extended Support
You can restore a DB instance or a Multi-AZ DB cluster with an RDS Extended Support version using the AWS Management Console, the AWS CLI, or the RDS API.
For more information about restoring a DB instance or a Multi-AZ DB cluster, follow the instructions for your DB engine in Restoring to a DB instance.