Connecting on-premises Hyperledger Besu nodes to a cloud network: when a hybrid design is needed
A hybrid design is needed when one consortium member keeps validators or nodes in its own data center while other members run theirs in cloud clusters. In that setup, every node must reach the other nodes' P2P ports and bootnodes over a private path, because a permissioned Besu network cannot rely on public internet discovery to join its peers. The connection itself, usually a VPN between the data center and the cloud network, is the easy part. The harder work is making sure each side can reach the other's addresses as Besu sees them.
Besu documents permissioned networks as networks where only known participants may connect. Its local permissioning uses a node permissions configuration file that lists the enode identities allowed to connect, so an on-premises node must be listed by every peer that should accept it, and the cloud nodes must be listed on its side. The permissions file is checked against the enode URL a peer advertises, which includes an IP address or hostname and port. If that address is a private address behind NAT, or differs from the address the peer actually sees, the peer is rejected even though the network path is open. Permissioning and addressing therefore have to be designed together.
A single-site build can assume one flat address space and stable addresses. A hybrid build cannot. Cloud clusters often assign pod and service ranges that overlap with data center subnets, and a NAT gateway or VPN may present a different source address than the node's own interface. Before go-live, confirm with your network team which address each node will advertise, whether the two CIDR ranges can be kept non-overlapping, and whether your VPN supports the routing you need. These checks determine the allowlist entries and bootnode settings in the sections that follow.
How on-premises and cloud Besu nodes reach each other
The path starts at a Besu node in the data center and crosses a site-to-site VPN into the cloud cluster, where pods join the CNI network and reach the bootnode. The VPN edge is the trust boundary: only traffic that passes it should carry peer traffic. Before go-live, confirm that the NAT or egress address each side presents is the one listed in peer permissioning, and that the bootnode is reachable from both sides.
Traffic between on-premises and cloud Besu nodes crosses one VPN edge.
Which connectivity pattern fits your data center
A site-to-site VPN builds an encrypted tunnel between your data center edge and the cloud virtual network, so Besu nodes on both sides exchange peer traffic over private addresses. Your team controls the tunnel endpoints, routing and encryption settings, and the pattern usually runs over the public internet, which makes throughput and latency variable. Most of the work sits with the network team, who manage tunnel configuration, key rotation, routing tables and failover.
- Control: You own the tunnel policy, the cipher settings and the routes that carry peer traffic.
- Operating burden: The network team monitors tunnel health, renews certificates or pre-shared keys and tests failover.
- NAT addresses: Nodes can keep private addresses across the tunnel, but any node that must be reached from outside the tunnel still needs a stable, routable address that you advertise.
- Bootnode reachability: Bootnodes on the cloud side are reachable through the tunnel once routes are in place, provided both sides use non-overlapping address ranges.
- Cost components: Gateway hosting, tunnel capacity and egress are billed by the providers, so ask both the cloud provider and your carrier for the exact charges.
Before committing, confirm with your network and cloud providers the tunnel throughput ceiling, the failover behavior and the charges for each direction of traffic.
A private dedicated link is a circuit from your data center to the cloud provider's private interconnect facility, so Besu peer traffic does not cross the public internet. It usually gives more predictable latency and throughput than a VPN, but it needs a carrier contract, a facility presence and longer lead times to provision. The network team still configures routing (commonly BGP between the two sides), while the provider and carrier handle the physical path.
- Control: You control your routing announcements and address plan, but the physical path and circuit capacity belong to the carrier and provider.
- Operating burden: Circuit monitoring, route change coordination and carrier escalation paths become standing tasks for the network team.
- NAT addresses: Private addressing is typically carried across the link, so NAT is needed only at the boundary if a node must be reached over public addresses.
- Bootnode reachability: Bootnodes reachable over private routes stay reachable as long as route advertisements remain stable, so plan change windows for route updates.
- Cost components: Port and circuit fees, cross-connect charges and data transfer are recurring, and the one-time setup fee varies by facility and carrier.
Ask the carrier and cloud provider for committed throughput, provisioning lead time, redundancy options and the exact recurring charges before you select this pattern.
Direct public peering means Besu nodes communicate over public IP addresses, with each node reachable on its peering port from the internet and restricted by firewall rules and node permissioning. It needs the least network build-out, but it gives you the least control over who can reach your nodes, and every node that accepts peer connections is exposed to the public internet. Your security team must treat the exposure as a design decision, not a default.
- Control: Your team controls firewall rules and node permissioning files, but traffic paths follow public routing that you do not manage.
- Operating burden: Firewall rule maintenance and address management are constant tasks, and changes to public addresses require updates to every peer that references them.
- NAT addresses: Each node needs a stable public address, or a NAT mapping that does not change, so that enode URLs remain valid through restarts.
- Bootnode reachability: Public bootnodes are reachable from any network, which simplifies discovery but also means unknown peers can attempt connections, so allowlists become essential.
- Cost components: Public address and egress charges are recurring, and firewall or DDoS protection services may be additional.
Confirm with your security team and cloud provider whether public exposure of peer ports is acceptable under your policies before choosing this pattern.
Networking and permissioning settings and when each fits
This table compares the networking and permissioning decisions that shape a hybrid Besu build, from address plans to port exposure. Read each row for the condition that favors an option and the items to confirm before you commit. The main takeaway is that addressing and identity decisions made early are the hardest to change once peers have stored enode URLs.
| Decision | Options | When it fits | What to confirm |
|---|---|---|---|
| Subnet and CIDR plan | Non-overlapping private ranges per site and per cluster | Every hybrid member needs routable ranges that do not collide with each other or with cluster pod and service ranges | Ranges agreed with every member in writing, with room for growth and no overlap with on-premises office or lab networks |
| VPN tunnel type | Site-to-site IPsec tunnel or a managed private link | Site-to-site tunnels suit fixed data center to cloud links with a known peer gateway; managed links suit teams already standardized on one cloud provider | Tunnel redundancy, MTU settings, which ports the tunnel carries, and whether the provider's tunnel and gateway limits fit expected peer counts |
| CNI choice for pod addressing | Routable pod IPs or an overlay network with NAT at the edge | Routable pod addresses let peers reach a validator pod directly; overlay networks are simpler to run but make peer addresses depend on the edge | Whether the chosen CNI assigns addresses that the VPN routes can carry, and how pod IPs change across restarts |
| NAT or static egress addresses | Stable public or private egress IP per node, or dynamic NAT | Stable addresses suit allowlists on each member's firewall; dynamic NAT only works if peers resolve nodes by DNS rather than fixed IP | Which address each node uses for outbound peer traffic, and whether every member's firewall allowlist covers it |
| Bootnode address form | Static IP in enode URL or DNS name in enode URL | Static IPs suit fixed infrastructure; DNS names suit replaced or rescheduled nodes if the resolver is reachable from every site | Whether Besu in your version accepts hostnames in the bootnode and static peer settings, and how peer lists are updated |
| Node permissions file entries | Local node permissioning file listing allowed enode URLs, or a permissioning plugin | The local permissions configuration file suits small, stable networks where each operator edits its own file; plugins suit larger consortia that need central control | Every member's file lists the same participants with matching enode URLs, and the change process covers new and retired nodes |
| P2P port exposure | P2P port open only to peer addresses through the VPN or firewall | Restricting P2P to known peer ranges fits most hybrid builds because only enrolled members should connect | The P2P port and protocol in your Besu version, and whether discovery is disabled for the private network |
| RPC port exposure | RPC bound to localhost or internal address with authentication, or enabled for applications on the VPN | Keep RPC internal when only local services call the node; expose it through the VPN only to named application hosts | Authentication method (credentials file or externally issued JWTs), and that HTTPS is terminated by a proxy because Besu does not terminate it natively |
| Metrics endpoint exposure | Metrics enabled with --metrics-enabled and scraped over the private network | Scraping over the VPN fits teams whose Prometheus runs in the cloud; keep the endpoint off public interfaces | The metrics port default and the scrape path from each data center to the monitoring stack |
How to connect a data center to a cloud Besu network
This sequence takes a member from an agreed addressing plan to a verified hybrid link, so that an on-premises Besu node can dial, be permitted by, and sync with the cloud-hosted members of a permissioned network. Each step ends with a check that the next step depends on.
Agree the addressing plan with all members
Before any tunnel is built, the network operator and every member agree on the CIDR blocks for each cluster, data center and pod network, the ports Besu uses for peer-to-peer traffic and discovery, and which IP address each node will present to the network. Each member confirms its blocks do not overlap with any other member or with its own local networks. Done means a written addressing table is signed off by every member, and the operator has checked it for overlaps with a script or spreadsheet formula. Ask each member to confirm the egress NAT addresses they expect to use, because those addresses feed the permissions file later.
Build and test the VPN tunnel
The network or security team at each site establishes a site-to-site VPN between the data center edge and the cloud virtual network, using the device or service the organization already operates. Both ends must be configured with matching parameters, and the tunnel must be checked from both sides before any Besu traffic is routed through it. Confirm that each side can reach the other's test host on the agreed ports, and that the tunnel stays up for the duration of a planned reconnect test. Done means ping or TCP checks succeed in both directions and the tunnel status shows as established on both devices.
Configure routing and firewall rules
Add routes so each side sends traffic for the other's CIDR blocks through the tunnel, then open only the Besu peer-to-peer TCP and UDP ports the nodes use, scoped to the peer address ranges agreed in step one. Keep JSON-RPC and metrics ports closed to the other members unless a specific use case requires them, and document each rule with its owner and purpose. Done means a port scan from an approved source reaches the expected Besu port, a scan from an unlisted source is blocked, and the routing tables on both sides show the expected next hop.
Set the CNI and pod addressing
On the Kubernetes side, confirm that the CNI plugin in each cluster assigns pod addresses from the block reserved in step one and that those pod addresses are routable across the tunnel, or that nodes are exposed through addresses that are routable. Check whether the CNI masquerades pod traffic leaving the cluster, because masquerading changes the source address the remote peer sees and must match the address published for the node. Done means a test pod in one cluster can reach a test pod or host at the other site by its routable address, and the observed source address for outbound traffic is recorded for the permissions step.
Publish NAT egress addresses in node permissions
Besu's local node permissioning uses a permissions configuration file that lists the nodes allowed to connect. Each member adds the enode entries for the nodes it expects to receive, using the egress addresses observed in the previous step rather than internal pod addresses. The operator collects these entries from every member and distributes one reviewed file so all nodes apply the same allowlist. Done means each node starts with the file loaded, and a connection attempt from a node not on the list is refused in the logs. Confirm the file location and any configuration key names against the Besu permissioning documentation for the version in use.
Configure bootnodes and peer lists
Set the bootnode entries on each node so that cloud and on-premises nodes can discover one another through addresses that remain reachable over the tunnel. Use enode URLs that carry the addresses the peers will actually see, and keep the bootnode list under version control so changes go through review. Avoid pointing private networks at public Mainnet bootnodes. Done means each node logs successful connections to its configured bootnodes, and the peer count on each node includes the members it is expected to reach. If a node restarts with a different address, the enode it advertises must still match the entry in the permissions file, so note that dependency in the runbook.
Verify peer connections and block propagation
Once the peer lists are in place, check the peer count reported by each node against the expected member nodes, then confirm that a transaction submitted at one site is included in a block produced by the validators and visible from nodes at the other site. Watch the logs for rejected peers, handshake failures or repeated disconnects, which usually point back to a port, NAT or permissions mismatch. Done means every expected peer is connected from both sides, blocks advance on the on-premises nodes at the same height as the cloud nodes, and a test transaction is readable at both sites. Record the results and the configuration versions used, so the connection can be reproduced after a change.
Security controls for a hybrid Besu link
A hybrid Besu network joins on-premises nodes to cloud nodes over a link you do not fully control, so each control below sits at a boundary between sites. Confirm each one in your own environment before the link carries validator or RPC traffic.
VPN trust boundary and key handling
The VPN is the trust boundary between your data center and the cloud network. Define which subnets, ports and protocols cross it, and allow only peer-to-peer traffic that the nodes need. Confirm who can change tunnel configuration and where pre-shared keys or certificates are stored. Review the tunnel rules whenever a node is added or moved, because an over-broad rule exposes every node behind the link.
Besu private networks docsNode permissioning as the allowlist
Besu's local node permissions file restricts which enodes a node will connect to. Use it to list only the known participants on both sides of the link, so an unknown host that reaches the port cannot join the peer set. Keep the file identical across sites or track differences under source control. Confirm the allowlist after every IP or DNS change, since a stale entry can silently isolate a node.
Permissioning docsUnencrypted node key files
The local node private key file is not encrypted by Besu. Anyone who can read that file on an on-premises host can impersonate the node. Restrict file permissions, keep backups of the key encrypted and out of the repository, and limit who can access the host. Where policy requires hardware-backed storage, plan for the Besu HSM plugin and its --security-module option, and test the signing path before go-live.
RPC authentication and TLS termination
Besu supports username and password credentials files or externally issued JWTs validated against a public key. It does not terminate HTTPS itself, so the TLS layer must sit in front of it. Choose a reverse proxy or gateway on each site, keep the RPC port off the VPN unless a remote caller needs it, and confirm which accounts and methods each caller can reach. Test that unauthenticated requests are refused.
JSON-RPC authentication docsMetrics exposure to the monitoring stack
Besu exposes Prometheus metrics when --metrics-enabled is set, on a default port that can be changed. Decide which monitoring server scrapes each node and restrict that path with firewall rules rather than opening the metrics port to the link. Metrics can reveal peer counts, sync state and block production, which help attackers as much as operators. Confirm the scrape source addresses and review who can read the dashboards.
Why NAT addresses and bootnodes break first in hybrid networks
A Besu node can bind to one address and advertise another, and the advertised one is what its peers use. When an on-premises node sits behind NAT, the address it listens on is usually a private address inside your data center, while the address the rest of the network sees is the public or translated address that the firewall or cloud gateway presents. If the advertised address is wrong, peers may dial the wrong endpoint, or they may reach the node and then find that its identity does not match what they expected. Before you connect anything, confirm in the current Besu documentation which settings control the advertised host and port for P2P traffic, how the NAT mapping is expressed, and whether your version exposes the external address through a separate option. Record the exact translated address and port pair for each node, and test it from a host in another member's network, not only from inside your own.
Bootnode reachability is the first dependency, and it fails silently more often than teams expect. A node that starts with no reachable bootnode and no static peers may run without error while never joining the network. Check that each on-premises node can open outbound connections to the bootnodes you configured, and that the return path for those connections is permitted by the firewall and any stateful NAT rules on both sides. Also check that the bootnode list contains enode URLs that point at addresses your members can actually reach, not private addresses that only exist inside another company's network. Confirm the default P2P port is open in both directions where your design requires it, and confirm that your bootnode choice is documented in the network's configuration under source control.
Node permissioning will reject peers whose address is not on the list. On a permissioned network, a node's permissions configuration file can restrict connections to known participants. If a member's NAT address changes, or the address a peer sees differs from the one written in the allowlist, the handshake can be refused even though the network path is open. Plan how allowlist entries will be updated when a translated address changes, who approves that change, and how you will tell the difference between a routing failure and a permissioning rejection in the node logs. Ask each member to confirm the address they will advertise before go-live, and keep a tested rollback for the allowlist itself. The Besu permissioning documentation describes how local node permissioning is applied.
Limits to confirm in your environment
A hybrid Besu network depends on links and addresses that your team does not fully control, from the VPN path to the NAT behavior of each site. Confirm these limits before the first node joins, because peers that connect once can still fail under real block traffic or after a restart.
VPN throughput and latency
Block propagation and peer gossip cross the VPN on every block, so the tunnel must carry that traffic with stable latency. Measure throughput and round-trip time between each on-premises site and the cloud region under realistic load, not just a single ping test. Ask your network team whether the tunnel has redundancy and how failover affects open peer connections. Plan validator timing around the slowest path you measure.
Overlapping CIDR ranges
If your data center and the cloud VPC or pod networks use the same address space, routing breaks in ways that look like random peer failures. Map every subnet in each site, the cloud VPC, the Kubernetes pod and service ranges, and any planned VPN ranges before choosing addresses. Confirm that no range overlaps in writing with each member organization, because a fix later often means re-addressing nodes and updating enode URLs.
CNI routing support
Pods in your cluster need routes to on-premises peers, which depends on the CNI plugin and its mode. Some CNI configurations NAT pod traffic leaving the cluster, which hides the pod address from remote peers. Confirm with your platform team that the CNI can advertise or route pod addresses to the VPN, and test this with a Besu pod before go-live.
Cloud egress policies
Security groups, network policies, firewalls and cloud egress rules can block the P2P ports Besu needs, even when the VPN itself is up. Ask your cloud security team which outbound and inbound rules apply to node subnets and whether they are enforced at the VPC, subnet or pod level. Document each rule against the peer it serves so reviewers can trace why a connection is allowed.
Changing NAT addresses
If an on-premises site or cloud gateway uses NAT with a dynamic public address, peers that allowlist a specific IP will reject nodes after the address changes. Ask each member whether their outbound address is fixed, who controls it, and how changes are announced. Pair this with the allowlist entries in your node permissioning configuration so that a changed address is a planned update, not an outage.
Besu release and JDK 25
Besu requires JDK 25 to build and run, according to the 26.6.0 release notes, so every on-premises and cloud node image must meet that requirement. Confirm the exact Besu version each member runs, since the release calendar moves roughly monthly and some features were removed in recent versions. Mismatched versions across sites can complicate peer handshakes and upgrades, so align them before connecting.
Besu releasesQuestions teams ask before connecting on-premises Besu nodes
How much effort does connecting on-premises Besu nodes to a cloud network take?
Effort depends mostly on how many network paths must be built and how many teams must agree on them. Each on-premises node needs reachable peer ports, a tunnel or private route to the cloud side, a CNI or routing design that avoids overlapping address ranges, and an allowlist entry that matches the address the node is seen from. A network with two or three nodes behind one firewall is a small job. A network where each member has its own data center, firewall policy and change process is a larger one, because each member adds its own approvals and tests. Ask any partner to break the estimate into connectivity, Kubernetes networking, peer and permission configuration, and verification, since each has different drivers.
Can our network team connect on-premises Besu nodes without outside help?
A capable network team can often do the tunnel and routing work alone, but the Besu-specific parts need someone who knows how peers find each other and how permissioning rules apply. The risky points are NAT, where a node's outbound address differs from the address it advertises, and bootnode reachability, where a node that cannot be dialed never appears in the peer set. Permissioning files on every node must also agree, or connections are refused without an obvious error. Decide whether your team will own the Besu configuration, the network path, or both, and write that split down before the work starts.
What do the cloud and data center teams need to provide?
Both sides need to supply addressing, routing and firewall decisions before any Besu configuration is written. The cloud team typically provides the VPC or VNet address plan, Kubernetes cluster CIDR ranges, VPN gateway settings and security group or network policy rules. The data center team provides on-premises subnets, firewall rules for the peer port, and the public or NAT address each node will use. Both teams should agree on the ports Besu uses for peer traffic, which DNS names or static addresses bootnodes will use, and who approves changes to each side. Missing one of these inputs is the most common reason for a stalled connection.
How long does a hybrid Besu connection take to set up?
The timeline is set by approvals and tunnel setup more than by Besu configuration. Security review of a new inbound or site-to-site path, change windows for firewalls, and address plan sign-off by each member can each take longer than the technical build. Tunnel setup itself depends on whether the VPN endpoints already exist and whether both sides run compatible settings. Ask for a written timeline that lists each approval gate and its owner, and confirm whether the timeline assumes a test network first. No fixed duration applies across environments, so treat any single number as unverified until your own change process has been mapped.
How do changes to IP addresses affect permissioning?
Node permissioning in Besu works by matching the identity and address of connecting peers against a permissions configuration file on each node. If a node's IP address changes, a peer that allowlists that address may refuse it, and a node that advertises the wrong address may be unreachable even though the network path works. Enode URLs also embed the address, so changing an address usually means updating peer lists on every participant. Plan addressing as part of permissioning: use stable addresses or DNS names where your environment allows, keep permissions files under source control, and test a restart of each node after any address change. Confirm the exact matching behavior for your Besu version in the permissioning documentation before relying on it.
What recurring work follows after the hybrid connection goes live?
Recurring work falls into three groups. The first is network upkeep: VPN certificates or keys, firewall rule reviews, and checks that routes still match the address plan after cluster or cloud changes. The second is Besu change management: each release needs a check that peer connectivity, permissioning and any removed features still behave as expected before upgrading nodes. Besu ships roughly monthly under calendar versioning, so this step recurs often. The third is monitoring, where peer counts and connection failures should alert the right team. Ask any partner which of these they operate under a retainer and which stay with your staff.
What does a partner's work on this connection cover?
Most engagements are fixed-scope, so the written scope defines the connection paths, the number of nodes and members, the permissioning and peer configuration, and the verification steps. DeployOpen plans, implements, documents and hardens self-hosted platforms inside your own infrastructure, which includes cloud accounts, data centers and air-gapped networks. It does not own your network approvals, and it does not issue audit reports or certifications. A quote follows from the written scope, so list your environments, members, existing VPN and Kubernetes setups, and required handover documents when you request one.
How DeployOpen scopes and delivers hybrid Besu connectivity
DeployOpen plans, builds, tests and documents the connectivity between your on-premises Besu nodes and the cloud network inside infrastructure you control. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
How we scope
- Map every node, validator and bootnode to its site, cloud account and owning organization before any routing is designed.
- Confirm which P2P and RPC ports must cross the VPN and which must stay private to each site.
- Agree in writing who owns the VPN devices, NAT gateways, DNS zones and cluster networking on each side.
How we build
- Set up the site-to-site VPN and verify routing in both directions before any Besu node joins the network.
- Configure non-overlapping CIDR blocks, CNI settings and cross-site DNS so peer addresses resolve consistently.
- Build NAT address allowlists and confirm bootnode reachability from every member site with test connections.
How we hand over
- Deliver network diagrams, address and port inventories, and the configuration held under your source control.
- Provide a test record showing peer connections, enode reachability and failover results from each site.
- Document the runbook for adding a member, rotating a NAT address and recovering a dropped tunnel.
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer after handover.
- Retest connectivity after Besu upgrades, VPN changes or new member onboarding as part of the agreed scope.
- Confirm the support boundaries, response expectations and change process with your team before go-live.

