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
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/DownloadsHashicorp 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/installFrom concept to expertise #
We have preconfigured a repo for the training.
Git repo
You can use the command below to clone the repo:
git clone https://github.com/RousselTM/elasticsearch-kibana-formationChoosing 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/tpCreating the environment
Once in the folder for the desired environment, you can create the environment on Virtualbox with the following Vagrant command
vagrant upAccessing 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
Sign in to track your progress and take notes. Sign in
💬 Recent discussions about this course
- Elasticsearch : supprimer automatiquement les logs de plus de 30 jours✓ solved · 1 reply(ies)
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
Elasticsearch distributed architecture: node roles, shards, replicas and allocation
Understand how Elasticsearch works as a distributed system: node roles, master nodes and quorum, ...
Logstash: enrich, test, monitor and deploy on Kubernetes
Enrich with translate, geoip and elasticsearch, consume Kafka, test pipelines, monitor Logstash a...
OpenTelemetry and Elasticsearch: compatibility and architecture
Send OpenTelemetry to Elasticsearch: Collector and elasticsearch exporter, managed OTLP endpoint,...
Understanding the Elastic Common Schema (ECS)
As always in our consulting engagements, we recommend that companies harmonise and standardise: k...
Grafana Alloy environment variables: GOMEMLIMIT, sys.env and OTEL_RESOURCE_ATTRIBUTES
Which variables does Grafana Alloy actually read? GOMEMLIMIT, HTTP_PROXY, sys.env, OTEL_RESOURCE_...
k6 and Alloy: sending load test results over OpenTelemetry
Send k6 metrics to Alloy with the OpenTelemetry output, convert them for Mimir and compare them w...
Transforms and enrich: summarising and enriching data in Elasticsearch
Build entity-centric indices with pivot and latest transforms, and enrich documents at ingest tim...
Ingesting OpenTelemetry logs into Elasticsearch
Collect and structure logs with the OpenTelemetry Collector (filelog receiver, operators, transfo...
OpenTelemetry traces in Elasticsearch and Kibana APM
Instrument applications with OpenTelemetry or EDOT SDKs, send traces to Elasticsearch, get Kibana...