Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
opensearch hosted in AWS, deployed on EC2 instances, not managed by AWS.
Describe the issue:
Hello,
I want to have an Opensearch cluster deployed on EC2 instances in AWS, that can be scaled automatically based on disk usage.
The entire infrastructure is provisioned with terraform, the service configured and managed via ansible (I’m using the idea presented here: GitHub - opensearch-project/ansible-playbook: 🤖 A community repository for Ansible Playbook of OpenSearch Project.)
Is it possible to have an autoscalling group in AWS based on disk metric (which will be available through the installation of the cloudwatch agent on the underlying EC2 instances) for the EC2 instances on which data will be stored?
If the answer is yes, how would you recommend to have the image with the service ready to be spawned when the disk space triggers the creation of a new instance?
Thank you!
Configuration:
Relevant Logs or Screenshots: