Is it possible to manually test changes in AWS OpenSearch service blue/green deployment before switching over traffic?

0

I have read https://repost.aws/knowledge-center/opensearch-configuration-change and similar articles which have led me to believe that AWS OpenSearch "blue/green deployment" for cluster configuration changes works by adding new nodes to the cluster and then using native OpenSearch shard recovery process to relocate shards from the old to new nodes. During this process, query and ingest performance can be impacted and requests might be served by either the old or new nodes depending on status of the shard reallocation. This is also consistent with the cluster performance degradation I have typically seen during these events.

But the official documentation at https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-configuration-changes.html seems to suggest that the green cluster is an entirely separate environment and can be tested independently before making a decision to switch over the traffic. In particular:

You can thoroughly test changes in the green environment. When ready, you can switch over the environments to promote the green environment to be the new production environment. The switchover typically takes under a minute with no data loss and no need for application changes.

Is this documentation accurate? My experience is that we have no control over when the switchover happens nor any opportunity to perform a test against the new nodes prior to that happening. Any further insight into how the OpenSearch blue/green deployments are implemented under the hood would also be much appreciated.

Steve
asked 8 months ago241 views
1 Answer
1
Accepted Answer

Whenever a configuration change is made or a service software is updated, Amazon OpenSearch Service uses a blue/green deployment process. Blue/green typically refers to the practice of running two production environments, one live and one idle, and switching the two as you make software changes. In the case of OpenSearch Service, it refers to the practice of creating a new environment for domain updates and routing users to the new environment after those updates are complete. The practice minimizes downtime and maintains the original environment in the event that deployment to the new environment is unsuccessful.

A user has no control over when the switchover happens nor any opportunity to perform a test against the new environment.

We are thoroughly working with our team to get the documentation reviewed and updated. Thank you for bringing this into our notice.

Meanwhile, we request you to kindly follow the below documentation/article to understand how a blue/green deployment works for AWS OpenSearch domain.

https://repost.aws/knowledge-center/opensearch-configuration-change

AWS
SUPPORT ENGINEER
answered 8 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions