render-private-services
/render-private-services
配置 Render private service——仅内部可用、只通过私有网络接收来自其它 Render 服务流量的应用。当用户需要内部 API、微服务、gRPC server、sidecar,或任何不应对公网暴露的服务时使用。在 private service 与后台 worker 之间做选择时也适用。触发词:private service、pserv、internal service、internal API、microservice、gRPC、not public、private network service。
- Author
- kael-odin ↗
- Repository
- codex-plugins-zh ↗
- Licence
- MIT
- Last repository change
- 25.10.2026
Assessment and security
- Files in this package
- 3
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 1
No signals detected. Repository changed on 25.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
配置 Render private service——仅内部可用、只通过私有网络接收来自其它 Render 服务流量的应用。当用户需要内部 API、微服务、gRPC server、sidecar,或任何不应对公网暴露的服务时使用。在 private service 与后台 worker 之间做选择时也适用。触发词:private service、pserv、internal service、internal API、microservice、gRPC、not public、private network service。
Original author description
配置 Render private service——仅内部可用、只通过私有网络接收来自其它 Render 服务流量的应用。当用户需要内部 API、微服务、gRPC server、sidecar,或任何不应对公网暴露的服务时使用。在 private service 与后台 worker 之间做选择时也适用。触发词:private service、pserv、internal service、internal API、microservice、gRPC、not public、private network service。
How it works
- When to Use
- Private Service vs Background Worker
- How Private Services Work
- Connecting to a Private Service
- Port Binding
- Blueprint Configuration
- References
- Related Skills
SKILL.md preview
---
name: render-private-services
description: "配置 Render private service——仅内部可用、只通过私有网络接收来自其它 Render 服务流量的应用。当用户需要内部 API、微服务、gRPC server、sidecar,或任何不应对公网暴露的服务时使用。在 private service 与后台 worker 之间做选择时也适用。触发词:private service、pserv、internal service、internal API、microservice、gRPC、not public、private network service。"
license: MIT
compatibility: Render private services (paid plans)
metadata:
author: Render
version: "1.0.0"
category: compute
---
# Render Private Services
Private services are identical to web services except they have **no public URL**. They are reachable only by other Render services on the same **private network** (same region + workspace). Use them for internal APIs, microservices, gRPC servers, sidecar processes, and anything that should never face the internet.
## When to Use
- Building an **internal API** or **microservice** behind a public gateway
- Running a **gRPC**, **TCP**, or other non-HTTP server that only your services call
- Deploying infrastructure components (**Elasticsearch**, **ClickHouse**, **RabbitMQ**)
- Choosing between a **private service** and a **background worker**
For public-facing HTTP services, use **render-web-services**. For services that don't receive any traffic, use **render-background-workers**.
## Private Service vs Background Worker
| Criterion | Private Service | Background Worker |
|-----------|----------------|-------------------|
| Binds to a port | **Yes** (required) | No |
| Receives private network traffic | **Yes** | No |
| Sends outbound traffic | Yes | Yes |
| Has internal hostname | **Yes** | No |
| Use case | Internal APIs, gRPC, TCP servers | Queue consumers, async processors |
**Rule of thumb:** If the process **listens on a port** and other services call it, it's a private service. If it **pulls work from a queue** and never receives requests, it's a background worker.
## How Private Services Work
- No `onrender.com` subdomain—not reachable from the internet
- Reachable at `<service-name>:<port>` on the private network by services in the same region and workspace
- Can listen on **any port** (except restricted system ports)—not limited to HTTP or port 10000
- Supports **any protocol**: HTTP, gRPC, TCP, WebSocket, custom binary protocols
- Same build/deploy lifecycle as web services (build command, start command, pre-deploy, health checks via the private network)
- Supports persistent disks, scaling, Docker runtime—same capabilities as web services
## Connecting to a Private Service
Other services reference a private service via its **internal hostname and port**:
```
http://<service-name>:<port>
```
In Blueprints, wire the address using `fromService`:
```yaml
- key: INTERNAL_API_URL
fromService:
name: my-api
type: pserv
property: hostport
```
Available `fromService` properties for `pserv`:
| Property | Value |
|----------|-------|
| `host` | Internal hostname (e.g. `my-api`) |
| `port` | Port the service listens on |
| `hostport` | `host:port` combined (e.g. `my-api:10000`) |
You can also reference a specific env var from the private service using `envVarKey` instead of `property`.
## Port Binding
Private services **must bind to at least one port**. If your process does not need to receive traffic, create a background worker instead.
- Bind to `0.0.0.0` (not `127.0.0.1` or `localhost`)
- The `PORT` env var defaults to `10000`, but you can listen on any non-restricted port
- For non-HTTP protocols (gRPC, TCP), configure your server on the desired port and tell consumers the `hostport`
## Blueprint Configuration
```yaml
services:
- type: pserv
name: internal-api
runtime: node
region: oregon
plan: starter
buildCommand: npm ci && npm run build
startCommand: npm start
envVars:
- key: DATABASE_URL
fromDatabase:
name: db
property: connectionString
```
### Microservices pattern (gateway + internal services)
```yaml
services:
- type: web
name: gateway
runtime: node
plan: starter
region: oregon
buildCommand: npm ci && npm run build
startCommand: npm start
envVars:
- key: USER_SERVICE_URL
fromService:
name: user-service
type: pserv
property: hostport
- key: BILLING_SERVICE_URL
fromService:
name: billing-service
type: pserv
property: hostport
- type: pserv
name: user-service
runtime: node
plan: starter
region: oregon
buildCommand: npm ci
startCommand: node server.js
envVars:
- key: DATABASE_URL
fromDatabase:
name: db
property: connectionString
- type: pserv
name: billing-service
runtime: python
plan: starter
region: oregon
buildCommand: pip install -r requirements.txt
startCommand: gunicorn billing:app
envVars:
- key: DATABASE_URL
fromDatabase:
name: db
property: connectionString
```
## References
| Document | Contents |
|----------|----------|
| `references/patterns.md` | Microservice topology, gRPC setup, sidecar patterns, health checks for private services |
## Related Skills
- **render-web-services** — Public HTTP services
- **render-networking** — Private network, DNS, service discovery
- **render-background-workers** — Services that don't receive traffic
- **render-blueprints** — Full `render.yaml` schema, `fromService` wiring
- **render-scaling** — Instance types and autoscaling for private services
Files in this package (3)
- SKILL.md 6 KB
- agents/openai.yaml 1 KB
- references/patterns.md 3 KB
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · kael-odin/codex-plugins-zh | 100 | MIT |
| render-oss/skills | 100 | MIT |
Database snapshot: 13.11.2026 · package version 28d71ce8d15b (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100render-networking
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… - 100generating-grpc-services
Generate gRPC service definitions, stubs, and implementations from Protocol Buffers. Use when creating high-performance gRPC services. Trigger with phrases like "generate gRPC service", "create gRPC API", or "build gRPC server". - 100generating-grpc-services
Generate gRPC service definitions, stubs, and implementations from Protocol Buffers. Use when creating high-performance gRPC services. Trigger with phrases like "generate gRPC service", "create gRPC API", or "build gRPC server". - 100render-web-services
配置 Render web service——端口绑定、TLS、健康检查、自定义域名、自动部署、PR 预览、持久化磁盘及部署生命周期。当用户需要搭建 web service、修复健康检查失败、添加自定义域名、配置零停机部署,或排查端口绑定问题时使用。 - 100grpc-service-generator
Generate grpc service generator operations. Auto-activating skill for Backend Development. Triggers on: grpc service generator, grpc service generator Part of the Backend Development skill category. Use when working with grpc service generator functionality. Trigger with phrases… - 90grpc-services
Design gRPC services with clean proto contracts, versioning, streaming patterns, and deadline propagation. Use when building high-performance service-to-service APIs or evaluating gRPC against REST.