Deploy Elasticsearch & Kibana (sys-admin nomination required)

Prerequisites

The user has to be registered in the IAM system for INFN-Cloud https://iam.cloud.infn.it/login. Only registered users can login into the INFN-Cloud dashboard https://my.cloud.infn.it/login.

User responsibilities

Important

The solution described in this guide consists on the deployment of Elasticsearch and Kibana on top of Virtual Machines instantiated on INFN-CLOUD infrastructure. The instantiation of a VM comes with the responsibility of maintaining it and all the services it hosts.

Please read the INFN Cloud AUP in order to understand the responsibilities you have in managing this service.

Elasticsearch & Kibana configuration

Note

If you belong to multiple projects, aka multiple IAM-groups, after login into the dashboard, from the lower left corner, select the one to be used for the deployment you intend to perform. Not all solutions are available for all projects. The resources used for the deployment will be accounted to the respective project, and impact on their available quota. See figure below.

../../../_images/project_selection1.png

Once selected the project choose the “Elasticsearch & Kibana” button, then press configure.

Dashboard

Select either Automatic or Manual scheduling as shown below:

Auto Scheduling
Manual Scheduling

In the first case, the Orchestrator will take care of choosing the best available provider, in the other case it will be performed a direct submission towards one of the providers available, to be selected from the drop-down menu. In the case of manual scheduling, the flavors displayed on the next page will be those offered by the chosen provider.

The configuration menu is presented. Parameters are split in two pages: “Basic” and “Advanced” configuration.

Basic configuration

The user has to fill the following parameters:

Note

The parameters below are mandatory.

  • the description of the deployment.
  • the contact email.
  • the elastic_password. This password is created for the username elastic that allows you to log in to the Kibana dashboard.
  • the kibana_password. This is a specific password for the internal user kibana_system. Kibana uses these credentials to connect and communicate with Elasticsearch.

Other parameters are filled with default values:

  • 10 GB of volume size. The accepted value can range between 0 GB and the amount of storage left from the quota set by the provider for the respective project. If 0 GB is selected, the storage of the filesystem will be used. Its total size is 20 GB.
  • Volume mounting point which is “/data” by default.
  • The user can select between the available resource flavors.

When all parameters has been set, the user can submit the cluster.

Advanced configuration

The user can select:

  • The timeout for the deployment.
  • “no cluster deletion” in case of failure, this is a helpful feature for the orchestrator administrator. The administrator can perform debugging using it.
  • If desired, the user can choose to receive an e-mail when the cluster deployment is complete. It is enabled by default.
options

Deployment result

To check the status of the deployment and its details select the “deployments” button. Here all the user’s deployments are reported with “description”, “deployment uuid”, “status”, “creation time” and the “provider”, such as screenshot below.

deployment

For each deployment the button “Details” allows:

  • to retrieve the deployment log file that contains error messages in case of failure.
  • to show the TOSCA template of the cluster (currently only the default values).
  • to get the details of deployment with related VMs created
  • to lock the deployment.
  • to delete the cluster.

If the creation of a deployment fails, an additional option (retry) is introduced in the dropdown menu, allowing the user to resubmit the deployment with the same parameters:

Deployment creation failed

If the deletion of a deployment fails, resulting in the status being set to DELETE_FAILED, the “delete (force)” button is displayed in the list of available actions, allowing the user to force the deletion of the deployment:

Deployment deletion failed

Click on the deployment uuid you can look to your configuration:

  • Overview of the cluster where it shows the status of the deployment, the time of the deployment creation and update, and the provider that is hosting the cluster.
  • The Input Values you provided to create the cluster.
  • The Output Values you can use to access to the kibana dashboard and the VM where the services are running. Like the below screenshot:
output