RousselTMLEARNING

TP · Elasticsearch: from discovery to expertise

Setting up the test environment

What you will learn in this TP
  • Install VirtualBox and Vagrant
  • Clone the course repository
  • Create and start a test environment
  • Connect to the virtual machines
Mode :

All steps and instructions are shown. Recommended for this lab: guided

Oracle VM virtualbox #

Context. The whole Elasticsearch course relies on identical test machines for every learner. You prepare, once and for all, this reproducible environment described in the course Git repository.

Prerequisites: VirtualBox and Vagrant installed, Git, 8 GB of free memory  ·  Estimated time: 20 min

We will use Virtualbox to deploy our test VMs. Some labs will be done on Docker, so if you already have a Docker engine you can use it instead of deploying a new VM.

Install Virtualbox by following the procedure for your system:

https://www.virtualbox.org/wiki/Downloads

Hashicorp Vagrant #

We will use Vagrant to deploy test environments automatically. To learn more about Vagrant, you can follow our dedicated training course.

Install Vagrant by following the procedure for your system:

https://developer.hashicorp.com/vagrant/install

From concept to expertise #

We have preconfigured a repo for the training.

  1. Git repo

    You can use the command below to clone the repo:

    git clone https://github.com/RousselTM/elasticsearch-kibana-formation
  2. Choosing the environment

    The test environment configurations are in the tp folder. This folder contains several subfolders, each corresponding to a test environment: simple VM, VM with Docker, VM with application... Each lab will specify which one to use:

    cd elasticsearch-kibana-formation/tp
  3. Creating the environment

    Once in the folder for the desired environment, you can create the environment on Virtualbox with the following Vagrant command

    vagrant up
  4. Accessing the VM

    You can access the VM by running the following command:
    vagrant ssh rousseltm-formation

Validate your work

Check that each goal above is reached and that you get the result described in the introduction.

Difficulty level : ●○○○○ (1/5)

My progress

  • ⏱ Estimated time : ≈ 20 min

Sign in to track your progress and take notes. Sign in

⭐ Rate this lesson

5.0 initial rating from the teaching team

Sign in to rate this lesson →

💬 Recent discussions about this course

Ask a question about this lesson →See all discussions about this course

Course Glossary

RBAC (Role-Based Access Control)

An access control method where permissions are assigned to specific roles (e.g., admin, reader) rather than directly to individual users.

Authentication

The process of verifying the identity of a user or system (e.g., login/password, tokens, biometrics).

Authorization

The process that occurs after authentication to determine if the entity has the necessary rights and privileges to access a resource.

API Key

A unique alphanumeric code used to identify, authenticate, and authorize access to an Application Programming Interface (API).

Architecture

The overall structural design of an IT system, defining its various components, their relationships, and the principles guiding its evolution.

Repository

A centralized storage location. This can refer to a source code repository (e.g., Git) or an artifact and binary repository (e.g., Harbor, Nexus, Arti...

Elasticsearch

A distributed, RESTful search and analytics engine capable of addressing a growing number of use cases, built on Apache Lucene.

Recommended Articles

OpenTelemetry metrics in Elasticsearch

Collect host, Kubernetes and application metrics with OpenTelemetry, understand temporality and t...

Elasticsearch mappings and text analysis: field types, analyzers and dynamic mapping

Master Elasticsearch mappings: field types (text, keyword, numeric, date, ip, nested), multi-fiel...

Elasticsearch ingestion: Bulk API, ingest pipelines, enrich and reindex

Ingest and transform data in Elasticsearch: Bulk API, ingest pipelines and processors (grok, diss...

Index Lifecycle Management (ILM): data tiers, rollover and retention

Automate the index lifecycle with ILM: hot, warm, cold and frozen data tiers, rollover by size an...

Elasticsearch data streams and templates: component templates, index templates and time series

Manage timestamped data with data streams: index templates and component templates, the type-data...

Advanced Elasticsearch Query DSL and aggregations, with ES|QL

Write advanced Elasticsearch queries: bool, filter and score, nested, function_score and BM25 rel...

Elasticsearch monitoring and troubleshooting: health, unassigned shards, JVM, hot threads and slow logs

Diagnose an Elasticsearch cluster: cluster health and CAT APIs, unassigned shards and allocation ...

Elasticsearch performance and capacity planning: shards, heap, indexing and benchmarks

Size and optimize Elasticsearch: shard size and count, JVM heap, caches, indexing settings (refre...

Elasticsearch on Kubernetes with ECK: deployment, persistent storage and upgrades

Deploy Elasticsearch and Kibana on Kubernetes with Elastic Cloud on Kubernetes (ECK): operator, E...

Support us

♥ SUPPORT US

Support RousselTM Learning

Courses, articles, labs and certificates stay free with no intrusive ads. A voluntary contribution, of any amount you choose, pays for hosting, lab environments and new content.

Contribute with PayPal Any amount · card or PayPal accountLearn more
QR code PayPal
Or scan this QR code with your phone

Thank you, every contribution counts!