docs/documentation/platform/gateways/overview.mdx
The Infisical Gateway provides secure access to private resources within your network without needing direct inbound connections to your environment. This is particularly useful when Infisical isn't hosted within the same network as the resources it needs to reach. This method keeps your resources fully protected from external access while enabling Infisical to securely interact with resources like databases.
<Info> Gateway is a paid feature available under the Enterprise Tier for Infisical Cloud users. Self-hosted Infisical users can contact [[email protected]](mailto:[email protected]) to purchase an enterprise license. </Info>The Gateway system consists of two primary components working together to enable secure network access:
<Tabs> <Tab title="Gateway" icon="server"> A Gateway is a lightweight service that you deploy within your own network infrastructure to provide secure access to your private resources. Think of it as a secure bridge between Infisical and your internal systems.Gateways must be deployed within the same network where your target resources are located, with direct network connectivity to the private resources you want Infisical to access. For different networks, regions, or isolated environments, you'll need to deploy separate gateways.
Core Functions:
Core Functions:
Deployment Options: To reduce operational overhead, Infisical Cloud (US/EU) provides managed relay infrastructure, though organizations can also deploy their own relays for reduced latency.
The Gateway system uses SSH reverse tunnels for secure, firewall-friendly connectivity:
To monitor their operational status, both gateways and relays transmit hourly heartbeats. A component is considered unhealthy if a heartbeat is not received for over an hour.
Infisical automatically notifies all organization admins of unhealthy gateway or relay statuses through email and in-app notifications.
For production workloads, you can group multiple gateways into a Gateway Pool to provide automatic failover. When a gateway in a pool goes down, the platform routes through a healthy member automatically. See Gateway Pools for details.
Ready to set up your gateway? Follow the guides below.
<Columns cols={2}> <Card title="Gateway Deployment" href="/documentation/platform/gateways/gateway-deployment"> Deploy and configure your gateway within your network infrastructure. </Card> <Card title="Gateway Pools" href="/documentation/platform/gateways/gateway-pools"> Set up high availability with gateway pools for automatic failover. </Card> </Columns> <Columns cols={2}> <Card title="Relay Deployment" href="/documentation/platform/gateways/relay-deployment"> Set up relay servers if using self-deployed infrastructure. </Card> <Card title="Security Architecture" href="/documentation/platform/gateways/security"> Learn about the security model and implementation best practices. </Card> </Columns>