Skip to content

[RORDEV-1368] PoC: Fleet support (8.19.7 example)#61

Closed
coutoPL wants to merge 51 commits into
masterfrom
RORDEV-1348
Closed

[RORDEV-1368] PoC: Fleet support (8.19.7 example)#61
coutoPL wants to merge 51 commits into
masterfrom
RORDEV-1348

Conversation

@coutoPL
Copy link
Copy Markdown
Collaborator

@coutoPL coutoPL commented Dec 20, 2024

Fleet + APM Demo Stack with ReadonlyREST

This PR contains a complete Elastic Fleet and APM demonstration environment with ReadonlyREST integration.

Stack Components

Core Services:

  • Elasticsearch (latest 8.19.7) with ReadonlyREST plugin
  • Kibana (latest 8.19.7) with ReadonlyREST plugin
  • Fleet Server - Manages Elastic Agents
  • Elastic Agent (agent1) - Runs APM Server and system monitoring

Demo Applications:

  • service1 - Node.js Express app instrumented with Elastic APM
  • traffic-simulator - Generates HTTP traffic to service1 (90% normal requests, 10% errors)

Supporting Services:

  • fleet-initializer - Bootstraps Fleet policies and APM integration on startup

What It Demonstrates

Fleet Management - Agent enrollment, policy management, and centralized configuration
APM Monitoring - Real-time application performance monitoring with distributed tracing
ReadonlyREST Security - ACL rules for Fleet, APM, Kibana, and agent authentication
TLS Security - Full certificate-based encryption between all components
System Metrics - CPU, memory, disk, and network monitoring via Elastic Agent

Quick Start

Running the PoC:

  1. cd ror-fleet-example
  2. ./run.sh
  3. Open https://localhost:5601 and log in as admin:admin

Cleaning up:

  1. ./clean.sh

Key Features

  • Auto-configuration: Fleet policies and APM integration are created automatically
  • Version detection: APM package version is auto-detected for compatibility
  • Network isolation: All services communicate over a dedicated Docker network
  • Persistent storage: Elasticsearch data survives container restarts

Summary by CodeRabbit

Release Notes

  • New Features

    • Added complete Elastic Fleet infrastructure with TLS-enabled services.
    • Added Docker Compose orchestration for multi-service environment.
    • Added example Node.js application with APM instrumentation.
    • Added automated Fleet agent enrollment and configuration.
    • Added traffic simulation for testing and validation.
  • Chores

    • Added TLS certificates and configuration files.
    • Added environment setup and cleanup scripts.

@coderabbitai

This comment was marked as off-topic.

coderabbitai[bot]

This comment was marked as off-topic.

coderabbitai[bot]

This comment was marked as off-topic.

coderabbitai[bot]

This comment was marked as off-topic.

@coutoPL coutoPL changed the title [RORDEV-1348] Fleet support [RORDEV-1348] PoC: Fleet support (8.19.7 example) Nov 20, 2025
coderabbitai[bot]

This comment was marked as off-topic.

coderabbitai[bot]

This comment was marked as outdated.

@coutoPL coutoPL changed the title [RORDEV-1348] PoC: Fleet support (8.19.7 example) [RORDEV-1368] PoC: Fleet support (8.19.7 example) Nov 20, 2025
coderabbitai[bot]

This comment was marked as outdated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants