With your private Docker registry

edit

Installing ECE on multiple hosts with your own registry server is simpler, because you do not have to load the Docker images on each host.

  1. Set up your private Docker registry. To learn more, see Deploy a registry server
  2. On an internet-connected host that has Docker installed, download the Available Docker Images and push them to your private Docker registry.

    docker pull docker.elastic.co/cloud-enterprise/elastic-cloud-enterprise:2.7.2
    docker pull docker.elastic.co/cloud-assets/elasticsearch:7.10.1-0
    docker pull docker.elastic.co/cloud-assets/kibana:7.10.1-0
    docker pull docker.elastic.co/cloud-assets/apm:7.10.1-0
    docker pull docker.elastic.co/enterprise-search/enterprise-search:7.10.1
    docker pull docker.elastic.co/cloud-assets/elasticsearch:6.8.13-0
    docker pull docker.elastic.co/cloud-assets/kibana:6.8.13-0

    For example, for Elastic Cloud Enterprise 2.7.2 and the Elastic Stack versions it shipped with, you need:

    • Elastic Cloud Enterprise 2.7.2
    • Elasticsearch 7.10.1-0, Kibana 7.10.1-0, APM 7.10.1-0, and Enterprise Search 7.10.1
    • Elasticsearch 6.8.13-0 and Kibana 6.8.13-0
  3. Tag the Docker images with your private registry, where REGISTRY is my.private.repo:5000, for example:

    docker tag docker.elastic.co/cloud-enterprise/elastic-cloud-enterprise:2.7.2 REGISTRY/cloud-enterprise/elastic-cloud-enterprise:2.7.2
    docker tag docker.elastic.co/cloud-assets/elasticsearch:7.10.1-0 REGISTRY/cloud-assets/elasticsearch:7.10.1-0
    docker tag docker.elastic.co/cloud-assets/kibana:7.10.1-0 REGISTRY/cloud-assets/kibana:7.10.1-0
    docker tag docker.elastic.co/cloud-assets/apm:7.10.1-0 REGISTRY/cloud-assets/apm:7.10.1-0
    docker tag docker.elastic.co/enterprise-search/enterprise-search:7.10.1 REGISTRY/enterprise-search/enterprise-search:7.10.1
    docker tag docker.elastic.co/cloud-assets/elasticsearch:6.8.13-0 REGISTRY/cloud-assets/elasticsearch:6.8.13-0
    docker tag docker.elastic.co/cloud-assets/kibana:6.8.13-0 REGISTRY/cloud-assets/kibana:6.8.13-0
  4. Push the Docker images to your private Docker registry, where REGISTRY is my.private.repo:5000, for example:

    docker push REGISTRY/cloud-enterprise/elastic-cloud-enterprise:2.7.2
    docker push REGISTRY/cloud-assets/elasticsearch:7.10.1-0
    docker push REGISTRY/cloud-assets/kibana:7.10.1-0
    docker push REGISTRY/cloud-assets/apm:7.10.1-0
    docker push REGISTRY/enterprise-search/enterprise-search:7.10.1
    docker push REGISTRY/cloud-assets/elasticsearch:6.8.13-0
    docker push REGISTRY/cloud-assets/kibana:6.8.13-0
  5. On an internet-connected host, download the installation script:

    curl -L -O https://download.elastic.co/cloud/elastic-cloud-enterprise.sh
  6. Copy the installation script to each host where you plan to install Elastic Cloud Enterprise. (Alternatively, you can place the installation script in a secure network location where your other hosts can access it.)
  7. Invoke the installation script on each host with the --docker-registry REGISTRY parameter, where REGISTRY is my.private.repo:5000, for example:

    1. On the first host:

      bash elastic-cloud-enterprise.sh install
        --docker-registry REGISTRY
    2. On additional hosts, include the --coordinator-host HOST_IP and --roles-token 'TOKEN' parameters provided to you when you installed on the first host, along with the --docker-registry REGISTRY parameter:

      bash elastic-cloud-enterprise.sh install
        --coordinator-host HOST_IP
        --roles-token 'TOKEN'
        --docker-registry REGISTRY