Adjusting the preferred DB cluster maintenance window
The Aurora DB cluster maintenance window should fall at the time of lowest usage and thus might need modification from time to time. Your DB cluster is unavailable during this time only if the updates that are being applied require an outage. The outage is for the minimum amount of time required to make the necessary updates.
To adjust the preferred DB cluster maintenance window
-
Sign in to the Amazon Web Services Management Console and open the Amazon RDS console at https://console.amazonaws.cn/rds/
. -
In the navigation pane, choose Databases.
-
Choose the DB cluster for which you want to change the maintenance window.
-
Choose Modify.
-
In the Maintenance section, update the maintenance window.
-
Choose Continue.
On the confirmation page, review your changes.
-
To apply the changes to the maintenance window immediately, choose Immediately in the Schedule of modifications section.
-
Choose Modify cluster to save your changes.
Alternatively, choose Back to edit your changes, or choose Cancel to cancel your changes.
To adjust the preferred DB cluster maintenance window, use the Amazon CLI
modify-db-cluster
command
with the following parameters:
-
--db-cluster-identifier
-
--preferred-maintenance-window
Example
The following code example sets the maintenance window to Tuesdays from 4:00–4:30 AM UTC.
For Linux, macOS, or Unix:
aws rds modify-db-cluster \ --db-cluster-identifier
my-cluster
\ --preferred-maintenance-windowTue:04:00-Tue:04:30
For Windows:
aws rds modify-db-cluster ^ --db-cluster-identifier
my-cluster
^ --preferred-maintenance-windowTue:04:00-Tue:04:30
To adjust the preferred DB cluster maintenance window, use the Amazon RDS ModifyDBCluster
API operation with the following parameters:
-
DBClusterIdentifier
-
PreferredMaintenanceWindow