Skip to main content

What is Lighthouse?

Lighthouse is the gRPC service that enables communication between CloudShip Platform and registered Stations.

Features

  • Bidirectional Streaming - Real-time command dispatch and response
  • Station Management - Track connected Stations and their capabilities
  • Secure Communication - TLS-encrypted gRPC channels
  • Load Balancing - Distribute commands across healthy Stations

Architecture

Communication Protocol

Registration

Station connects with registration key:

Commands

Lighthouse sends commands to Stations:

Self-Hosted Lighthouse

For enterprise deployments, run your own Lighthouse:

Requirements

  • PostgreSQL database
  • Redis (optional, for caching)
  • TLS certificates

Docker Deployment

Configuration

Local Development

Run Lighthouse locally for testing:
Configure Station to connect:

Monitoring

Lighthouse exposes metrics: Access metrics at /metrics endpoint.

Troubleshooting

Station Won’t Connect

Check:
  • Lighthouse is running
  • Port 50051 is accessible
  • TLS configuration matches

Commands Timeout

Check:
  • Station is responsive
  • Network latency
  • Command timeout settings

Authentication Failed

Check:
  • Registration key is valid
  • Key hasn’t been used before
  • Organization permissions