alibaba-cloud
Use when the user asks about Alibaba Cloud (Aliyun), ECS, ACK, OSS, SLB/ALB, ApsaraDB RDS, PolarDB, RAM policies, Function Compute, or the Terraform alicloud…
от j4flmao★ 47 звёзд на GitHub
Установить alibaba-cloud в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Alibaba Cloud (Aliyun)
Purpose
Design, deploy, and manage Alibaba Cloud infrastructure using Terraform/Alibaba Cloud CLI with security, cost optimization, and operational excellence.
Agent Protocol
Trigger
Exact user phrases: "Alibaba Cloud", "Aliyun", "ECS", "ACK", "OSS", "SLB", "RDS", "ApsaraDB", "Alibaba Cloud Kubernetes", "Container Service", "VPC", "RAM", "terraform alicloud", "aliyun cli".
Input Context
Before activating, verify:
- Region and zone preference (Alibaba Cloud has 30+ regions; China regions require ICP license).
- Service type needed: compute (ECS/ECI), container (ACK/ASK), serverless (FC/SAE).
- Authentication method (RAM user key, STS token, RAM role).
- Compliance requirements (ISO 27001, SOC 2, PCI DSS, MLPS in China).
- Network topology (VPC with NAT gateway vs Internet gateway, VPN/CEN for hybrid).
Output Artifact
Writes to Terraform HCL (alicloud provider), Alibaba Cloud CLI commands, RAM policies, YAML for ACK/ASK deployments, and ROS (Resource Orchestration Service) templates.
Response Format
Terraform HCL, RAM policy JSON, ACK YAML, or CLI commands. No extraneous explanation.
No preamble. No postamble. No explanations. No filler/hedging/transitions.
Completion Criteria
- Core infrastructure defined (VPC, subnets, security groups, NAT gateway).
- RAM roles and policies follow least privilege.
- Cost optimization with Pay-As-You-Go or subscription billing applied.
- High availability across multiple zones (at least 2 zones).
- Monitoring and alerting configured (CloudMonitor, ActionTrail).
Max Response Length
Direct file write. No response text.
Architecture Decision Trees
Compute: ECS vs ECI vs ACK vs SAE vs FC
| Workload Profile | Recommended Service | Key Consideration |
|---|---|---|
| Stateful VM, custom OS | ECS (Elastic Compute Service) | Full OS control, dedicated instance |
| Batch job, short-lived container | ECI (Elastic Container Instance) | Serverless container, pay-per-second |
| Kubernetes orchestration | ACK (Container Service for K8s) | Managed K8s, integrates with SLB/NAS |
| Serverless K8s (no nodes) | ASK (Serverless K8s) | No node management, auto-scaling |
| Microservices on K8s | SAE (Serverless App Engine) | War/Jar/Image deploy, auto-scaling |
| Event-driven function | FC (Function Compute) | Pay-per-invocation, HTTP/OSS triggers |
Database: RDS vs PolarDB vs Redis vs MongoDB vs HBase
| Requirement | Recommended | Reason |
|---|---|---|
| MySQL/PostgreSQL compatible | RDS or PolarDB | PolarDB has 6x MySQL throughput |
| High-throughput OLTP | PolarDB-X | Distributed SQL, auto-sharding |
| In-memory cache | ApsaraDB for Redis | Redis-compatible, 256GB max |
| Document store | ApsaraDB for MongoDB | MongoDB 4.x/5.x compatible |
| Wide-column analytics | ApsaraDB for HBase | HBase compatible, hot/cold separation |
Networking: Internet vs NAT vs VPN vs CEN
| Scenario | Solution | Cost |
|---|---|---|
| Public-facing services | Internet Gateway + SLB | ~$0.02/GB data transfer |
| Outbound-only egress | NAT Gateway | ~$0.05/GB + hourly fee |
| Site-to-site VPN | VPN Gateway (IPsec) | ~$0.03/hour |
| Multi-region private network | Cloud Enterprise Network (CEN) | ~$0.01/GB intra-region |
| Private Link to services | PrivateLink | No public IP needed |
Quick Start
VPC with public/private subnets across 2 zones → RAM role with least privilege → ECS/ACK in private subnets → OSS bucket with versioning → CloudMonitor alerts → Cost tags on all resources.
Core Workflow
Step 1: VPC and Networking
# Terraform: VPC with public + private subnets across 2 zones
terraform {
required_providers {
alicloud = {
source = "aliyun/alicloud"
version = "~> 1.209.0"
}
}
}
provider "alicloud" {
region = "cn-hangzhou"
}
resource "alicloud_vpc" "main" {
vpc_name = "main-vpc"
cidr_block = "10.0.0.0/16"
}
resource "alicloud_vswitch" "public" {
count = 2
vpc_id = alicloud_vpc.main.id
cidr_block = "10.0.${count.index}.0/24"
zone_id = data.alicloud_zones.available.zones[count.index].id
vswitch_name = "public-${count.index}"
}
resource "alicloud_vswitch" "private" {
count = 2
vpc_id = alicloud_vpc.main.id
cidr_block = "10.0.${count.index + 10}.0/24"
zone_id = data.alicloud_zones.available.zones[count.index].id
vswitch_name = "private-${count.index}"
}
resource "alicloud_nat_gateway" "ngw" {
vpc_id = alicloud_vpc.main.id
specification = "Small"
nat_gateway_name = "main-nat"
}
Step 2: RAM Roles and Policies
{
"Statement": [
{
"Effect": "Allow",
"Action": [
"oss:GetObject",
"oss:ListObjects",
"oss:PutObject"
],
"Resource": [
"acs:oss:*:*:my-app-assets",
"acs:oss:*:*:my-app-assets/*"
],
"Condition": {
"StringEquals": {
"a
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/alibaba-cloud-advanced.md
- references/alibaba-cloud-fundamentals.md
- references/aliyun-database.md
- references/aliyun-ecs-vpc.md
- references/aliyun-kubernetes.md
- references/aliyun-security.md
- references/security-compliance.md
FAQ
Что делает скилл alibaba-cloud?
Use when the user asks about Alibaba Cloud (Aliyun), ECS, ACK, OSS, SLB/ALB, ApsaraDB RDS, PolarDB, RAM policies, Function Compute, or the Terraform alicloud provider. Produces Alibaba Cloud architectures, RAM and network configs and IaC. Not for AWS (use aws), Azure (use devops-azure) or GCP (use devops-gcp).
Как установить скилл alibaba-cloud?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл alibaba-cloud запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
AnthropicThe scan that the plugin's GitHub Action runs.
azure-static-web-apps
GitHubHelps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
ai-ready
GitHubMake any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
aws-cdk-python-setup
GitHubSetup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…