Posted On: Jan 19, 2023

Amazon OpenSearch Service now lets you validate configuration changes before applying them to your clusters. With the enhanced dry run option, Amazon OpenSearch Service checks for validation errors that might occur when deploying your configuration changes and provides a summary of these errors, if any. The dry run feature will also indicate whether a blue/green deployment will be required to apply a change, so that you can plan for these changes accordingly. 

Previously, when you submitted a configuration change, the domain status would change to ‘Processing’ and the validation errors identified while applying the changes would subsequently be displayed for your action while the domain continued to remain in the processing state, preventing further changes to your cluster until you took corrective actions. However, with the new enhanced dry run, you can check for possible validation errors before you actually apply a change to your clusters, and take corrective action as necessary.

You can use the dry run feature when applying a configuration change using the OpenSearch Service console, or by using the new ‘dryRun’ with ‘verbose’ parameter when calling an UpdateDomainConfig API. 

Enhanced dry run for configuration changes is now available in all AWS Regions where Amazon OpenSearch Service is available. Please refer to the AWS Region Table for more information about Amazon OpenSearch Service availability.

For more information about this feature, please see the documentation. To learn more about Amazon OpenSearch Service, please visit the product page.