It is time to say goodbye: This version of Elastic Cloud Enterprise has reached end-of-life (EOL) and is no longer supported.
The documentation for this version is no longer being maintained. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Manage Elastic Stack versions
editManage Elastic Stack versions
editElastic Cloud Enterprise ships with a number of different versions of the Elastic Stack containing Elasticsearch and Kibana. Periodically, you might need to manage Elastic Stack versions for one of the following reasons:
- To add new versions of the Elastic Stack as they become available
- To obtain information about existing Elastic Stack versions
- To update existing versions of the Elastic Stack
- To add the Elastic Stack versions that shipped with a version of ECE that you upgraded to
New or updated versions of the Elastic Stack must be prepared to work with Elastic Cloud Enterprise and are provided as packs that you can download.
Elasticsearch 7.8 and later comes with Index Lifecycle Management (ILM) always enabled. Before upgrading to 7.8 or later, to avoid any unpredictable behavior it is important to configure hot-warm clusters on Elastic Cloud Enterprise with ILM rather than index curation. See migrate to index lifecycle management for existing clusters, and configure index management for new clusters.
Most recent Elastic Stack packs
editThe following are the most recently released Elastic Stack packs for version 7.x and 6.x, respectively:
Required downloads | Minimum required ECE version |
---|---|
Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.16.0 |
ECE 3.0.0 |
Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.17.25 |
ECE 2.2.2 |
ECE 1.1.4 |
All available Elastic Stack packs
editFollowing is the full list of available packs containing Elastic Stack versions.
Expand to view the full list
For offline or air-gapped installations, additional steps are required to add Elastic Stack packs, as these packs do not contain any Docker images. After downloading a stack pack, you also need to pull and load the Docker images that match the Elastic Stack version. To learn more about what Docker images you need and about pulling and loading Docker images, see Install ECE (Without Internet Access).
Before you begin
editThe examples shown all use HTTPS over port 12443, which requires that you have a TLS certificate configured. Alternatively, you can specify the -k
option to turn off certificate verification, as shown in our examples, or use HTTP over port 12400.
Get Elastic Stack information
editYou can obtain information about existing Elastic Stack versions that are available in your installation through the Cloud UI or through the command line.
To obtain information about available Elastic Stack versions through the Cloud UI:
- Log into the Cloud UI.
- From the Platform menu, select Elastic Stack.
-
Click on the version that you want.
The available Elastic Stack versions are shown. More detailed information about Docker images, plugins, and related Kibana versions are also available for each Elasticsearch version.
To obtain information about available Elastic Stack versions through the command line:
curl -X GET -u USER:PASSWORD https://COORDINATOR_HOST:12443/api/v1/stack/versions
For example (output abridged for brevity):
curl -X GET -u admin:4Z52y8Gq7PrxMDy47ipJPSh4ozBMynOGa9HWxcy2D3j https://10.56.12.153:12443/api/v1/stack/versions { "stacks": [ { "version": "2.4.5", "template": { "template_version": "", "hashes": [] }, "elasticsearch": { "docker_image": "docker.elastic.co/cloud-enterprise/elasticsearch:2.4.5-0", "plugins": [ "graph", "analysis-icu", "analysis-kuromoji", "analysis-smartcn", "analysis-stempel", "analysis-phonetic", "watcher", "mapper-attachments", "delete-by-query" ], "default_plugins": [ "found-elasticsearch", "cloud-aws", "found-license-plugin", "shield", "marvel-agent" ... ] } }, { "version": "5.2.2", "template": { "template_version": "", "hashes": [] }, "elasticsearch": { "docker_image": "docker.elastic.co/cloud-enterprise/elasticsearch:5.2.2-0", "plugins": [ "analysis-icu", "analysis-kuromoji", "analysis-smartcn", "analysis-stempel", "analysis-phonetic", "mapper-attachments", "ingest-attachment", "ingest-geoip", "ingest-user-agent" ], "default_plugins": [ "repository-s3", "found-elasticsearch", "x-pack" ... ] } } ] }
You can also query for a specific version with a URI such as https://COORDINATOR_HOST:12443/api/v1/stack/versions/5.3.2
, for example.
Add Elastic Stack packs
editYou can add new Elastic Stack packs to your installation through the Cloud UI, through the Elastic Cloud Enterprise installation script, or through the RESTful API.
To add a new Elastic Stack pack from the Cloud UI:
- Download the Elastic Stack version that you want.
- Log into the Cloud UI.
- From the Platform menu, select Elastic Stack.
- Click Upload Elastic Stack pack.
-
Select a .zip file that contains an Elastic Stack pack and upload it.
After the stack pack has been uploaded successfully, the new version appears in the list of Elastic Stack versions and can be used when you create or change a deployment.
To add a new Elastic Stack pack through the Elastic Cloud Enterprise installation script from the command line:
- Log into a host running Elastic Cloud Enterprise.
-
Add the Elastic Stack pack with the
add-stack-version
action:For example:
bash elastic-cloud-enterprise.sh add-stack-version \ --user admin --pass pGX5DwKzVAAIeCIpTwwAkCuJDu0ASdFP33UmYpfogfF \ --version 5.4.0
To add a new Elastic Stack pack through the RESTful API from the command line:
- Download the pack on an internet-connected host from Elastic and make it available locally.
-
Add the Elastic Stack pack with the following API call:
curl -X POST -u USER:PASSWORD https://COORDINATOR_HOST:12443/api/v1/stack/versions \ -H 'content-type: application/zip' \ --data-binary "@PATH/STACK_PACK_FILE"
For example:
curl -X POST -u admin:pGX5DwKzVAAIeCIpTwwAkCuJDu0ASdFP33UmYpfogfF https://10.56.12.153:12443/api/v1/stack/versions \ -H 'content-type: application/zip' \ --data-binary "@/Users/iuriitceretian/Documents/stacks/5.4.0.zip"
Update Elastic Stack packs
editUpdating an Elastic Stack pack might become necessary if an Elastic Stack version has been updated with security fixes, for example. You can update an existing Elastic Stack version through the Cloud UI or through the command line.
Updated versions of Elasticsearch and Kibana are used when you create new Elasticsearch clusters, but they are not automatically applied to already running clusters. To update existing Elasticsearch clusters and Kibana after an updated Elastic Stack pack has been added, you need to change the deployment configuration.
To update Elastic Stack packs through the Cloud UI:
- Download the Elastic Stack version that you want.
- Log into the Cloud UI.
- From the Platform menu, select Elastic Stack.
- Delete the old pack you want to replace.
- Click Upload Elastic Stack pack.
-
Select a ZIP file that contains an Elastic Stack pack and upload it.
After the stack pack has been uploaded successfully, the updated Elastic Stack version replaces the existing one.
To update Elastic Stack packs through the RESTful API from the command line:
- Download an updated pack on an internet-connected host from Elastic and make it available locally.
-
Update the Elastic Stack pack with the following API call:
curl -X PUT -u USER:PASSWORD https://COORDINATOR_HOST:12443/api/v1/stack/versions/VERSION \ -H 'content-type: application/zip' \ --data-binary "@PATH/STACK_PACK_FILE"
For example:
curl -X PUT -u admin:pGX5DwKzVAAIeCIpTwAAkCuJDu0ASdFP33UmYpfogfF https://10.58.12.153:12443/api/v1/stack/versions/6.4.0 \ -H 'content-type: application/zip' \ --data-binary "@/Users/johnsmith/Documents/stacks/6.4.0.zip"