# ES6.4 will not start up with gce discovery

**URL:** <https://discuss.elastic.co/t/es6-4-will-not-start-up-with-gce-discovery/150475>\
**Category:** Elasticsearch\
**Created:** [September 30, 2018, 11:17am UTC](https://discuss.elastic.co/t/es6-4-will-not-start-up-with-gce-discovery/150475 "2018-09-30T11:17:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Francis\_Lapique](https://avatars.discourse-cdn.com/v4/letter/f/b5e925/32.png) [@Francis\_Lapique](https://discuss.elastic.co/u/Francis_Lapique)\
**Post date:** [September 30, 2018, 11:17am UTC](https://discuss.elastic.co/t/es6-4-will-not-start-up-with-gce-discovery/150475/1 "2018-09-30T11:17:57Z")

</div>

My elasticsearch.yml looks like this:

network.host: _gce:hostname_  
cloud.gce.project\_id: my\_id  
cloud.gce.zone: europe-west1-b  
discovery.zen.hosts\_provider: gce

Which account is gce-discovery running under?

The logs

[2018-09-30T13:11:46,828][INFO][o.e.n.Node] [instance-fondation] starting ...  
[2018-09-30T13:11:47,453][INFO][o.e.t.TransportService] [instance-fondation] publish\_address {10.132.0.4:9300}, bound\_addresses {10.132.0.4:9300}  
[2018-09-30T13:11:47,513][INFO][o.e.b.BootstrapChecks] [instance-fondation] bound or publishing to a non-loopback address, enforcing bootstrap checks  
[2018-09-30T13:11:47,678][INFO][o.e.c.g.GceInstancesServiceImpl] [instance-fondation] starting GCE discovery service  
[2018-09-30T13:11:48,055][WARN][o.e.c.g.GceInstancesServiceImpl] [instance-fondation] Problem fetching instance list for zone europe-west1-b  
com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 Forbidden  
{  
"code" : 403,  
"errors" : [ {  
"domain" : "global",  
"message" : "Insufficient Permission",  
"reason" : "insufficientPermissions"  
} ],  
"message" : "Insufficient Permission"

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [September 30, 2018, 11:46am UTC](https://discuss.elastic.co/t/es6-4-will-not-start-up-with-gce-discovery/150475/2 "2018-09-30T11:46:02Z")

</div>

Make sure you set the rights `compute-rw` for the instance as described here: [https://www.elastic.co/guide/en/elasticsearch/plugins/6.4/discovery-gce-usage-long.html#discovery-gce-usage-long-first-instance](https://www.elastic.co/guide/en/elasticsearch/plugins/6.4/discovery-gce-usage-long.html#discovery-gce-usage-long-first-instance)

---

<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:** [October 28, 2018, 11:46am UTC](https://discuss.elastic.co/t/es6-4-will-not-start-up-with-gce-discovery/150475/3 "2018-10-28T11:46:06Z")

</div>

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