How to use Elasticsearch with Drupal
Platform.sh fully supports Elasticsearch and Solr for search.
Then you can install the Drupal modules to your application, and push.
Configure the Elasticsearch cluster in Drupal, noting the machine name that you give it.
Finally, add some glue code to your
settings.php using the relationship
name and the name of the cluster to add Elasticsearch to your Drupal config.
Now that it's enabled, you can configure your Elasticsearch instance in the Search API, and you're ready to go.