My Blog

Elasticsearch on Cloud

1-click AWS Deployment    1-click Azure Deployment 1-click Google Deployment

Overview

Elasticsearch is a powerful open source search and analytics engine that makes data easy to explore. Elasticsearch is a search server based on Lucene. It provides a distributed, multitenant-capable full-text search engine with a RESTful web interface and schema-free JSON documents. Elasticsearch can be used to search all kinds of documents. It provides scalable search, has near real-time search and supports multitenancy.

Elasticsearch can be used to search all kinds of documents. It provides scalable search, has near real-time search and supports multitenancy.”Elasticsearch is distributed, which means that indices can be divided into shards and each shard can have zero or more replicas. Each node hosts one or more shards and acts as a coordinator to delegate operations to the correct shard(s). Rebalancing and routing are done automatically.

Elasticsearch uses Lucene and tries to make all its features available through the JSON and Java API. It supports facetting and percolating, which can be useful for notifying if new documents match for registered queries.

Another feature is called “gateway” and handles the long-term persistence of the index  for example, an index can be recovered from the gateway in the event of a server crash. Elasticsearch supports real-time GET requests, which makes it suitable as a NoSQL datastore, but it lacks distributed transactions.

Elasticsearch  is a famous open source provided by https://www.elastic.co/

Elasticsearch on Cloud runs on Amazon Web Services (AWS) and Azure and is built to provide a distributed, multitenant-capable full-text search engine with an HTTP web interface.

ElasticSearch is owned by Elasticsearch Inc ( www.elastic.co/) and they own all related trademarks and IP rights for this software.

Elasticsearch is owned by Elasticsearch (https://www.elastic.co/) and they own all related trademarks and IP rights for this software.

Cognosys provides hardened images of Elasticsearch on all public cloud i.e. AWS marketplace and Azure.

This Image is made specially for Customers who are looking for deploying a self managed Community edition on hardened kernel instead of just putting up a vanilla install.

Secured Elasticsearch on Centos

Elasticsearch on Cloud for Azure

Features

Major Features Of Elasticsearch

  • It supports facetting and percolating, which can be useful for notifying if new documents match for registered queries.
  • Another feature is called “gateway” and handles the long-term persistence of the index; for example, an index can be recovered from the gateway in the event of a server crash.
  • Elasticsearch supports real-time GET requests, which makes it suitable as a NoSQL datastore, but it lacks distributed transactions.

AWS

Installation Instructions For  Ubuntu

Note: How to find PublicDNS in AWS

Step 1) SSH Connection: To connect to the deployed instance, Please follow Instructions to Connect to Ubuntu instance on AWS Cloud

1) Download Putty.

2) Connect to virtual machine using following SSH credentials :

  • Hostname: PublicDNS  / IP of machine
  • Port : 22

Username: To connect to the operating system, use SSH and the username is ubuntu.
Password : Please Click here  to know how to  get password .

Step 2) Database Login Details :

  • MYSQL Username : root
  • MYSQL Password : Passw@rd123

Note :-Please change password immediately after first login.

Step 3) Application URL: Access the application via a browser at http://publicDNS:9200 

Step 4) Other Information:
1.Default installation path: will be on your web root folder “/var/www/html/Elasticsearch
2.Default ports:

  • Linux Machines:  SSH Port – 22 or 2222
  • Http: 80 or 8080
  • Https: 443
  • Sql or Mysql ports: By default these are not open on Public Endpoints. Internally Sql server: 1433. Mysql :3306

Configure custom inbound and outbound rules using this link

AWS Step by Step Screenshots

Product Overview

elastcsearch_ubuntu_1

elastcsearch_ubuntu_2

elastcsearch_ubuntu_3

Azure

Installation Instructions For Ubuntu

Note: How to find PublicDNS in Azure

Step 1) SSH Connection: To connect to the deployed instance, Please follow Instructions to Connect to Ubuntu instance on Azure Cloud

1) Download Putty.

2) Connect to virtual machine using following SSH credentials :

  • Host name: PublicDNS  / IP of machine
  • Port : 22

Username: Your chosen username when you created the machine ( For example:  Azureuser)

Password : Your Chosen Password when you created the machine ( How to reset the password if you do not remember)

Step 2) Database Login Details :

MYSQL Username : root
MYSQL Password : Passw@rd123

Note : Please change password immediately after first login.

Step 3) Application URL: Access the application via a browser at http://PublicDNS

Note: Open port 9200 on server Firewall.

Step 4) Other Information:
1. Default installation path: will be on your web root folder “/etc/elasticsearch”
2. Default Ports:

  • Linux Machines:  SSH Port – 22 or 2222
  • Http: 80 or 8080
  • Https: 443
  • MySQL ports: By default these are not open on Public Endpoints. MySQL :3306

Installation Instructions For CentOS

Note : How to find PublicDNS in Azure

Step 1) SSH Connection: To connect to the deployed instance, Please follow Instructions to Connect to Centos instance on Azure Cloud

1) Download Putty.

2) Connect to virtual machine using following SSH credentials :

  • Host name: PublicDNS  / IP of machine
  • Port : 22

Username: Your chosen username when you created the machine ( For example:  Azureuser)

Password : Your Chosen Password when you created the machine ( How to reset the password if you do not remember)

Step 2) Database Login Details :

  • MYSQL Username : root
  • MYSQL Password : Passw@rd123

Note : Please change password immediately after first login.

Step 3) Application URL: Access the application via a browser at http://PublicDNS

Step 4) Other Information:
1. Default installation path: will be on your web root folder “/etc/elasticsearch
2.Default ports:

  • Linux Machines:  SSH Port – 22 or 2222
  • Http: 80 or 8080
  • Https: 443
  • MySQL ports: By default these are not open on Public Endpoints. MySQL :3306

Configure custom inbound and outbound rules using this link

Azure Step by Step Screenshots for Ubuntu 14.04 LTS

Google

Installation Instructions For Ubuntu

Installation Instructions for Ubuntu

Step 1) VM Creation:

  1. Click the Launch on Compute Engine button to choose the hardware and network settings.
  2. You can see at this page, an overview of Cognosys Image as well as estimated cost of running the instance.
  3. In the settings page, you can choose the number of CPUs and amount of RAM, the disk size and type etc.

Step 2) SSH Connection:To initialize the DB Server connect to the deployed instance, Please follow Instructions to Connect to Ubuntu instance on Google Cloud

1) Download Putty.

2) Connect to the virtual machine using SSH key

  • Hostname: PublicDNS  / IP of machine
  • Port : 22

Step 3) Database Login Details:

The below screen appears after successful deployment of the image.

successful deployment of the image

For local MySQL root password, please use the temporary password generated automatically during image creation as shown above.

i) Please connect to Remote Desktop as given in step 2 to ensure stack is properly configured and DB is initialized.
ii) You can use MySQL server instance as localhost, username root and password as shown above.

If you have closed the deployment page you can also get the MySQL root password from VM Details  “Custom metadata” Section.

Step 3) Application URL: Access the application via a browser at http://PublicDNS

Note: Open port 9200 on server Firewall.

Step 4) Other Information:
1. Default installation path: will be on your web root folder “/etc/elasticsearch
2.Default ports:

  • Linux Machines:  SSH Port – 22 or 2222
  • Http: 80 or 8080
  • Https: 443
  • MySQL ports: By default these are not open on Public Endpoints. MySQL :3306

Videos

Secured Elasticsearch on Centos

Elasticsearch on Cloud

Related Posts