Anthony shows you how to
fix issues with
red Elasticsearch clusters


I’ve run out of storage space in my Amazon Elasticsearch Service (Amazon ES) domain. What does this mean, and how do I fix it?

When you allocate storage to an Elasticsearch node, 20% of that space (usually 20 GB) is designated as free storage space, and you might occasionally need to increase the amount of storage space available to a node. If your domain runs out of storage space, the operation of your domain might be impaired. You can employ one or both of the following strategies to increase the available storage space in your Amazon ES domain:

Add more storage to your domain

If you run out of storage and you are using Amazon Elastic Block Store (Amazon EBS) as the storage solution for your domain, you receive a ClusterIndexWritesBlocked error. To resolve this, increase the size of the EBS volumes used by your domain or cluster. If you are not using EBS, add additional nodes to your cluster configuration.

Note: The FreeStorageSpace CloudWatch metric measures the number of free megabytes of storage for the nodes in your cluster. Consider configuring CloudWatch alarms to notify you when the available storage for your domain or cluster is low.

Reduce the amount of data stored in your domain

If you’re storing documents in your Amazon ES domain that you don’t need anymore, consider taking a manual snapshot of the domain and then deleting unnecessary documents.

You might also consider optimizing old indices or reducing the domain’s replica count.

Note: The latter two strategies should be used with caution because optimizing old indices might not result in significant amounts of reclaimed storage, and reducing the domain’s replica count might decrease the domain’s overall fault tolerance.

Did this page help you? Yes | No

Back to the AWS Support Knowledge Center

Need help? Visit the AWS Support Center

Published: 2016-11-01

Updated: 2017-10-26