Manage Elastic Stack versions

edit

Elastic 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.

The following packs containing Elastic Stack versions are available:

Required downloads Minimum required ECE version

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.15.3

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.15.2

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.15.1

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.15.0

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.14.3

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.14.2

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.14.1

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.14.0

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.13.4

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.13.3

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.13.2

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.13.1

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.13.0

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.12.2

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.12.1

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.12.0

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.11.4

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.11.3

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.11.2

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.11.1

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.11.0

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.10.4

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.10.3

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.10.2

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.10.1

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.10.0

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.9.2

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.9.1

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.9.0

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.8.2

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.8.1

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.8.0

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.7.1

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.7.0

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.6.2

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.6.1

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.6.0

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.5.3

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.5.2

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.5.1

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.5.0

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.4.3

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.4.2

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.4.1

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.4.0

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.3.3

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.3.2

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.3.1

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.3.0

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.2.3

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.2.2

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.2.1

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.2.0

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.1.3

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.1.2

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.1.1

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.1.0

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.0.1

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 8.0.0

ECE 3.0.0

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.17.25

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.17.24

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.17.23

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.17.22

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.17.21

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.17.20

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.17.19

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.17.18

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.17.17

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.17.16

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.17.15

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.17.14

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.17.13

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.17.12

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.17.11

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.17.10

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.17.9

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.17.8

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.17.7

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.17.6

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.17.5

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.17.4

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.17.3

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.17.2

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.17.1

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.17.0

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.16.3

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.16.2

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.16.1

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.16.0

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.15.2

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.15.1

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.15.0

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.14.2

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.14.1

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.14.0

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.13.4

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.13.3

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.13.2

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.13.1

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.13.0

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.12.1

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.12.0

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.11.2

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.11.1

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.11.0

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.10.2

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.10.1

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.10.0

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.9.3

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.9.2

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.9.1

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.9.0

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.8.1

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.8.0

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.7.1

ECE 2.2.2

Elasticsearch, Kibana, APM, and Enterprise Search stack pack: 7.7.0

ECE 2.2.2

Elasticsearch, Kibana, APM, and App Search stack pack: 7.6.2

ECE 2.2.2

Elasticsearch, Kibana, APM, and App Search stack pack: 7.6.1

ECE 2.2.2

Elasticsearch, Kibana, APM, and App Search stack pack: 7.6.0

ECE 2.2.2

Elasticsearch, Kibana, APM, and App Search stack pack: 7.5.2

ECE 2.2.2

Elasticsearch, Kibana, APM, and App Search stack pack: 7.5.1

ECE 2.2.2

Elasticsearch, Kibana, APM, and App Search stack pack: 7.5.0

ECE 2.2.2

Elasticsearch, Kibana, APM, and App Search stack pack: 7.4.2

ECE 2.2.2

Elasticsearch, Kibana, APM, and App Search stack pack: 7.4.1

ECE 2.2.2

Elasticsearch, Kibana, APM, and App Search stack pack: 7.4.0

ECE 2.2.2

Elasticsearch, Kibana, and APM stack pack: 7.3.2

ECE 2.2.2

Elasticsearch, Kibana, and APM stack pack: 7.3.1

ECE 2.2.2

Elasticsearch, Kibana, and APM stack pack: 7.3.0

ECE 2.2.2

Elasticsearch, Kibana, and APM stack pack: 7.2.1

ECE 2.2.2

Elasticsearch, Kibana, and APM stack pack: 7.2.0

ECE 2.2.2

Elasticsearch, Kibana, and APM stack pack: 7.1.1

ECE 2.2.2

Elasticsearch, Kibana, and APM stack pack: 7.1.0

ECE 2.2.2

Elasticsearch, Kibana, and APM stack pack: 7.0.1

ECE 2.2.0

Elasticsearch, Kibana, and APM stack pack: 7.0.0

ECE 2.2.0

Elasticsearch, Kibana, and APM stack pack: 6.8.23

ECE 1.1.4

Elasticsearch, Kibana, and APM stack pack: 6.8.22

ECE 1.1.4

Elasticsearch, Kibana, and APM stack pack: 6.8.21

ECE 1.1.4

Elasticsearch, Kibana, and APM stack pack: 6.8.20

ECE 1.1.4

Elasticsearch, Kibana, and APM stack pack: 6.8.19

ECE 1.1.4

Elasticsearch, Kibana, and APM stack pack: 6.8.18

ECE 1.1.4

Elasticsearch, Kibana, and APM stack pack: 6.8.17

ECE 1.1.4

Elasticsearch, Kibana, and APM stack pack: 6.8.16

ECE 1.1.4

Elasticsearch, Kibana, and APM stack pack: 6.8.15

ECE 1.1.4

Elasticsearch, Kibana, and APM stack pack: 6.8.14

ECE 1.1.4

Elasticsearch, Kibana, and APM stack pack: 6.8.13

ECE 1.1.4

Elasticsearch, Kibana, and APM stack pack: 6.8.12

ECE 1.1.4

