The Yellow status means that there is a risk of losing data if something goes wrong with your shards. To get it green you should at least have another node. I mean you should create a cluster.
The machine you installed Elastic on is considered as a Node (one-node). You should install another instance of Elastic
in another machine (or VM) - you can simply copy the current installation to another machine. And modify the config files of the two instances to communicate together.
https://discuss.elastic.co/t/elasticsearch-health-status-is-yellow-how-to-up-green/81765
The machine you installed Elastic on is considered as a Node (one-node). You should install another instance of Elastic
in another machine (or VM) - you can simply copy the current installation to another machine. And modify the config files of the two instances to communicate together.
https://discuss.elastic.co/t/elasticsearch-health-status-is-yellow-how-to-up-green/81765