Install Elasticsearch and Java on the InfluxDB VM.
Use chaining arrows so that Java is installed before Elasticsearch.