hcloud
بواسطة jpj069
DevOps & Cloudموجز
Manage Hetzner Cloud infrastructure using the hcloud CLI.
الوصف
ما الذي تفعله هذه المهارة
Wraps the hcloud CLI to manage Hetzner Cloud resources from an agent. Covers servers, firewalls, SSH keys, volumes, networks, and load balancers through direct CLI commands.
Hetzner Cloud has no first-party AI integration, so this skill bridges that gap by letting agents drive the full hcloud CLI without manual terminal work.
متى تستخدمها
- Spin up a new Ubuntu server in a specific region
- Add firewall rules to restrict SSH access by IP
- Attach a persistent volume to a running server
- Create a private network and connect multiple servers to it
- Set up a load balancer and register backend servers
مثال على سير العمل
User asks: Create a cx23 server named web-01 in Nuremberg with my SSH key and open ports 80 and 443
- 1
Run hcloud ssh-key list to find the user's key name
- 2
Create the server with hcloud server create --name web-01 --type cx23 --image ubuntu-24.04 --ssh-key <key> --location nbg1
- 3
Create a firewall with rules allowing TCP 80 and 443 from 0.0.0.0/0
- 4
Apply the firewall to web-01 with hcloud firewall apply-to-resource
- 5
Verify with hcloud server describe web-01
Server web-01 running at its public IP with HTTP/HTTPS open and SSH key authentication configured
المتطلبات
- Hetzner Cloud API token (generated in Hetzner Cloud Console under Security > API Tokens)
التثبيت
clawhub install jpj069/hcloudشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.