ElasticSearch Elastic Cloud serveless deployments serverely out of date

Today I had a huge surprise when trying to migrate some of our existing infrastructure to a new Elasticsearch service serveless deployment hosted on Elastic Cloud and my code has stopped working with ResponseError: This API is unavailable in the version of Elasticsearch you are using.

Upon closer inspection, I found out that the newly created serveless deployments are on version 8.11.0 of Elasticsearch, which is severely out of date (latest version should be 8.17.1). This makes this completely unusable for us as we rely on up to date APIs and unfortunately will have to abandon this offering right away, which is a huge shame because it seemed greatly attractive.

Have I missed anything or can nothing be done about this?

Hi @Stanislav_Modrak Welcome to the community and thanks for trying Elastic Serverless?

Sorry for the confusion

If you run GET / to get the version number, the 8.11.0 shown is for internal reasons... that does not represent the feature version number.

Serverless is essentially version-less; your serverless deployment is / will be the latest.

Serverless technically does not expose a version number by design, as it always stays on the latest / up-to-date... in this case right now it will have the serverless equivalent on 8.17.1 but will not report that.

So, lets focus on what API is failing.

Exactly what API is failing, it is possible that that API is not supported or works differently.

What Elastic version is it currently working with today?

Hi Stephen. Ah, I see. That is what probably confused me as well. I have now also realised there's a separate client package to use specifically for serverless deployments, so I am looking into that one. This has now stopped throwing ResponseError: This API is unavailable in the version of Elasticsearch you are using for me. Thanks for your help! :slight_smile:

How do you make sure serverless always stays on the latest version? How do you deal with breaking changes? Especially such that affect some of the user data indices.

Serverless ...is a different mindset ....

This is a big topic.... internally...

The API Version is a fixed version at this time... and is not expected to change for a long time.

There is a change log

Can you give an example of a breaking change you are concerned about?

I can certainly imagine.

None at this moment actually, I was just thinking ahead. :slight_smile:

This was a second concern of ours actually. And that is that if that's the case, our serverless deployment might start to lag behind the latest Elasticsearch version and we would miss out on new features and capabilities.

There is a lot of documenation emerging on Serverless... there is a new API Hub

All the APIs across products

This is the Elasticsearch Serverless API example

1 Like

The opposite is true, new features are available on Serverless well before they're available on stack releases!

2 Likes