# ECE ccs.default instance not found

**URL:** <https://discuss.elastic.co/t/ece-ccs-default-instance-not-found/176714>\
**Category:** Elastic Cloud Enterprise (ECE)\
**Created:** [April 13, 2019, 1:57am UTC](https://discuss.elastic.co/t/ece-ccs-default-instance-not-found/176714 "2019-04-13T01:57:16Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![rockybean](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rockybean/32/11443_2.png) [@rockybean](https://discuss.elastic.co/u/rockybean)\
**Post date:** [April 13, 2019, 1:57am UTC](https://discuss.elastic.co/t/ece-ccs-default-instance-not-found/176714/1 "2019-04-13T01:57:16Z")

</div>

It looks like a bug in ECE 2.2.0 like below when try to setup a ccs deployment.

 ![pic_hd](https://us1.discourse-cdn.com/elastic/original/3X/3/7/37806e9cb787d8ce0117ac0fe2b7c5fb583149cf.png)

---

<div class="post-metadata">

**Author:** ![rockybean](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rockybean/32/11443_2.png) [@rockybean](https://discuss.elastic.co/u/rockybean)\
**Post date:** [April 13, 2019, 3:25am UTC](https://discuss.elastic.co/t/ece-ccs-default-instance-not-found/176714/2 "2019-04-13T03:25:24Z")

</div>

In addition,I upgrade from 2.1.0 to 2.2.0.

---

<div class="post-metadata">

**Author:** ![osykora](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/osykora/32/41464_2.png) [@osykora](https://discuss.elastic.co/u/osykora)\
**Post date:** [April 15, 2019, 8:42am UTC](https://discuss.elastic.co/t/ece-ccs-default-instance-not-found/176714/3 "2019-04-15T08:42:34Z")

</div>

I ran into the very same issue. Upgraded from ECE 2.1 to 2.2, attempted to create a new ccs cluster using Cross cluster search template, customized the deployment and the error above showed up.

The root cause is that the deployment template requires an instance template called "ccs.default" which doesn't exist. I fixed that by updating the template and using "data.default" instance template instead.

You can update the template easily by api call [https://www.elastic.co/guide/en/cloud-enterprise/current/Templates\_-\_Deployments.html#set-deployment-template](https://www.elastic.co/guide/en/cloud-enterprise/current/Templates_-_Deployments.html#set-deployment-template) or simply creating an instance template called "ccs.default" might work as well, but I haven't tried.

---

<div class="post-metadata">

**Author:** ![rockybean](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rockybean/32/11443_2.png) [@rockybean](https://discuss.elastic.co/u/rockybean)\
**Post date:** [April 15, 2019, 9:14am UTC](https://discuss.elastic.co/t/ece-ccs-default-instance-not-found/176714/4 "2019-04-15T09:14:32Z")

</div>

Thanks!

I've tried to create on through UI but it doesn't works.

It should work through api. Let me test.

---

<div class="post-metadata">

**Author:** ![Yuri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yuri/32/52458_2.png) [@Yuri](https://discuss.elastic.co/u/Yuri)\
**Post date:** [April 15, 2019, 3:57pm UTC](https://discuss.elastic.co/t/ece-ccs-default-instance-not-found/176714/5 "2019-04-15T15:57:13Z")

</div>

Yes, there is missing instance configuration that is used by the template. It will be fixed in 2.2.1 which will be released soon.  
I will post the correct instance configuration that you can apply via API. I would not recommend you to create your own "ccs.default" configuration.

---

<div class="post-metadata">

**Author:** ![Yuri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yuri/32/52458_2.png) [@Yuri](https://discuss.elastic.co/u/Yuri)\
**Post date:** [April 15, 2019, 4:04pm UTC](https://discuss.elastic.co/t/ece-ccs-default-instance-not-found/176714/6 "2019-04-15T16:04:19Z")

</div>

```auto
curl -XPUT 'http://$HOST:12300/api/v1/platform/configuration/instances/ccs.default' \
  -u "admin:$PASSWORD" \
  -H 'Content-Type: application/json' \
  -d '
    {
      "name": "ccs.default",
      "description": "The instance configuration that is used to search data across one or more remote deployments",
      "system_owned": true,
      "instance_type": "elasticsearch",
      "node_types": ["data","master"],
      "discrete_sizes": {
        "sizes": [1024,2048,4096,8192,16384,32768,65536],
        "default_size": 1024,
        "resource": "memory"
      },
      "storage_multiplier": 4
    }'

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 29, 2019, 4:04pm UTC](https://discuss.elastic.co/t/ece-ccs-default-instance-not-found/176714/7 "2019-04-29T16:04:21Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
