# CORS required to connect to Elastic Cloud?

**URL:** <https://discuss.elastic.co/t/cors-required-to-connect-to-elastic-cloud/189444>\
**Category:** Elasticsearch\
**Created:** [July 9, 2019, 1:27am UTC](https://discuss.elastic.co/t/cors-required-to-connect-to-elastic-cloud/189444 "2019-07-09T01:27:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![caseydm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/caseydm/32/26771_2.png) [@caseydm](https://discuss.elastic.co/u/caseydm)\
**Post date:** [July 9, 2019, 1:27am UTC](https://discuss.elastic.co/t/cors-required-to-connect-to-elastic-cloud/189444/1 "2019-07-09T01:27:03Z")

</div>

Hi All. I recently received a notice from the Elastic Cloud team saying they are changing the way they set up cross origin resource sharing on clusters:

> Elasticsearch Service clusters provisioned on Elastic Cloud prior to January 25th, 2019 have a [CORS](https://link.elastic.co/a0321e0IJM0e00sMYABUDQp) policy set at the proxy layer. This is now deprecated, and we will be moving to a model that requires customers to configure their own[http module](https://link.elastic.co/a0321e0IJM0e00tMZABUDQp) CORS policy to their needs. These settings are configurable as[Elasticsearch user settings](https://link.elastic.co/MB2M1J0eMVDIp00ve0QA003) for a cloud deployment. This is applicable for all clusters.

I'm trying to figure out if this affects me and if I need to make changes to my setup. Basically, I connect to my Elasticsearch instance using Django Elasticsearch DSL ([GitHub - django-es/django-elasticsearch-dsl: This is a package that allows indexing of django models in elasticsearch with elasticsearch-dsl-py.](https://github.com/sabricot/django-elasticsearch-dsl)), which relies on Elasticsearch DSL ([Elasticsearch DSL — Elasticsearch DSL 8.11.0 documentation](https://elasticsearch-dsl.readthedocs.io/en/latest/)). I don't believe I need to enable CORS in my settings, but I just want to verify with others that are in this situation.

Thanks,  
Casey

---

<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:** [August 6, 2019, 1:27am UTC](https://discuss.elastic.co/t/cors-required-to-connect-to-elastic-cloud/189444/2 "2019-08-06T01:27:04Z")

</div>

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