Back to templates
NetBird icon

Deploy NetBird on Sealos

基于 WireGuard 的零信任网络平台,支持自托管管理、信令与中继。

DevOps
Deploy NetBird as part of your self-hosted platform toolchain.Use Kubernetes-backed reliability without maintaining deployment YAML.Connect the tool to your existing development and operations workflows.Scale resources from the Sealos console when team usage increases.

Why deploy on Sealos

Sealos makes deploying any app effortless, secure, and production-ready. From one-click launch to ongoing operations, we handle the heavy lifting so you can focus on what matters.

One-Click Deploy
Sealos logo
Compute
Networking
Storage
Security
Observability
Your Application is Live

One-Click Deployment

Deploy any app template in seconds. No compose setup, manual configure, and go live.

Managed Kubernetes Reliability

Built on Sealos Managed Kubernetes for high availability, auto-scaling, and self-healing by default.

Automatic HTTPS & Security

Every deployment includes a secure domain with automatic SSL. We handle certificates and text protection for you.

Persistent Storage

Attach persistent volumes with ease. Your data stays safe, durable, and always accessible.

Scale when needed

Adjust resources as your app grows, no downtime required.

You Get the Whole Stack

Sealos provisions and connects every resource your application needs. Everything is ready to use.

One-click, fully provisionedSecure by defaultProduction ready

App Service

Your application is running and ready to serve requests.

Public HTTPS URL

Secure, global endpoint to access your application.

Database

Managed database instance for your application.

Persistent Volume

Durable storage for uploads and application data.

Environment Variables

Configuration and secrets injected securely into your app.

Logs & Metrics

Centralized logs and basic metrics are enabled.

README

README.md

Deploy and Host NetBird on Sealos

NetBird is a WireGuard-based zero-trust networking platform for secure private connectivity across distributed devices. This template deploys a self-hosted NetBird control plane on Sealos Cloud with the Dashboard, Management, Signal, Relay, embedded IdP, and persistent state.

NetBird Screenshot

About Hosting NetBird

NetBird provides a control plane for private networking, peer enrollment, access policies, signaling, and relay-assisted connectivity. The Sealos template uses NetBird's embedded identity provider, so a basic self-hosted deployment does not require an external OIDC service.

The deployment separates the public web/API host from the gRPC host. The primary host serves the Dashboard, Management HTTP API, embedded IdP routes, Signal websocket path, and Relay path, while the dedicated gRPC host exposes Management and Signal gRPC traffic with GRPC ingress backends.

TURN is not bundled because dynamic public UDP/TCP port ranges are not a good fit for this Sealos template. If your peers need TURN for restrictive NAT environments, provide an external TURN endpoint through the template inputs.

Common Use Cases

  • Remote Team Access: Build a private WireGuard-based network for distributed teams and internal tools.
  • Multi-Cloud Connectivity: Connect cloud, edge, and on-premise devices under one policy model.
  • Homelab and Edge Management: Manage private device access without exposing every service publicly.
  • Zero-Trust Service Access: Apply user, group, and peer policies to internal resources.
  • Self-Hosted VPN Replacement: Replace traditional VPN concentrators with peer-to-peer WireGuard connectivity and central policy control.

Dependencies for NetBird Hosting

The Sealos template includes the required runtime components for a self-hosted NetBird control plane:

  • NetBird Dashboard
  • NetBird Management with embedded IdP
  • NetBird Signal
  • NetBird Relay
  • Persistent storage for Management and Signal state

Deployment Dependencies

Implementation Details

Architecture Components:

This template deploys four NetBird services:

  • Dashboard (netbirdio/dashboard:v2.38.1): Web UI for administration, onboarding, and day-to-day operations.
  • Management (netbirdio/management:0.71.4): Core HTTP/gRPC API, embedded IdP, policy engine, and account state.
  • Signal (netbirdio/signal:0.71.4): Signaling service used by peers to coordinate connectivity.
  • Relay (netbirdio/relay:0.71.4): Relay endpoint for constrained network paths.

Ingress and Domain Routing:

  • Primary HTTPS domain (${app_host}.${SEALOS_CLOUD_DOMAIN}):
    • / routes to Dashboard
    • /api, /oauth2, and /ws-proxy/management route to Management
    • /ws-proxy/signal routes to Signal
    • /relay routes to Relay
  • Dedicated gRPC domain (${grpc_host}.${SEALOS_CLOUD_DOMAIN}):
    • /management.ManagementService/ routes to Management gRPC
    • /signalexchange.SignalExchange/ routes to Signal gRPC

Configuration:

  • Management stores control-plane and embedded IdP data in SQLite under /var/lib/netbird.
  • Management and Signal use 100Mi persistent volumes.
  • Relay is exposed through the primary HTTPS ingress path as rels://<app-host>:443/relay.
  • Optional external TURN settings can be passed through external_turn_host, external_turn_username, and external_turn_password.

