Edges
Deprecation
Edges, Routes, Modules, Backends and Labeled Tunnels are deprecated. See the Migration Guide.
Sunset Date
There is no planned date when Edges will be sunset and turned off.
Edges are still supported and continue to work as-is. When a date is chosen, it will be communicated to all Edges users.
Migration Guide
We've replaced Edges with new features which are both simpler and more powerful than their Edges counterparts. Use the following replacement guide to migrate off of Edges:
Feature | Replacement |
---|---|
Edges | Cloud Endpoints |
Modules | Traffic Policy Actions |
Routes | Traffic Policy Expressions |
Labeled Tunnels | Internal Endpoints |
Tunnel Group Backend | Forward Internal Action and Endpoint Pools |
HTTP Response Backends | Custom Response Traffic Policy Action |
Failover Backends | Forward Interal Action's on_error property |
Weighted Backends | rand.double() Traffic Policy Macro |
Load Balancing | Endpoint Pools |
Overview
Edges are a way to create persistent, centrally managed endpoints via the ngrok dashboard or API. Edges enable you to centrally manage your endpoints in the ngrok dashboard or API instead of defining behaviors at the Agent or Agent SDK.
With Edges, you start your agent once with labeled tunnels and then configure the Edge via the dashboard or API. When you make changes to your Edge's configuration by adding or updating modules, your app doesn’t go offline. You never have to restart the agent to pick up new command line flags or configuration files.
Edges enable you to:
- Enhance your endpoints with Modules using the dashboard or API without restarting the Agent.
- Centrally manage your module configurations in ngrok's cloud service. This decouples the configuration of module behavior on your endpoint from the agents where traffic is routed to.
- Load balance traffic to different ngrok agents
- Apply different configurations for each path in your application. For
example, you may apply OAuth on
/app
and Compression on/static/css
.