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.
Create a Deployment: Elasticsearch Cluster and Kibana instance
editCreate a Deployment: Elasticsearch Cluster and Kibana instance
editIn the below example we will create a deployment that includes both an Elasticsearch cluster and a Kibana instance. This will allow you to also use Kibana to create visualizations dashboards, etc.
curl -k -X POST -H "Authorization: ApiKey $ECE_API_KEY" https://$COORDINATOR_HOST:12443/api/v1/deployments -H 'content-type: application/json' -d '{ "name" : "My First Elasticsearch and Kibana Deployment", "resources":{ "elasticsearch": [{ "region": "ece-region", "ref_id": "main-elasticsearch", "plan":{ "cluster_topology": [{ "node_type": { "master": true, "data": true, "ingest": true }, "instance_configuration_id": "data.default", "zone_count": 1, "size": { "resource": "memory", "value": 2048 } }], "elasticsearch":{ "version": "7.5.1" }, "deployment_template":{ "id": "default" } } }], "kibana": [{ "region": "ece-region", "elasticsearch_cluster_ref_id": "main-elasticsearch", "ref_id": "main-kibana", "plan": { "cluster_topology": [{ "instance_configuration_id" : "kibana", "zone_count": 1, "size": { "resource": "memory", "value": 1024 } }], "kibana": { "version": "7.5.1" } } }] } }'
After the API call completes, Elastic Cloud Enterprise will again return the deployment ID with the Elasticsearch cluster ID. This time the Kibana ID is also included, along with the password for the elastic
superuser. Write this information down and keep it somewhere safe.
{ "id": "$DEPLOYMENT_ID", "name": "My First Elasticsearch and Kibana Deployment", "created": true, "resources": [ { "ref_id": "main-elasticsearch", "id": "$ELASTICSEARCH_CLUSTER_ID", "kind": "elasticsearch", "region": "ece-region", "cloud_id": "My_First_Elasticsearch_and_Kibana_Deployment:MTkyL...DZiZmY4", "credentials": { "username": "elastic", "password": "$PASSWORD" } }, { "ref_id": "main-kibana", "elasticsearch_cluster_ref_id": "main-elasticsearch", "id": "$KIBANA_ID", "kind": "kibana", "region": "ece-region" } ] }
Kibana will be available at the following endpoint https://KIBANA_ID.ECE_CNAME:9243/
and you can use the elastic
user and returned random password when you first login.