# License in a cluster

**URL:** https://discuss.elastic.co/t/license-in-a-cluster/329502
**Category:** Elasticsearch
**Created:** [April 6, 2023, 10:25am UTC](https://discuss.elastic.co/t/license-in-a-cluster/329502 "2023-04-06T10:25:50Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Joel\_Goncalves](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joel_goncalves/32/118191_2.png) [@Joel\_Goncalves](https://discuss.elastic.co/u/Joel_Goncalves)
#### Post date: [April 6, 2023, 10:25am UTC](https://discuss.elastic.co/t/license-in-a-cluster/329502/1 "2023-04-06T10:25:50Z")

</div>

Hello I have a cluster with 5 nodes, one of them (master) is installed on-premises and I have 4 nodes connected to it if I put a license on elasticsearch which is installed on-premises will this license be passed to the other nodes?

---

<div class="post-metadata">

### Author: ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)
#### Post date: [April 7, 2023, 3:49am UTC](https://discuss.elastic.co/t/license-in-a-cluster/329502/2 "2023-04-07T03:49:26Z")

</div>

Hi @Joel_Goncalves

It is unclear what you are asking.

In short, all licensed nodes, master, data, machine learning, CCR nodes all count towards license. Ingest only or coordinator only do not count towards licensing.

If you apply a license to a node or use the API or use Kibana, that license is applied to all license nodes in the cluster.

The license count is equal to the sum of all the licenseable nodes.

I do not understand your distinction of on-prem for the master.

Also, if you want to use CCR, both clusters need to be at the same license level.

---

<div class="post-metadata">

### Author: ![Joel\_Goncalves](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joel_goncalves/32/118191_2.png) [@Joel\_Goncalves](https://discuss.elastic.co/u/Joel_Goncalves)
#### Post date: [April 7, 2023, 8:22am UTC](https://discuss.elastic.co/t/license-in-a-cluster/329502/3 "2023-04-07T08:22:06Z")

</div>

I want to know if I apply a license on my node if this license will be applied on the entire cluster.

---

<div class="post-metadata">

### Author: ![Joel\_Goncalves](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joel_goncalves/32/118191_2.png) [@Joel\_Goncalves](https://discuss.elastic.co/u/Joel_Goncalves)
#### Post date: [April 7, 2023, 8:23am UTC](https://discuss.elastic.co/t/license-in-a-cluster/329502/4 "2023-04-07T08:23:33Z")

</div>

So, if I have 5 nodes I will have to pay 5 licenses is that it?

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [April 7, 2023, 10:30am UTC](https://discuss.elastic.co/t/license-in-a-cluster/329502/5 "2023-04-07T10:30:17Z")

</div>

> [@Joel\_Goncalves](#):
>
> I want to know if I apply a license on my node if this license will be applied on the entire cluster.

Stephen already answered this:

> [@stephenb](#):
>
> If you apply a license to a node or use the API or use Kibana, that license is applied to all license nodes in the cluster.

> [@Joel\_Goncalves](#):
>
> So, if I have 5 nodes I will have to pay 5 licenses is that it?

Stephen also answered this:

> [@stephenb](#):
>
> The license count is equal to the sum of all the licenseable nodes.

I would add that licensing costs and constraints is something you need to discuss sales. It is not something generally covered here in this forum.

---

<div class="post-metadata">

### Author: ![Wave](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wave/32/117242_2.png) [@Wave](https://discuss.elastic.co/u/Wave)
#### Post date: [April 7, 2023, 1:35pm UTC](https://discuss.elastic.co/t/license-in-a-cluster/329502/6 "2023-04-07T13:35:52Z")

</div>

Agree with everyone who's answered this, but seems like maybe there is some confusion over the words used. Perhaps an example will help. This is just my experience and encourage like mentioned above to contact sales for the latest official information. Having said all that:

Let's say I have a nice little cluster with 3 master nodes, and 7 data nodes and I want the enterprise tier of the software. I would then buy a 10 node enterprise license from elastic and apply it to my cluster. I'd get 1 license file that allows 10 nodes. I don't get 10 unique 1 node licenses if that is what @Joel_Goncalves is trying to ask. Does that help clear things up?

---

<div class="post-metadata">

### Author: ![Joel\_Goncalves](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joel_goncalves/32/118191_2.png) [@Joel\_Goncalves](https://discuss.elastic.co/u/Joel_Goncalves)
#### Post date: [April 11, 2023, 12:33pm UTC](https://discuss.elastic.co/t/license-in-a-cluster/329502/7 "2023-04-11T12:33:05Z")

</div>

Yes thank you

---

<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: [May 9, 2023, 12:33pm UTC](https://discuss.elastic.co/t/license-in-a-cluster/329502/8 "2023-05-09T12:33:06Z")

</div>

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