Huawei Vpcのロゴ

Huawei Vpc

組織
huaweicloud
huawei-vpc

Use when creating, configuring, or managing VPC networks, subnets, security groups, EIPs, NAT gateways, VPN connections, or network ACLs on Huawei Cloud. Triggers on: VPC, subnet, security group, EIP, NAT, VPN, network ACL, route table, bandwidth. NOT for: DNS or CDN configuration.

Add to TypingMind

概要

公開者huaweicloud
リポジトリhuaweicloud-devkit
スキル名huawei-vpc
スター
70
フォーク
12
同梱ファイル
3
ライセンスApache-2.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 3個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    huaweicloudがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Huawei Vpc」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/huaweicloud/huaweicloud-devkit/tree/main/plugins/huaweicloud-core/skills/huawei-vpc
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/huaweicloud/huaweicloud-devkit.git /tmp/huaweicloud-devkit
mkdir -p .claude/skills
cp -r /tmp/huaweicloud-devkit/plugins/huaweicloud-core/skills/huawei-vpc .claude/skills/huawei-vpc
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでHuawei Vpcを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にHuawei Vpcを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Huawei Vpcは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Huawei Cloud VPC

STOP - Do not answer from general knowledge. Follow the procedure below.

Always run hcloud <Service> <Operation> --help before constructing commands to discover exact parameter names and requirements.

