Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there anyway to create a friendly URL for AWS Elasticsearch domain url?

I tried creating a Route 53 alias record but that didn't work.

like image 969
Dhawal Avatar asked Jun 03 '16 17:06

Dhawal


People also ask

What is the difference between Elasticsearch and OpenSearch?

OpenSearch is a fork of the Elasticsearch and Kibana code base which will remain under the Apache 2.0 license. You can find the official OpenSearch project here. This news impacts a much broader ecosystem than at first glance. With over 100 million downloads, Elasticsearch's popularity has eclipsed Solr (pun intended).

What is the domain name for Elasticsearch?

The name of an Elasticsearch domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen). The Amazon resource name (ARN) of an Elasticsearch domain.

What is AWS Elasticsearch domain?

Concept of AWS Elasticsearch Amazon Elasticsearch domain and Elasticsearch cluster are identical to each other. Domains are the clusters with instance type, instance count, settings, and storage resources that you specify. It allows us to create one or more Elasticsearch indices within the same domain.


3 Answers

It is possible as of November 2020:

  1. Choose Edit domain.
  2. To add a Custom endpoint, select the Enable custom endpoint check box.
  3. For Custom hostname, enter your preferred custom endpoint hostname. Your custom endpoint hostname should be a fully qualified domain name (FQDN), such as www.yourdomain.com or example.yourdomain.com.
  4. For AWS certificate, choose the SSL certificate that you want to use for your domain.

https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-customendpoint.html

like image 116
yurez Avatar answered Oct 20 '22 04:10

yurez


We don’t support custom SSL certificates, which means that a custom CNAME for an Elasticsearch Service endpoint such as mycluster.mycompanyname.example also is not supported.

Ref: https://www.elastic.co/guide/en/cloud/current/ec-faq.html#faq-dns

like image 29
Gilberto A Lima Avatar answered Oct 20 '22 06:10

Gilberto A Lima


It is still not possible on September 2020:

Can I use a Custom SSL certificate?

We don’t support custom SSL certificates, which means that a custom CNAME for an Elasticsearch Service endpoint such as mycluster.mycompanyname.com also is not supported.

source

like image 25
Filippo Vitale Avatar answered Oct 20 '22 06:10

Filippo Vitale