Search code examples
herokubonsai-elasticsearch

Does Heroku with Bonsai support anything higher than 7.10 of elasticsearch?


I am getting security warnings because client 7.13.0 has issues. However, I use Bonsai with Heroku which is server 7.10.2 and that is incompatible with the 7.15.0 client.

I tried the following

heroku addons:create bonsai -a <app> --version=7.14.2

But it is still showing 7.10.2

Can I get Heroku to support the newer version of elastic search server?


Solution

  • Bonsai support here. The current list of our supported Elasticsearch versions is here. This list is the same whether you have a cluster with us directly or through Heroku. Trying to provision a version of Elasticsearch that's not on this list will get you the closest available version to what was requested.

    To shade in some context about why we're still running 7.10.2, it's important to know that in January 2021, Elastic announced that version 7.11 and on would be licensed under the Server Side Public License (SSPL) and not Apache 2.0.

    This change has pretty severe implications for hosted Elasticsearch providers like Bonsai, and has limited our ability to release new versions. We're working on some long term solutions, but the process has been slower than we'd like.

    In any case, Elasticsearch 7.10.2 is the latest Elasticsearch version we offer as of December 2021 (check the first link for updates). We also support OpenSearch, which is an Apache 2-licensed fork of Elasticsearch, maintained by AWS.

    As always, please don't hesitate to reach out to us at [email protected] with questions or issues.