cloud-ops

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Cloud Operations

云运维操作

Manage and monitor cloud infrastructure across all supported providers. Handle scaling, monitoring, database operations, DNS management, and troubleshooting.
跨所有支持的云服务商管理和监控云基础设施,处理扩缩容、监控、数据库操作、DNS管理及故障排查。

Capabilities

功能特性

Deployment Management

部署管理

  • Check deployment status and health across providers
  • Trigger re-deployments and rollbacks
  • View build logs and error details
  • Manage environment variables
  • 跨云服务商检查部署状态与健康状况
  • 触发重新部署与回滚操作
  • 查看构建日志与错误详情
  • 管理环境变量

Scaling

扩缩容

  • Scale Heroku dynos up/down
  • Scale Fly.io machines (count, size, region)
  • Resize Linode instances
  • Scale DigitalOcean droplets or App Platform
  • 调整Heroku dynos的数量(扩容/缩容)
  • 调整Fly.io机器的数量、规格与区域
  • 调整Linode实例的规格
  • 调整DigitalOcean droplets或应用平台的资源规模

Database Operations

数据库操作

  • Provision databases (Railway Postgres/Redis/MySQL/MongoDB, Heroku Postgres/Redis, DO Managed DB)
  • View connection strings
  • Monitor database health
  • 配置数据库(Railway Postgres/Redis/MySQL/MongoDB、Heroku Postgres/Redis、DO托管数据库)
  • 查看连接字符串
  • 监控数据库健康状况

DNS Management

DNS管理

  • Add/update/remove DNS records across all registrars
  • Check DNS propagation status
  • Configure SSL certificates
  • Set up domain redirects (www → root, etc.)
  • 在所有域名注册商处添加/更新/删除DNS记录
  • 检查DNS传播状态
  • 配置SSL证书
  • 设置域名重定向(如www → 根域名等)

Monitoring & Troubleshooting

监控与故障排查

  • View deployment logs (Heroku, Railway, Fly.io)
  • Check resource utilization
  • Diagnose DNS misconfigurations
  • Verify SSL certificate status
  • 查看部署日志(Heroku、Railway、Fly.io)
  • 检查资源利用率
  • 排查DNS配置错误
  • 验证SSL证书状态

Provider-Specific Operations

各服务商专属操作

Vercel

Vercel

  • vercelListProjects
    — see all projects
  • vercelGetDeployment
    — check build/deploy status
  • vercelSetEnvVars
    — manage env vars
  • vercelConfigureDomain
    — domain operations
  • vercelListProjects
    ——查看所有项目
  • vercelGetDeployment
    ——检查构建/部署状态
  • vercelSetEnvVars
    ——管理环境变量
  • vercelConfigureDomain
    ——域名操作

Cloudflare

Cloudflare

  • cfListProjects
    — see all Pages projects
  • cfConfigureDns
    — manage DNS records
  • cfCreateWorker
    — deploy Workers
  • cfListProjects
    ——查看所有Pages项目
  • cfConfigureDns
    ——管理DNS记录
  • cfCreateWorker
    ——部署Workers

DigitalOcean

DigitalOcean

  • doListResources
    — see apps and droplets
  • doDeployApp
    — trigger redeploy
  • doManageDns
    — DNS operations
  • doDeleteResource
    — teardown resources
  • doListResources
    ——查看应用与droplets
  • doDeployApp
    ——触发重新部署
  • doManageDns
    ——DNS操作
  • doDeleteResource
    ——销毁资源

Heroku

Heroku

  • herokuGetLogs
    — view recent logs
  • herokuScaleDynos
    — scale up/down
  • herokuAddAddon
    — provision add-ons
  • herokuGetLogs
    ——查看近期日志
  • herokuScaleDynos
    ——调整dynos数量(扩容/缩容)
  • herokuAddAddon
    ——配置附加组件

Railway

