Render networking

From fanfan-de/anybox · View interactive version

Render networking is an AI agent skill from the GitHub repository fanfan-de/anybox. Connects Render services over the private network—internal DNS, service discovery, and cross-service communication. Use when the user needs to wire services together, resolve internal hostnames, troubleshoot connectivity between services, configure environment isolation, or understand which services

How to use this skill

Skill file

Render private networking

Render’s private network lets services talk to each other without exposing traffic on the public internet. Use this skill when users need internal connectivity, discovery across scaled instances, or correct URL/port behavior for Blueprints and the Dashboard.

When to Use This Skill

For step-by-step architecture examples and Blueprint patterns, see references/communication-patterns.md. For failure modes and fixes, see references/troubleshooting.md.

Private Network Basics

Private connectivity is available only when all of the following hold:

If either differs, private DNS and internal routing will not connect those services.

Who can communicate

| Resource | Private inbound | Private outbound | Internal hostname |

|----------|-----------------|------------------|-------------------|

| Web Service | Yes (paid tiers; see Free tier below) | Yes | Yes |

| Private Service | Yes | Yes | Yes |

| Background Worker | No | Yes | No |

| Cron Job | No | Yes | No |

| Workflow Run | No | Yes | No |

| Static Site | — | — | Not on private network |

| Managed Postgres | Via internal URL (from allowed clients) | N/A (datastore) | Via internal URL |

| Key Value | Via internal URL (from allowed clients) | N/A (datastore) | Via internal URL |

Free-tier Web Services: They may send private traffic to other services, but they cannot receive inbound private traffic. Plan upgrades or topology changes apply if a free web service must accept private connections.

Workers, crons, and workflow runs initiate outbound connections (e.g., to internal URLs or private service hostnames) but are not reachable by internal hostname for inbound calls.

Internal Addresses

Service Discovery

For services with multiple instances, Render exposes a discovery DNS name that resolves to all instance IPs for that service. The pattern is [hostname]-discovery (see Dashboard docs for the exact hostname shown for your service).

See references/communication-patterns.md for discovery-oriented patterns.

Port Rules

When something fails to connect, verify the target is listening on the expected port and that the port is not reserved or blocked by misconfiguration.

Environment Isolation

On Professional and higher workspaces, you can configure per-environment rules so private traffic does not cross certain environment boundaries. If private calls work in one environment but not another, check workspace environment isolation settings before assuming DNS or app bugs.

AWS PrivateLink

Professional+ workspaces can use AWS PrivateLink to extend private connectivity to or from external AWS VPCs and approved endpoints. This is separate from default service-to-service private DNS; use it when the architecture requires private access to Render or from Render to specific AWS resources without the public internet.

Common Patterns

Short summaries; full diagrams and Blueprint notes live in references/communication-patterns.md.

  1. Web gateway + private backends — Public Web Service terminates HTTP; internal calls use private hostnames and ports to Private Services or internal URLs.
  2. Worker to database — Background Worker (no internal hostname) connects outbound to Postgres or Key Value internal URLs.
  3. Microservices — Private Services (and eligible Web Services) call each other by internal hostname:port on the private network.

References

| Document | Purpose |

|----------|---------|

| references/communication-patterns.md | Gateway, worker→DB, mesh, URL construction, Blueprint fromService, discovery load balancing, private health checks |

| references/troubleshooting.md | DNS, ports, region/workspace, free tier, protocol, resolver, environment isolation |

Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.