Search code examples
amazon-web-serviceselasticsearchamazon-opensearch

Stop AWS OpenSearch service temporarily for cost savings


I am looking at doing some cost savings in AWS and want to know if we can stop and then start the AWS Opensearch service for a couple of days.

My scenario is that the application which uses the OpenSearch service (Elasticsearch) remains down during 2 days every week... During this time OpenSearch remains active and incurs costs...

I know one option to save the costs is to downgrade the node type and reduce the number of nodes during the application downtime.

But let me know if there are any other options where I can entirely "Switch Off" and "Switch On" the service just like we can do with EC2 instances.


Solution

  • AWS launched OpenSearch Serverless during reInvent 2022 but still in preview. This is the ideal solution which would not require you manage clusters.

    https://aws.amazon.com/opensearch-service/features/serverless/

    Until then, go for downsizing the instance during non peak hours.

    [Edit]: It is GA now as on 25th Jan 2023

    https://aws.amazon.com/blogs/big-data/amazon-opensearch-serverless-is-now-generally-available/