Skip to main content
Version: v3.x

Self-Hosted (BYOC)

Introduction

Hasura DDN is also available to self-host if you need to have complete control over the infrastructure.

There are two models of deployment with Self-Hosted DDN.

  1. Hasura manages the data plane on the customer's cloud account.

    The data plane will run on a Kubernetes cluster of your choice and Hasura manages the uptime, upgrades, etc. The Hasura Control Plane will need to be given sufficient privileges to install, configure and manage the workloads and associated infrastructure components. The experience is exactly like using Hasura Hosted DDN, but running on your infrastructure. All API traffic stays within your network and does not leave the boundaries of your system.

  2. Customer manages the data plane on their cloud account themselves.

    The data plane can be installed on a Kubernetes cluster of your choice and you control the uptime, upgrades, etc. All API traffic stays within your network and does not leave the boundaries of your system.

    Installation docs related to deployment of a self hosted, customer managed data plane are located here

In both cases, the control plane is always hosted by Hasura.

Private DDN Architecture Customer Hosted

Data Flow and security

All critical data operations occur exclusively within the customer infrastructure. When an API user sends a GraphQL query, it's received by Hasura in the Data Plane. Hasura then directly accesses the necessary data sources within the customer infrastructure to fulfill the request. This direct access ensures that sensitive data never leaves the customer's controlled environment, maintaining data residency and security.

While the Control Plane, situated in the Hasura infrastructure, does communicate with the Data Plane, this communication is strictly limited to configuration and management purposes. Importantly, this communication does not involve customer data or API responses, further enhancing data security.

The distinction between the Control and Planes creates well-defined security boundaries. By keeping the Data Plane and all data sources within the customer's security perimeter, the architecture ensures that sensitive information remains under the customer's control at all times.

Interactions with the control plane

In Self-Hosted Hasura DDN, the Data Plane running on your infrastructure communicates with the control plane only in very specific scenarios:

  1. The Data Plane accesses a metadata storage bucket to retrieve build artifacts; these artifacts are required to process API requests.
  2. The data plane accesses the control plane APIs to retrieve information about (applied) builds for the purposes of routing.
  3. (Optional) The data plane sends observability data to the Control Plane so you can visualize it on the console; it does not contain any API response data or variables.
  4. The Control Plane interacts with the Kubernetes cluster to manage Data Plane workloads (only in a Hasura-Managed Data Plane).
Control Plane - Data Plane interactions

Get started

To get started with Hasura DDN in your own cloud, contact sales.