Scheduling Auto-Tune enhancements
Prior to February 16, 2023, Auto-Tune used maintenance windows to schedule changes that required a blue/green deployment. Maintenance windows are now deprecated in favor of the off-peak window, which is a daily 10-hour time block during which your domain typically experiences low traffic. You can modify the default start time for the off-peak window, but you can't modify the length.
Any domains that had Auto-Tune maintenance windows enabled before the introduction of off-peak windows on February 16, 2023 can continue to use legacy maintenance windows with no interruption. However, we recommend that you migrate your existing domains to use the off-peak window for domain maintenance instead. For instructions, see Migrating from Auto-Tune maintenance windows.
To schedule Auto-Tune actions the off-peak window
-
Open the Amazon OpenSearch Service console at https://console.aws.amazon.com/aos/home
. -
In the navigation pane, under Domains, choose the domain name to open the cluster configuration.
-
Go to the Auto-Tune tab and choose Edit.
-
Choose Turn on if Auto-Tune isn't already enabled.
-
Under Schedule optimizations during off-peak window, select Off-peak window.
-
Choose Save changes.
To configure your domain to schedule Auto-Tune actions during the configured
off-peak window, include UseOffPeakWindow
in the UpdateDomainConfig request:
aws opensearch update-domain-config \ --domain-name
my-domain
\ --auto-tune-options DesiredState=ENABLED,UseOffPeakWindow=true,MaintenanceSchedules=null