Cloudflare

Argo Tunnels that live forever

Oct 13, 2020Sam Rhea
Argo Tunnels that live forever
SummaryAI, from the source post

This post introduces a new architecture for Argo Tunnel that separates persistent objects (DNS records, cloudflared daemon) from ephemeral objects (connections). It introduces the concept of 'Named Tunnels' which have a permanent name and UUID, allowing DNS records to point to this stable identifier. This prevents the need to recreate DNS records when `cloudflared` restarts, improving stability and simplifying management. It also allows Named Tunnels to be treated as origin servers in Cloudflare's control plane. The post details the steps for using this new architecture: logging in with `cloudflared tunnel login`, creating a Tunnel with `cloudflared tunnel create <name>`, configuring Tunnel details, running the Tunnel with `cloudflared tunnel run <name>`, and sending traffic to the Tunnel by pointing DNS records to the UUID subdomain or adding it to load balancer pools.

More from the Edge Computing with Cloudflare Workers trail