Multi-version APIs: KooCLI may print a warning like "ListVpcs有多个版本,默认使用该API版本v3" before the actual response. The text BEFORE the first { is the version selection notice — parse JSON starting from { only. This is normal behavior, not an error.

Overview

Domain expertise for Huawei Cloud Virtual Private Cloud (VPC). Covers VPC/subnet lifecycle, security groups, EIP management, NAT gateways, VPN, and network ACLs.

Critical Warnings

TrapWhy
VPC CIDR cannot changeOnce set, VPC CIDR block is immutable
Security group statefulSG rules are stateful. Return traffic auto-allowed
Network ACL statelessACL rules must allow both inbound AND outbound
EIP bills when idleUnbound EIP still charges. Release when unused
Subnet AZ bindingSubnet tied to single AZ. Cross-AZ needs multiple subnets
EIP PER type needs --bandwidth.namePER bandwidth requires explicit name; --help marks it optional but it's required
VPC params need nested prefixKooCLI 7.x VPC API uses --vpc.<param>, --subnet.<param>, --security_group.<param>. Example: --vpc.name=xxx NOT --name=xxx
Security group needs no vpc_idVPC v3 API CreateSecurityGroup does NOT accept vpc_id. Security groups are region-level, not VPC-bound
Subnet DNS empty → ECS no DNSDNS params (--subnet.primary_dns, --subnet.secondary_dns) marked optional but empty default breaks cloud-init domain resolution — yum/apt installs fail silently. Always set both. Common DNS (primary / secondary): cn-north-4 (100.125.1.250 / 100.125.129.250), cn-north-1 (100.125.1.250 / 100.125.21.250), cn-east-3 (100.125.1.250 / 100.125.64.250), cn-south-1 (100.125.1.250 / 100.125.136.29), ap-southeast-3 (100.125.1.250 / 100.125.128.250). Authoritative per region: hcloud DNS ListNameServers --type=private --region=<r>
SCP blocks 0.0.0.0/0 SG rulesIf CreateSecurityGroupRule with --remote_ip_prefix=0.0.0.0/0 fails with SYS.0403, an org-level SCP policy is denying wide-open rules. Narrow to a specific CIDR range (e.g., your office IP) instead
VPC tags use * separatorVPC tag format: --vpc.tags.1=env*test (asterisk between key and value). NOT --vpc.tags.1.key=env (ECS-style). This is different from ECS --server.metadata.key=value

Common Workflows

TaskCommandSteps
Create VPChcloud VPC CreateVpc --vpc.name= --vpc.cidr=CIDR must not conflict with existing VPCs. Run hcloud VPC ListVpcs first
Create subnethcloud VPC CreateSubnet --subnet.name= --subnet.vpc_id= --subnet.cidr= --subnet.gateway_ip= --subnet.primary_dns= --subnet.secondary_dns= --subnet.availability_zone=Subnet CIDR must be a subset of the VPC CIDR. DNS addresses vary by region — see Critical Warnings for common values
Update subnethcloud VPC UpdateSubnet --subnet_id= --subnet.dnsList.1= --subnet.dnsList.2=Fix DNS after creation. Restart ECS after updating DNS for cloud-init to pick up changes
Security grouphcloud VPC CreateSecurityGroup --security_group.name=references/security-group.md
SG rulehcloud VPC CreateSecurityGroupRule --security_group_rule.security_group_id= --security_group_rule.direction= --security_group_rule.protocol= --security_group_rule.multiport= --security_group_rule.remote_ip_prefix=references/security-group.md
Create EIPhcloud EIP CreatePublicip --publicip.type= --bandwidth.size= --bandwidth.share_type= --bandwidth.name=Run hcloud EIP CreatePublicip --help to confirm valid type values per region
Bind EIP to ECShcloud EIP AssociatePublicips --publicip_id= --publicip.associate_instance_id= --publicip.associate_instance_type=PORTGet port ID from hcloud ECS ListServersDetails --server_id=<id> → OS-EXT-IPS:port_id
Unbind EIPhcloud EIP DisassociatePublicips --publicip_id=references/network.md
Delete EIPhcloud EIP DeletePublicip --publicip_id=references/network.md
List EIPshcloud EIP ListPublicips
NAT gatewayhcloud NAT CreateNatGateway --nat.name= --nat.spec= --router_id= --internal_network_id=Run hcloud NAT CreateNatGateway --help for available spec values

Troubleshooting

ErrorRoot Cause -> Fix
Cannot reach instanceSG missing rule or no EIP -> Add SG rule / Bind EIP
Subnet CIDR conflictOverlapping with existing subnets -> Choose non-overlapping CIDR
NAT gateway no internetRoute table missing default route -> Add 0.0.0.0/0 via NAT
EIP quota exceededCheck actual quota: hcloud EIP ListPublicips --cli-region=<r> to see current usage. Default varies by account (typically 5-10)
EIP.7905Run hcloud EIP ListPublicips --cli-region=<r> first to check current usage
VPC.0301: Bandwidth name invalidPER type requires --bandwidth.name, even though --help marks it optional
EIP has no public IP after bindingMay need AddIngressEipV2 for ELB-type resources (see huawei-cloud-apig-instance-management)
ECS cloud-init fails silently (port 80/443 closed)Subnet likely has no DNS. Check hcloud VPC ShowSubnet --subnet_id=<id> → dnsList empty? Rebuild subnet with --subnet.primary_dns=<dns1> --subnet.secondary_dns=<dns2>. DNS addresses per region: hcloud DNS ListNameServers --type=private --region=<r>
VPC.0209: Subnet still usedSubnet has dependent resources (ECS/RDS) — delete instances first, then subnet
SYS.0403 / SCP denyService Control Policy explicitly denies this operation — contact org admin to adjust SCP, or use an account/region without the restriction. If SSH is blocked, bootstrap via cloud-init user_data instead: see huawei-ecs — no SSH needed

Security Considerations

  • MUST use security groups, NOT iptables
  • MUST scope SG rules to specific CIDRs, NOT 0.0.0.0/0
  • SHOULD use network ACLs as defense-in-depth
  • SHOULD place databases in private subnets (no EIP)
  • MUST enable VPC flow logs for audit

MCP Tools

  • huaweicloud_list_operations service=VPC
  • huaweicloud_run_readonly_command for VPC/subnet discovery
  • huaweicloud_run_approved_command for writes

References

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Huawei Vpc」では何ができますか?

Use when creating, configuring, or managing VPC networks, subnets, security groups, EIPs, NAT gateways, VPN connections, or network ACLs on Huawei Cloud. Triggers on: VPC, subnet, security group, EIP, NAT, VPN, network ACL, route table, bandwidth. NOT for: DNS or CDN configuration.

TypingMindでHuawei Vpcを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Huawei Vpcはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにHuawei Vpcをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/huaweicloud/huaweicloud-devkit/tree/main/plugins/huaweicloud-core/skills/huawei-vpcを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Huawei Vpcを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Huawei Vpcで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもHuawei Vpcを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Huawei Vpc」は無料ですか?

はい。huaweicloudがApache-2.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