digitalocean
bởi rexlunae
Web & Frontend DevelopmentTóm tắt
Manage DigitalOcean resources via API — Droplets (create/destroy/resize/power), DNS zones and records, Spaces.
Mô tả
Kỹ năng này làm gì
Manages DigitalOcean infrastructure programmatically through the API. Covers Droplets, DNS zones and records, Spaces object storage, Databases, Firewalls, Load Balancers, and Kubernetes. Includes account and billing queries.
Automates repetitive infrastructure tasks from the command line instead of clicking through the DigitalOcean control panel.
Khi nào nên dùng
- Spinning up a new Ubuntu droplet for a side project
- Updating DNS A records after a server migration
- Taking a snapshot before a risky deployment
- Adding firewall rules to restrict droplet access
- Checking current account balance and billing history
Quy trình ví dụ
User asks: Deploy a new web server at mydomain.com
- 1
Creates a new Ubuntu droplet in nyc1 with the specified size and SSH key
- 2
Retrieves the droplet IP address from the API
- 3
Adds an A record for mydomain.com pointing to the new IP
- 4
Creates a firewall allowing SSH, HTTP, and HTTPS inbound traffic
- 5
Attaches the firewall to the new droplet
A running droplet accessible at mydomain.com with firewall rules applied
Yêu cầu
- DigitalOcean account
- DigitalOcean API token from https://cloud.digitalocean.com/account/api/tokens
Cài đặt
clawhub install rexlunae/digitaloceanChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.