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.
Steps
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Steps
edit-
Use your favorite editor to edit the
my-first-deployment.jsonfile. -
To add snapshot repository configurations, specify the
snapshotvalues:"settings": { "snapshot" : { "enabled" : true, "interval" : "24", "pending_interval" : "24", "repository" : { "default" : {}, "reference" : { "repository_name" : "my_repository_name" }, "static" : { "repository_type" : "S3", "settings" : {} } }, "repository_name" : "my_repository_name", "retention" : { "max_age" : "24", "snapshots" : 0 }, "wait_time_after_snapshotting" : "10" } } }, -
To add cluster monitoring, specify the
targetClusterIdthat you want to monitor:"settings": { "monitoring": { "targetClusterId": "4e8c2d90e94b4a1a9a9b2c83145a8df1" } }, -
To add bundles to the deployment template, specify the
user_bundlesvalues:"plan" : { "user_bundles" : [ { "elasticsearch_version" : "6.5.4", "name" : "uber_plugin", "url" : "uber_plugin_v1.zip" } ], -
To add specific Elasticsearch plugins, specify the
user_pluginsvalues:"plan" : { "user_plugins" : [ { "elasticsearch_version" : "6.5.4", "name" : "repository-azure", "url" : "https://artifacts.elastic.co/downloads/elasticsearch-plugins/repository-azure/repository-azure-6.6.0.zip" } ], -
Apply the updated deployment configuration with a POST request:
curl -k -X POST -u USER:PASSWORD https://COORDINATOR_HOST:12443/api/v1/clusters/elasticsearch/$ELASTICSEARCH_CLUSTER_ID/plan -H 'content-type: application/json' -d @my-first-deployment.json