تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

hcloud

بواسطة jpj069

DevOps & Cloud
454التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

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. 1

    Run hcloud ssh-key list to find the user's key name

  2. 2

    Create the server with hcloud server create --name web-01 --type cx23 --image ubuntu-24.04 --ssh-key <key> --location nbg1

  3. 3

    Create a firewall with rules allowing TCP 80 and 443 from 0.0.0.0/0

  4. 4

    Apply the firewall to web-01 with hcloud firewall apply-to-resource

  5. 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 أو أي وكيل برمجة تستخدمه.

الروابط