Skip to main content
Whether you need an API gateway, multicloud failover, or want to integrate ngrok with your stack, these examples help you compose endpoints and Traffic Policy to orchestrate traffic for common jobs to be done and problems to be solve. Wire it up, secure it, and ship it already.

Fundamentals

Front Door Pattern

The front door pattern is a great way to improve the user experience of your services.

Multiplex

Multiplex is a great way to improve the user experience of your services.

Custom Error Pages

Custom error pages are a great way to improve the user experience of your services.

Gateway shapes

PaaS Alternative Gateway

Get the polish of managed platforms like Heroku or Vercel while maintaining full control over your infrastructure with load balancing, security, and observability.

Agent-Assisted Gateway

Transform your local development environment into a production-ready testbed with real authentication, traffic transformation, and public accessibility for AI-assisted development.

Microservices API Gateway

Coordinate ingress traffic for microservices without a full service mesh, using ngrok to handle north-south traffic patterns with authentication and routing.

Webhook Gateway

Centralize webhook validation and routing from third-party providers like Stripe, Twilio, and Slack to secure your integrations and eliminate repetitive implementation.

Database Gateway

Securely expose databases to external clients with strict authentication, rate limiting, and query transformation to prevent runaway costs and data leaks.

Ephemeral Workloads

Expose deploy previews and CI test environments on secure, short-lived URLs with dynamic routing and authentication.

Other

Blue Green Deployments

Blue-green deployments make your release processes safer and less prone to errors.

Canary Deployments

Canary deployments are a trusted method for rolling out new features or major versions of your services.

IP Restrictions and Basic Auth

IP restrictions and basic auth are a great way to improve the security of your services.

Lock Admin Dashboards

Lock admin dashboards are a great way to improve the security of your services.

Maintenance Mode

Maintenance mode is a great way to improve the user experience of your services.

Minecraft

Minecraft is a great way to improve the user experience of your services.

N8N

N8N is a great way to improve the user experience of your services.

Offload Analytics

Offload analytics are a great way to improve the user experience of your services.

Ollama

Ollama is a great way to improve the user experience of your services.

Pre-Tier Requests

Pre-tier requests are a great way to improve the user experience of your services.

Rewrite Headers and Redirects

Rewrite headers and redirects are a great way to improve the user experience of your services.

Route API App Traffic by User Agent

Route API app traffic by user agent is a great way to improve the user experience of your services.

Route by Geography

Route by geography is a great way to improve the user experience of your services.

Route by OIDC

Route by OIDC is a great way to improve the user experience of your services.

Secure Developer Environments

Secure developer environments is a great way to improve the user experience of your services.

Validate Requests Identity

Validate requests identity is a great way to improve the user experience of your services.

Wordpress

Wordpress is a great way to improve the user experience of your services.