OpenClaw 自管 VPS 架构
自管 OpenClaw VPS 部署架构,包含网关、工作区、防火墙/认证层,以及从任意设备访问商业 LLM 提供商。
完整 FlowZap 代码
User { # User (Any Device)
n1: circle label:"Start"
n2: rectangle label:"Send command via Telegram"
n1.handle(right) -> n2.handle(left)
n2.handle(bottom) -> VPS.n3.handle(top) [label="Internet / SSH Tunnel"]
}
VPS { # VPS (DigitalOcean / Hetzner)
n3: rectangle label:"OpenClaw Gateway"
n4: rectangle label:"Workspace + State"
n5: rectangle label:"Firewall + Auth"
n3.handle(right) -> n4.handle(left)
n3.handle(bottom) -> n5.handle(top)
n3.handle(bottom) -> LLM.n6.handle(top) [label="API Request"]
}
LLM { # Commercial LLM API
n6: rectangle label:"Claude / GPT / Gemini"
n7: rectangle label:"Generate response"
n6.handle(right) -> n7.handle(left)
n7.handle(top) -> VPS.n3.handle(bottom) [label="Response"]
}
相关模板
微服务 API 网关架构
微服务 API 网关架构图,展示请求路由、JWT 身份验证、速率限制、服务发现以及跨分布式后端服务的响应聚合。该模板模拟微服务生态系统中所有客户端流量的入口点,在请求到达内部服务之前执行安全策略。适合设计具有集中式横切关注点的可扩展 API 基础设施的平台工程师。