# Unfamiliar with Google Cloud Platform Elasticsearch setup. Few questions

**URL:** https://discuss.elastic.co/t/unfamiliar-with-google-cloud-platform-elasticsearch-setup-few-questions/41253
**Category:** Elasticsearch
**Created:** [February 9, 2016, 8:46am UTC](https://discuss.elastic.co/t/unfamiliar-with-google-cloud-platform-elasticsearch-setup-few-questions/41253 "2016-02-09T08:46:04Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ChristopherJones7252](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christopherjones7252/32/7676_2.png) [@ChristopherJones7252](https://discuss.elastic.co/u/ChristopherJones7252)
#### Post date: [February 9, 2016, 8:46am UTC](https://discuss.elastic.co/t/unfamiliar-with-google-cloud-platform-elasticsearch-setup-few-questions/41253/1 "2016-02-09T08:46:04Z")

</div>

Hello Elasticsearch community,

I've recently setup an Elasticsearch http-server on Google Cloud Platform for the purpose of using it for autocompletion. There are just a few things I can't figure out.

- External Access: I enabled HTTP requests on the instance and still, the external IP:9200 times out. The yml says Elasticsearch, by default, binds itself to the 0.0.0.0 address. But, I'm wondering if there is something I'm missing.

- CORS: I've been through every the deepest depths of the internet searching for a way to set my Access-Control-Allow-Origin in the header.

from my elasticsearch.yml:

# Set a custom port to listen for HTTP traffic:

http.port: 9200

# User added values to allow Cross-Origin Resource Sharing

http.cors.enabled : true  
http.cors.allow-origin : /https?://localhost(:[0-9]+)?/

If anyone is willing to take a look. I'm having issues with a python script I wrote to insert records into the datastore.

> **[ChristopherJones72521/autoCatplete](https://github.com/ChristopherJones72521/autoCatplete/tree/master/generateRecords)**
>
> autoCatplete - Search records of cats available for adoption

And,  
I'm having an issue limiting my search query results. I'm able to return results. But, I'm not grasping the proper way to go about limiting them. I've been reading documentation for days now and my head is sort of spinning. Any help is greatly appreciated.

> <https://github.com/ChristopherJones72521/autoCatplete/blob/master/index.html>

-Chris

---

<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: [July 5, 2017, 11:18pm UTC](https://discuss.elastic.co/t/unfamiliar-with-google-cloud-platform-elasticsearch-setup-few-questions/41253/2 "2017-07-05T23:18:00Z")

</div>


