Search code examples
amazon-web-servicesamazon-opensearch

How to rename an OpenSearch domain (Elasticsearch cluster on AWS)?


The Amazon OpenSearch Service web console provides the option to Edit Cluster configuration, but there is no explicit way of changing a domain's name. Is there an alternative way (such as CLI or a classic web console hidden feature?


Solution

  • Not that I'm aware of. The current choice is laborious:

    1. create a new domain with the desired new name
    2. restore a snapshot from the old into the new one
    3. test it
    4. retire/delete the old one.

    Hopefully AWS may add this feature in the future or the option to add a unique alias the cluster name.