License Information:

This Sealos template is provided under the repository license policy of the Sealos templates project. NetBird itself is licensed under the BSD-3-Clause License.

Why Deploy NetBird on Sealos?

Sealos is an AI-assisted Cloud Operating System built on Kubernetes that unifies application deployment, scaling, and day-2 operations. By deploying NetBird on Sealos, you get:

  • One-Click Deployment: Deploy the NetBird control plane without manually writing Kubernetes manifests.
  • Automatic HTTPS Access: Sealos provisions public URLs and TLS certificates for the Dashboard, APIs, and gRPC endpoints.
  • Persistent State Included: Management and Signal state survive restarts through built-in persistent storage.
  • Canvas-Based Operations: Use Canvas, AI dialog, and resource cards to inspect or adjust resources after deployment.
  • Resource-Efficient Defaults: Start with compact CPU, memory, and storage settings suitable for initial self-hosted use.
  • Kubernetes Foundation: Run NetBird on standard Kubernetes primitives while avoiding direct cluster management complexity.

Deploy NetBird on Sealos and focus on secure private networking instead of infrastructure plumbing.

Deployment Guide

  1. Open the NetBird template and click Deploy Now.
  2. Configure the parameters in the popup dialog:
    • disable_default_policy: choose whether to disable NetBird's default all-to-all policy.
    • external_turn_host: optional external TURN endpoint such as turn.example.com:3478.
    • external_turn_username and external_turn_password: required only when an external TURN endpoint is configured.
  3. Wait for deployment to complete, typically 2-3 minutes. After deployment, you will be redirected to Canvas. For later changes, describe your requirements in the AI dialog or click the relevant resource cards to modify settings.
  4. Open the generated NetBird application URL.
  5. Complete the first-run setup:
    • If setup is required, the Dashboard redirects to /setup.
    • Enter the initial owner email, password, and optional name.
    • NetBird creates the owner account via its setup API, then redirects you to sign in.
  6. Sign in with the owner credentials you just created.

Configuration

After deployment, you can configure NetBird through:

  • NetBird Dashboard: Manage users, peers, setup keys, access policies, routes, DNS, and reverse proxy settings.
  • AI Dialog in Canvas: Describe changes and let Sealos apply resource updates.
  • Resource Cards: Edit Deployments, StatefulSets, Services, Ingresses, and environment variables.

Input Parameters

  • disable_default_policy: Disable the default all-to-all policy (true or false).
  • external_turn_host: Optional external TURN host and port.
  • external_turn_username: TURN username, required when external_turn_host is set.
  • external_turn_password: TURN password, required when external_turn_host is set.

First-Run Login and Registration

NetBird uses embedded IdP local users in this template. There is no preconfigured default administrator. On the first visit, open the application URL and complete the /setup wizard to create the initial owner account. The setup wizard is available only while GET /api/instance reports setup_required: true.

For automated setup, call the setup API once after deployment:

curl -X POST "https://<your-netbird-url>/api/setup"   -H "Content-Type: application/json"   -d '{"email":"[email protected]","password":"securepassword123","name":"Admin User"}'

Store the owner credentials securely. After setup is complete, additional users can be created or invited from the Dashboard.

Scaling

To scale the deployment:

  1. Open the Canvas for your NetBird deployment.
  2. Click the relevant Deployment or StatefulSet resource card.
  3. Adjust CPU limits, memory, storage, or replica settings.
  4. Apply the changes and monitor rollout status.

For small teams, keep one replica per component unless you have reviewed NetBird's state and ingress requirements for your target topology.

Troubleshooting

Setup page does not appear

  • Check https://<your-netbird-url>/api/instance.
  • If it returns {"setup_required": true}, open https://<your-netbird-url>/setup.
  • If it returns false, the owner account already exists and you should sign in instead.

Login fails after setup

  • Verify that the Management pod is running.
  • Confirm https://<your-netbird-url>/oauth2/.well-known/openid-configuration returns the embedded IdP metadata.
  • Make sure the owner password has not been changed or lost.

Peers cannot connect reliably

  • Check whether your peer networks require TURN.
  • If strict NAT traversal is required, configure an external TURN endpoint through the template inputs.

gRPC operations fail while the Dashboard works

  • Verify that the dedicated gRPC domain is present in Canvas.
  • Confirm the Management and Signal gRPC ingresses use GRPC backend protocol.

Getting Help

Additional Resources

License

This Sealos template is provided under the repository license policy of the Sealos templates project. NetBird itself is licensed under the BSD-3-Clause License.

Related templates

Explore more production-ready templates.

More

Ready to Stop Configuring and
Start Creating?

Get started for free. No credit card required.

Play