ZuploZuplo
LoginSign Up
  • Documentation
  • API Reference
Introduction
Getting Started
    Develop using the Portal
      1 - Setup Your Gateway2 - Rate Limiting3 - API Key Auth4 - Deploy5 - Dynamic Rate LimitingMCP - Quick start
    Develop Locally
      1 - Setup Your Gateway2 - Rate Limiting3 - API Key Auth
Concepts
Development
Policies
Handlers
API Keys
MCP Server
MCP Gateway
AI Gateway
Developer Portal
Monetization
Deploying & Source Control
Observability
Networking & Infrastructure
    Overview
    Managed Dedicated
      OverviewSource ControlArchitectureNetworkingAWS Private NetworkingAzure Private NetworkingGCP Private NetworkingCustom DomainsFederated GatewaysArchitectureAkamai CDNCDN CachingAI-Powered Applications
    Managed EdgeSelf Hosted
    Custom Domains
    Securing Your Backend
    Web Application Firewalls
    DDoS Protection
Account Management
Programming API
Build with AI
Zuplo CLI
Migration Guides
Platform LimitsSecuritySupportTrust & ComplianceChangelog
powered by Zudoku
Managed Dedicated

Managed Dedicated: Federated Gateways

Beta Feature

This feature is in Beta - please use with care and provide feedback to the team if you encounter any issues.

Enterprise Feature

Federated Gateways is available as an add-on as part of an enterprise plan. If you would like to purchase this feature, please contact us at sales@zuplo.com or reach out to your account manager.

Most enterprise features can be used in a trial mode for a limited time. Feel free to use enterprise features for development and testing purposes.

With a managed dedicated Zuplo instance you can create a federated gateway that allows you to connect multiple Zuplo projects together. This is useful for creating a single API Gateway that can route requests to multiple backend services, each running on its own Zuplo instance.

Reasons to Use Federated Gateways

Federated gateways are useful for several reasons:

  • Separation of Product Areas: Depending on your organizational structure, you may want to separate different product areas into their own Zuplo projects. This allows teams to work independently while still being able to route requests through a single gateway. Each team can manage their own portion of the API without affecting others. Each team creates its own Zuplo Project with its own git repository, environment variables, etc.
  • Versioning: You can use federated gateways to manage different versions of your API. For example, if you wanted to run a new version of your API alongside the old one and route requests to specific versions based on user or other context you can keep different versions in separate Zuplo projects.
  • Risk Minimization: By separating different parts of your API into different Zuplo projects, you can reduce the risk of causing inadvertent changes to other parts of the API. This can be especially useful if your API is particularly large or complex.

How to Create a Federated Gateway

Managed dedicated Zuplo environments can call other Zuplo environments deployed in the same instance. To make a call to another Zuplo environment, you simply make a normal HTTP request to the other environment using the URL protocol local with the environment name. For example, if your environment is named my-api-main-2s93j2, then you would make a request to local://my-api-main-2s93j2.

You can use most Zuplo request handlers to make these requests (the Lambda handler isn't supported).

For example, to create a federated gateway that forwards requests to another Zuplo environment, you can use the URL Forward handler. Here is an example configuration for a route that forwards requests to another Zuplo environment:

Code
{ "handler": { "export": "urlForwardHandler", "module": "$import(@zuplo/runtime)", "options": { "baseUrl": "local://my-api-main-2s93j2" } } }

Currently, federated gateways are still exposed externally, so you should ensure that you have proper authentication and authorization in place to prevent unauthorized access to your federated gateway.

This can be done using the standard Zuplo authentication and authorization mechanisms, such as API keys, JWTs, or OAuth2.

Soon you will be able to restrict access to federated gateways, which will make it easier to secure your federated gateway without needing to implement additional authentication mechanisms.

Edit this page
Last modified on January 12, 2026
Custom DomainsArchitecture
On this page
  • Reasons to Use Federated Gateways
  • How to Create a Federated Gateway
JSON