Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
fleetwire
fleetwire

Tutorial

  • Tutorial: run a fleet on one machine

How-to guides

  • Enroll a device
  • Recover a device’s local log
  • Operate fleetwire
  • Back up the keyring
  • Run the failure tests
  • Run the agent on Ubuntu Core 24 and test power loss
  • Deploy with Juju on MicroK8s
  • Verify a release

Reference

  • Configuration
  • API
  • Metrics
  • Command-line reference
  • Third-party facts the design depends on
  • Test results
    • Power-off test 2026-11-23T195718Z
    • Throughput search, 2026-11-23 18:54 UTC
    • Failure test results 2026-11-23T164507Z
    • Failure test results 2026-11-23T161203Z
    • Throughput search, 2026-11-10 04:48 UTC
    • Failure test results 2026-11-10T030712Z
    • Failure test results 2026-11-10T023739Z
    • Power-off test 2026-11-10T021622Z
    • Failure test results 2026-11-09T205058Z
    • Failure test results 2026-11-09T060427Z

Explanation

  • Architecture
  • The delivery guarantee
  • The device’s local log
  • Encryption and tenant isolation
  • Service-level objectives
  • The load generator and how it differs from a real device
  • Threat model
  • Architecture decision records
    • ADR-0001: Record architecture decisions
    • ADR-0002: End-to-end acknowledgements; no single hop is trusted
    • ADR-0003: Mosquitto at the edge, Kafka in the core
    • ADR-0004: Device write-ahead log, durability modes, send only durable records
    • ADR-0005: Exactly-once storage with coverage ranges, a row lock per device, and an exclusion constraint
    • ADR-0006: Tenant isolation with forced row-level security and SECURITY DEFINER lookups
    • ADR-0007: Envelope encryption with per-tenant KEKs outside the database
    • ADR-0008: Plain PostgreSQL instead of TimescaleDB
    • ADR-0009: Server-assigned device identity; the tenant never comes from the device
    • ADR-0010: 30-day device certificates and two-layer revocation
    • ADR-0011: Standard library HTTP routing, no framework
    • ADR-0012: Deploy the backend with Juju charms on Kubernetes
    • ADR-0013: Run the snap’s daemon as snap_daemon, with its state in $SNAP_DATA/state
Back to top
Copyright © 2026, Reda Alaarabi
Made with Sphinx and @pradyunsg's Furo