Skip to main content
Version: Next

Installation Overview

The Lunar.dev API Consumption Gateway is a production-grade solution that helps you manage and optimize your API consumption efficiently. It can be seamlessly integrated into various environments, offering flexibility, scalability, and full control over your API traffic management.

Lunar Gateway Installation Methods​

Lunar.dev offers multiple installation methods, tailored to different needs and setups. You can choose between Docker, or Kubernetes (K8S), depending on your infrastructure.

  • Docker: Best for developers or smaller environments looking for a straightforward installation process. Docker provides a fast and efficient way to deploy the API Consumption Gateway with minimal setup. It’s ideal for those who need quick deployment or testing environments.
  • Kubernetes: For larger-scale or production environments, Kubernetes offers powerful orchestration capabilities. If you are managing multiple micro services and need advanced scalability, Kubernetes ensures that Lunar.dev scales smoothly with your API traffic.

For fast installation and initial setup, refer to the Quick Start Guide for step-by-step instructions tailored to both command-line users and those who prefer using the Control Plane.


Routing API Traffic​

After installation, the next crucial step is to route your API traffic through the Lunar Gateway. Lunar.dev offers two flexible routing options:

  • Direct Mode: If you need a fast, lightweight setup without additional integrations, Direct Mode allows you to route traffic by simply adjusting HTTP headers and request URLs. This is ideal for environments that require minimal configuration and no added installations.
  • Interceptor Mode: For advanced traffic management and automation, Interceptor Mode integrates deeper into your application by installing the Lunar Interceptor. This mode captures HTTP/S traffic automatically and provides features like redirection, failsafe mechanism, and more.

For guidance on selecting the right routing method, visit the Route Your API Traffic page.