digitalocean-compute
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseDigitalOcean Compute Skill
DigitalOcean Compute Skill
progressive_disclosure: entry_point: summary: "Compute on DigitalOcean: Droplets, App Platform, Functions, Kubernetes, GPU Droplets, Bare Metal GPUs." when_to_use: - "When choosing a compute model for an application" - "When provisioning VMs, PaaS, serverless, or Kubernetes" - "When planning GPU-backed workloads" quick_start: - "Pick Droplets, App Platform, Functions, or Kubernetes" - "Select region, size, and image" - "Configure networking and access" - "Deploy and monitor workloads" token_estimate: entry: 90-110 full: 4000-5200
progressive_disclosure: entry_point: summary: "DigitalOcean计算服务:Droplets、App Platform、Functions、Kubernetes、GPU Droplets、Bare Metal GPUs。" when_to_use: - "为应用程序选择计算模型时" - "配置VM、PaaS、无服务器或Kubernetes时" - "规划GPU支持的工作负载时" quick_start: - "选择Droplets、App Platform、Functions或Kubernetes" - "选择区域、规格和镜像" - "配置网络和访问权限" - "部署并监控工作负载" token_estimate: entry: 90-110 full: 4000-5200
Overview
概述
DigitalOcean compute includes VMs, managed PaaS, serverless functions, and managed Kubernetes, plus GPU offerings for AI workloads.
DigitalOcean计算服务包括虚拟机(VM)、托管式PaaS、无服务器函数以及托管式Kubernetes,此外还有针对AI工作负载的GPU产品。
Droplets (VMs)
Droplets(虚拟机)
Use Droplets for full OS control and custom networking.
- Choose region and Droplet plan.
- Select an OS image or snapshot.
- Add SSH keys for secure access.
- Attach Volumes for persistent block storage.
- Apply firewalls and VPC configuration.
Droplets适用于需要完全操作系统控制和自定义网络的场景。
- 选择区域和Droplets套餐
- 选择操作系统镜像或快照
- 添加SSH密钥以实现安全访问
- 挂载Volumes以获得持久化块存储
- 配置防火墙和VPC
App Platform (PaaS)
App Platform(PaaS)
Use App Platform to deploy from Git or container images with managed build and runtime.
- Connect a Git repository or container registry.
- Define build and run commands or app spec.
- Set environment variables and secrets.
- Configure custom domains and HTTPS.
App Platform支持从Git或容器镜像部署应用,提供托管式构建和运行时环境。
- 连接Git仓库或容器注册表
- 定义构建和运行命令或应用规格
- 设置环境变量和密钥
- 配置自定义域名和HTTPS
Functions (FaaS)
Functions(FaaS)
Use Functions for event-driven or lightweight API workloads.
- Create a Functions namespace.
- Deploy functions with doctl or the Control Panel.
- Configure environment variables and triggers.
- Monitor execution and logs.
Functions适用于事件驱动型或轻量级API工作负载。
- 创建Functions命名空间
- 使用doctl或控制面板部署函数
- 配置环境变量和触发器
- 监控执行情况和日志
Kubernetes (DOKS)
Kubernetes(DOKS)
Use managed Kubernetes for multi-service container orchestration.
- Create a cluster and node pools.
- Save kubeconfig for cluster access.
- Deploy workloads with Kubernetes manifests.
- Pull images from Container Registry.
托管式Kubernetes适用于多服务容器编排场景。
- 创建集群和节点池
- 保存kubeconfig以访问集群
- 使用Kubernetes清单部署工作负载
- 从容器注册表拉取镜像
GPU Compute
GPU计算
Use GPU Droplets or Bare Metal GPUs for AI and ML workloads.
- GPU Droplets: VM-based GPU workloads with flexible sizing.
- Bare Metal GPUs: Dedicated GPU hardware for high performance.
GPU Droplets或Bare Metal GPUs适用于AI和ML工作负载。
- GPU Droplets:基于虚拟机的GPU工作负载,规格灵活
- Bare Metal GPUs:专用GPU硬件,性能强劲
Compute Selection Guide
计算服务选择指南
- Use Droplets for full control and custom configurations.
- Use App Platform for managed app deployments from Git or containers.
- Use Functions for event-driven workflows and micro APIs.
- Use Kubernetes for multi-service container orchestration.
- Use GPU Droplets or Bare Metal GPUs for AI or GPU-heavy workloads.
- Droplets:适用于需要完全控制和自定义配置的场景
- App Platform:适用于从Git或容器进行托管式应用部署的场景
- Functions:适用于事件驱动型工作流和微API场景
- Kubernetes:适用于多服务容器编排场景
- GPU Droplets或Bare Metal GPUs:适用于AI或GPU密集型工作负载场景
Complementary Skills
相关技能
When using this skill, consider these related skills (if deployed):
- digitalocean-containers-images: Registry and image workflows.
- digitalocean-storage: Spaces, Volumes, and backups.
- kubernetes: Cluster operations and troubleshooting.
- docker: Container build and runtime patterns.
Note: Complementary skills are optional. This skill is fully functional without them.
使用本技能时,可考虑搭配以下相关技能(若已部署):
- digitalocean-containers-images:容器注册表和镜像工作流
- digitalocean-storage:Spaces、Volumes和备份
- kubernetes:集群操作和故障排查
- docker:容器构建和运行时模式
注意:相关技能为可选,本技能可独立使用。
Resources
资源
DigitalOcean Docs:
- Compute: https://docs.digitalocean.com/products/compute/
- Droplets: https://docs.digitalocean.com/products/droplets/
- App Platform: https://docs.digitalocean.com/products/app-platform/
- Functions: https://docs.digitalocean.com/products/functions/
- Kubernetes: https://docs.digitalocean.com/products/kubernetes/
- GPU Droplets: https://docs.digitalocean.com/products/gpu-droplets/
- Bare Metal GPUs: https://docs.digitalocean.com/products/bare-metal-gpus/
DigitalOcean文档:
- 计算服务:https://docs.digitalocean.com/products/compute/
- Droplets:https://docs.digitalocean.com/products/droplets/
- App Platform:https://docs.digitalocean.com/products/app-platform/
- Functions:https://docs.digitalocean.com/products/functions/
- Kubernetes:https://docs.digitalocean.com/products/kubernetes/
- GPU Droplets:https://docs.digitalocean.com/products/gpu-droplets/
- Bare Metal GPUs:https://docs.digitalocean.com/products/bare-metal-gpus/