Railway

  • railwayListServices
    — see projects/services
  • railwayGetLogs
    — view logs
  • railwayAddDatabase
    — provision databases
  • railwayListServices
    ——查看项目/服务
  • railwayGetLogs
    ——查看日志
  • railwayAddDatabase
    ——配置数据库

Fly.io

Fly.io

  • flyListApps
    — see apps and machines
  • flyScaleApp
    — scale machines
  • flyCreateVolume
    — persistent storage
  • flyListApps
    ——查看应用与机器
  • flyScaleApp
    ——调整机器规模
  • flyCreateVolume
    ——配置持久化存储

AWS

AWS

  • awsManageRoute53
    — DNS operations
  • awsConfigureCloudFront
    — CDN configuration
  • awsConfigureLambda
    — serverless functions
  • awsManageRoute53
    ——DNS操作
  • awsConfigureCloudFront
    ——CDN配置
  • awsConfigureLambda
    ——无服务器函数配置

Linode

Linode

  • linodeListInstances
    — see all instances
  • linodeManageDns
    — DNS operations
  • linodeDeleteInstance
    — teardown
  • linodeCreateNodeBalancer
    — load balancing
  • linodeListInstances
    ——查看所有实例
  • linodeManageDns
    ——DNS操作
  • linodeDeleteInstance
    ——销毁实例
  • linodeCreateNodeBalancer
    ——配置负载均衡

Domain Operations

域名操作

Common DNS Records

常见DNS记录

TypeUse CaseExample
ARoot domain → IP
@ → 76.76.21.21
AAAARoot domain → IPv6
@ → 2606:4700::1
CNAMESubdomain → hostname
www → cname.vercel-dns.com
TXTVerification, SPF, DKIM
@ → "v=spf1 include:..."
MXEmail routing
@ → mail.provider.com
NSNameserver delegation
@ → ns1.provider.com
类型使用场景示例
A根域名 → IP
@ → 76.76.21.21
AAAA根域名 → IPv6
@ → 2606:4700::1
CNAME子域名 → 主机名
www → cname.vercel-dns.com
TXT验证、SPF、DKIM
@ → "v=spf1 include:..."
MX邮件路由
@ → mail.provider.com
NS域名服务器委托
@ → ns1.provider.com

SSL/TLS

SSL/TLS

  • Vercel, Netlify, Cloudflare: Auto-provisioned via Let's Encrypt
  • AWS CloudFront: Requires ACM certificate (free, auto-renewing)
  • Heroku: Auto on paid dynos, manual on free
  • Railway, Fly.io: Auto-provisioned
  • Linode, DigitalOcean droplets: Use certbot or Caddy for auto-SSL
  • Vercel、Netlify、Cloudflare:通过Let's Encrypt自动颁发
  • AWS CloudFront:需要ACM证书(免费、自动续期)
  • Heroku:付费dynos自动配置,免费dynos需手动配置
  • Railway、Fly.io:自动颁发
  • Linode、DigitalOcean droplets:使用certbot或Caddy实现自动SSL

Best Practices

最佳实践

  1. Always use HTTPS — all providers support free SSL
  2. Set environment variables before deploying — build-time vars need to exist at build
  3. Use preview deployments for testing before production
  4. Monitor costs — cloud resources accrue charges
  5. Clean up unused resources — delete test deployments and databases
  6. Use managed databases when possible — avoid self-hosting on VPS unless needed
  7. Configure www redirect — point www CNAME to provider, add redirect rule root↔www
  1. 始终使用HTTPS——所有服务商均支持免费SSL
  2. 部署前设置环境变量——构建时变量需在构建阶段存在
  3. 使用预览部署在上线前进行测试
  4. 监控成本——云资源会产生费用
  5. 清理未使用资源——删除测试部署与数据库
  6. 尽可能使用托管数据库——除非必要,避免在VPS上自行搭建
  7. 配置www重定向——将www的CNAME指向服务商,添加根域名与www的重定向规则