CloudWiki
Rules
Medium

Ensure OpenSearch nodes are using General Purpose SSD storage

AWS Cost Optimization
Description

To ensure optimal performance of your OpenSearch cluster, it is recommended to use General Purpose SSD storage for the nodes. General Purpose SSD storage provides a balance of price, performance, and durability and is suitable for a wide range of workloads, including OpenSearch. Using General Purpose SSD storage ensures that your nodes have consistent and predictable performance, with low latency and high I/O throughput. This is particularly important for search workloads, where fast response times are critical for user satisfaction. In addition, General Purpose SSD storage offers improved durability and resiliency compared to standard magnetic storage, reducing the risk of data loss and downtime due to hardware failures. Therefore, ensuring that your OpenSearch nodes are using General Purpose SSD storage is an important best practice for optimizing performance and ensuring the reliability of your cluster.

Remediation

To ensure that your OpenSearch nodes are using General Purpose SSD storage, you can follow these remediation steps:

  1. Determine the current storage type: Identify the current storage type being used by your OpenSearch nodes. You can use the OpenSearch dashboard or CLI to get this information.
  2. Create General Purpose SSD storage volumes: Create General Purpose SSD storage volumes in the AWS console or via the CLI for your OpenSearch nodes. You can choose the size and type of the volume based on your workload requirements.
  3. Attach General Purpose SSD storage volumes to OpenSearch nodes: Attach the General Purpose SSD storage volumes to your OpenSearch nodes using the AWS console or CLI.
  4. Migrate data to General Purpose SSD storage: Once the General Purpose SSD storage volumes are attached, migrate your data to the new volumes. This can be done by creating a snapshot of the existing data, then restoring it to the new volumes.
  5. Test your configuration: After completing the above steps, test your configuration to ensure that your OpenSearch nodes are using General Purpose SSD storage and that performance is optimal.
  6. Monitor your configuration: Continuously monitor your OpenSearch cluster to ensure that the General Purpose SSD storage volumes are performing as expected and that there are no issues with the configuration.

By following these steps, you can ensure that your OpenSearch nodes are using General Purpose SSD storage, providing optimal performance and durability for your search workloads.

Enforced Resources
Note: Remediation steps provided by Lightlytics are meant to be suggestions and guidelines only. It is crucial to thoroughly verify and test any remediation steps before applying them to production environments. Each organization's infrastructure and security needs may differ, and blindly applying suggested remediation steps without proper testing could potentially cause unforeseen issues or vulnerabilities. Therefore, it is strongly recommended that you validate and customize any remediation steps to meet your organization's specific requirements and ensure that they align with your security policies and best practices.