# Azure Virtual Machine Discovery

**URL:** <https://discuss.elastic.co/t/azure-virtual-machine-discovery/224125>\
**Category:** Elasticsearch\
**Created:** [March 18, 2020, 1:54pm UTC](https://discuss.elastic.co/t/azure-virtual-machine-discovery/224125 "2020-03-18T13:54:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![frankfoti](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/frankfoti/32/26965_2.png) [@frankfoti](https://discuss.elastic.co/u/frankfoti)\
**Post date:** [March 18, 2020, 1:54pm UTC](https://discuss.elastic.co/t/azure-virtual-machine-discovery/224125/1 "2020-03-18T13:54:02Z")

</div>

```
Not understanding direction here. I have done this on GCE and works fine spinning up new nodes without restarting nodes.

I have a 3 node cluster on azure ubuntu installed. How should I configure the eslasticsearch.yml?

This looks like it ;points to the cloud service correct? I do not have the azure cloud ES service in my case.
    > cloud:
    > azure:
    > management:
    > subscription.id: XXX-XXX-XXX-XXX
    > cloud.service.name: es-demo-app
    > keystore:
    > path: /path/to/azurekeystore.pkcs12
    > password: WHATEVER
    > type: pkcs12
    > 
    > discovery:
    > seed_providers: azure
```

---

<div class="post-metadata">

**Author:** ![frankfoti](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/frankfoti/32/26965_2.png) [@frankfoti](https://discuss.elastic.co/u/frankfoti)\
**Post date:** [March 18, 2020, 3:37pm UTC](https://discuss.elastic.co/t/azure-virtual-machine-discovery/224125/2 "2020-03-18T15:37:28Z")

</div>

```
Here is what I sue in GCP and works great.

network.host: _gce_
#
cloud:
  gce:
      project_id: rrc101-196516
      zone: [us-east1-b, us-east1-c, us-east1-d]
discovery:
      zen.hosts_provider: gce
```

---

<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 15, 2020, 3:37pm UTC](https://discuss.elastic.co/t/azure-virtual-machine-discovery/224125/3 "2020-04-15T15:37:37Z")

</div>

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