Hi, I currently have a single-node production environment in AWS EC2 and having scaling issues, so I wanted to make the transition into a cluster. Since my user demand changes a lot during the day, I thought that a good idea would be to have an Beanstalk environment with a LB and a permanent master node. When the demand grows up, Beanstalk can create slave instances and balance the requests throug all the cluster.
The problem is how to configure this, since the cluster config has static values, such as the network.host, discovery.seed_hosts, cluster.initial_master_nodes,... and the node.name is optional but I don't know which value will take once the instance starts.
I plan to have also a EnterpriseSearch container running in the same server, same as I have now, and I'm using docker compose to build all the containers.
I've searched for this situation and found very old posts refering to deprecated properties (for example GitHub - vladmiller/elasticsearch-beanstalk: ElasticSearch configuration example for AWS Elastic BeansTalk). I guess both ELK and Beanstalk have improved the last 6 years and it would be easier t configure!
Thanks in advance
Gabriel