# Setting up security and alerting in basic license cluster

**URL:** <https://discuss.elastic.co/t/setting-up-security-and-alerting-in-basic-license-cluster/280296>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security, elastic-stack-alerting\
**Created:** [August 3, 2021, 9:51am UTC](https://discuss.elastic.co/t/setting-up-security-and-alerting-in-basic-license-cluster/280296 "2021-08-03T09:51:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![azxqw](https://avatars.discourse-cdn.com/v4/letter/a/4491bb/32.png) [@azxqw](https://discuss.elastic.co/u/azxqw)\
**Post date:** [August 3, 2021, 9:51am UTC](https://discuss.elastic.co/t/setting-up-security-and-alerting-in-basic-license-cluster/280296/1 "2021-08-03T09:51:06Z")

</div>

Hi  
I want to enable the security settings to use the alerting capabillites of the stack.  
What i dont understand from the user guide is this - do i need to do what is told on every node in the cluster?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [August 3, 2021, 10:45pm UTC](https://discuss.elastic.co/t/setting-up-security-and-alerting-in-basic-license-cluster/280296/2 "2021-08-03T22:45:37Z")

</div>

Yes, security needs to be setup and enabled on every node in the cluster.

---

<div class="post-metadata">

**Author:** ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)\
**Post date:** [August 4, 2021, 2:50am UTC](https://discuss.elastic.co/t/setting-up-security-and-alerting-in-basic-license-cluster/280296/3 "2021-08-04T02:50:34Z")

</div>

Most of the steps try to say whether to do it on every node, but there's some that aren't as clear as they should be.

The short answer is:

- Anything that changes `elasticsearch.yml` or adds something to the Elasticsearch keystore, needs to happen on every node.
- Anytime you're asked to (re)start Elasticsearch, you typically want to restart all nodes.
- Anything that generates a new TLS certificate or key, is typically run only once and then copied to each node.
- Setting the initial passwords for the builtin users is done once only.

---

<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:** [September 1, 2021, 2:51am UTC](https://discuss.elastic.co/t/setting-up-security-and-alerting-in-basic-license-cluster/280296/4 "2021-09-01T02:51:15Z")

</div>

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