Elasticsearch, Kibana, and APM stack pack: 6.8.11

ECE 1.1.4

Elasticsearch, Kibana, and APM stack pack: 6.8.10

ECE 1.1.4

Elasticsearch, Kibana, and APM stack pack: 6.8.9

ECE 1.1.4

Elasticsearch, Kibana, and APM stack pack: 6.8.8

ECE 1.1.4

Elasticsearch, Kibana, and APM stack pack: 6.8.7

ECE 1.1.4

Elasticsearch, Kibana, and APM stack pack: 6.8.6

ECE 1.1.4

Elasticsearch, Kibana, and APM stack pack: 6.8.5

ECE 1.1.4

Elasticsearch, Kibana, and APM stack pack: 6.8.4

ECE 1.1.4

Elasticsearch, Kibana, and APM stack pack: 6.8.3

ECE 1.1.4

Elasticsearch, Kibana, and APM stack pack: 6.8.2

ECE 1.1.4

Elasticsearch, Kibana, and APM stack pack: 6.8.1

ECE 1.1.4

Elasticsearch, Kibana, and APM stack pack: 6.8.0

ECE 1.1.4

Elasticsearch, Kibana, and APM stack pack: 6.7.2

ECE 1.1.4

Elasticsearch, Kibana, and APM stack pack: 6.7.1

ECE 1.1.4

Elasticsearch, Kibana, and APM stack pack: 6.7.0

ECE 1.1.4

Elasticsearch, Kibana, and APM stack pack: 6.6.2

ECE 1.1.4

Elasticsearch, Kibana, and APM stack pack: 6.6.1

ECE 1.1.4

Elasticsearch, Kibana, and APM stack pack: 6.6.0

ECE 1.1.4

Elasticsearch, Kibana, and APM stack pack: 6.5.4

ECE 1.1.4

Elasticsearch, Kibana, and APM stack pack: 6.5.3

ECE 1.1.4

Elasticsearch, Kibana, and APM stack pack: 6.5.2

ECE 1.1.4

Elasticsearch, Kibana, and APM stack pack: 6.5.1

ECE 1.1.4

Elasticsearch, Kibana, and APM stack pack: 6.5.0

ECE 1.1.4

Elasticsearch, Kibana, and APM stack pack: 6.4.3

ECE 1.1.4

Elasticsearch, Kibana, and APM stack pack: 6.4.2

ECE 1.1.4

Elasticsearch, Kibana, and APM stack pack: 6.4.1

ECE 1.1.4

Elasticsearch, Kibana, and APM stack pack: 6.4.0

ECE 1.1.4

Elasticsearch, Kibana, and APM stack pack: 6.3.2

ECE 1.1.4

Elasticsearch, Kibana, and APM stack pack: 6.3.1

ECE 1.1.4

Elasticsearch, Kibana, and APM stack pack: 6.3.0

ECE 1.1.4

Elasticsearch and Kibana stack pack: 6.2.4

ECE 1.1.2

Elasticsearch and Kibana stack pack: 6.2.3

ECE 1.1.2

Elasticsearch and Kibana stack pack: 6.2.2

ECE 1.1.2

Elasticsearch and Kibana stack pack: 6.1.4

ECE 1.1.2

Elasticsearch and Kibana stack pack: 6.1.3

ECE 1.1.2

Elasticsearch and Kibana stack pack: 6.0.1

ECE 1.1.2

Elasticsearch and Kibana stack pack: 6.0.0

ECE 1.1.0

Elasticsearch and Kibana stack pack: 5.6.16

ECE 1.1.0

Elasticsearch and Kibana stack pack: 2.4.6

ECE 1.0.0

Elasticsearch and Kibana stack pack: 2.4.5

ECE 1.0.0

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

edit

The 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

edit

You 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:

  1. Log into the Cloud UI.
  2. From the Platform menu, select Elastic Stack.
  3. 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

edit

You 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:

  1. Download the Elastic Stack version that you want.
  2. Log into the Cloud UI.
  3. From the Platform menu, select Elastic Stack.
  4. Click Upload Elastic Stack pack.
  5. 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:

  1. Log into a host running Elastic Cloud Enterprise.
  2. Add the Elastic Stack pack with the add-stack-version action:

    ./elastic-cloud-enterprise.sh add-stack-version \
        --user USER --pass PASSWORD \
        --version X.Y.Z 

    A supported Elastic Stack version, such as 5.4.0

    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:

  1. Download the pack on an internet-connected host from Elastic and make it available locally.
  2. 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" 

    The local path and the new Elastic Stack pack .zip 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

edit

Updating 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:

  1. Download the Elastic Stack version that you want.
  2. Log into the Cloud UI.
  3. From the Platform menu, select Elastic Stack.
  4. Delete the old pack you want to replace.
  5. Click Upload Elastic Stack pack.
  6. 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:

  1. Download an updated pack on an internet-connected host from Elastic and make it available locally.
  2. 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" 

    The version being updated

    The local path and the updated Elastic Stack pack .zip 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"