cloud-infrastructure
AWS、Azure、GCPのクラウドインフラ設計やIaC実装、コスト最適化、マルチリージョン展開を支援するSkill。
📜 元の英語説明(参考)
Cloud infrastructure design and deployment patterns for AWS, Azure, and GCP. Use when designing cloud architectures, implementing IaC with Terraform, optimizing costs, or setting up multi-region deployments.
🇯🇵 日本人クリエイター向け解説
AWS、Azure、GCPのクラウドインフラ設計やIaC実装、コスト最適化、マルチリージョン展開を支援するSkill。
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o cloud-infrastructure.zip https://jpskill.com/download/6900.zip && unzip -o cloud-infrastructure.zip && rm cloud-infrastructure.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/6900.zip -OutFile "$d\cloud-infrastructure.zip"; Expand-Archive "$d\cloud-infrastructure.zip" -DestinationPath $d -Force; ri "$d\cloud-infrastructure.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
cloud-infrastructure.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
cloud-infrastructureフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-17
- 取得日時
- 2026-05-17
- 同梱ファイル
- 1
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
クラウドインフラストラクチャ
マルチクラウドアーキテクチャ、Infrastructure as Code、コスト最適化、本番環境デプロイメントパターンを網羅する包括的なクラウドインフラストラクチャスキルです。
このスキルを使用する場面
- 新しいアプリケーションのクラウドアーキテクチャ設計
- Infrastructure as Code (Terraform, CloudFormation, Pulumi) の実装
- コスト最適化とリソースの適正化
- マルチリージョンおよび高可用性デプロイメント
- クラウド移行計画
- セキュリティとコンプライアンスの実装
- オートスケーリングとパフォーマンス最適化
クラウドアーキテクチャパターン
コンピューティングパターン
| パターン | AWS | Azure | GCP | ユースケース |
|---|---|---|---|---|
| サーバーレス | Lambda | Functions | Cloud Functions | イベント駆動型、変動する負荷 |
| コンテナ | ECS/EKS | AKS | GKE | マイクロサービス、一貫した環境 |
| VM | EC2 | Virtual Machines | Compute Engine | レガシーアプリケーション、完全な制御 |
| バッチ | Batch | Batch | Batch | 大規模処理 |
ストレージパターン
| タイプ | AWS | Azure | GCP | ユースケース |
|---|---|---|---|---|
| オブジェクト | S3 | Blob Storage | Cloud Storage | 静的ファイル、バックアップ |
| ブロック | EBS | Managed Disks | Persistent Disk | データベースストレージ |
| ファイル | EFS | Azure Files | Filestore | 共有ファイルシステム |
| アーカイブ | Glacier | Archive | Coldline | 長期保存 |
データベースパターン
| タイプ | AWS | Azure | GCP | ユースケース |
|---|---|---|---|---|
| リレーショナル | RDS, Aurora | SQL Database | Cloud SQL | ACIDトランザクション |
| NoSQL | DynamoDB | Cosmos DB | Firestore | 柔軟なスキーマ |
| キャッシュ | ElastiCache | Cache for Redis | Memorystore | セッション、キャッシング |
| データウェアハウス | Redshift | Synapse | BigQuery | 分析 |
Infrastructure as Code
Terraform のベストプラクティス
プロジェクト構造:
infrastructure/
├── modules/
│ ├── networking/
│ ├── compute/
│ └── database/
├── environments/
│ ├── dev/
│ ├── staging/
│ └── prod/
├── main.tf
├── variables.tf
├── outputs.tf
└── versions.tf
ステート管理:
- リモートステート (S3, Azure Blob, GCS) を使用する
- ステートロック (DynamoDB, Blob lease) を有効にする
- 環境ごとにステートを分離する
- ステートファイルをコミットしない
モジュール設計:
- モジュールごとに単一の責任を持たせる
- 最小限必要な変数のみを公開する
- 入力/出力を文書化する
- gitタグでモジュールをバージョン管理する
コスト最適化
コンピューティングの節約:
- リザーブドインスタンス (1~3年契約): 30~60%の節約
- スポット/プリエンプティブルインスタンス: 中断可能なワークロードで60~90%の節約
- 適正化 (Right-sizing): インスタンスサイズを実際の使用量に合わせる
- オートスケーリング: 使用量が少ないときにスケールダウンする
ストレージの節約:
- ライフサイクルポリシー: より安価な階層への自動移行
- 圧縮: ストレージフットプリントを削減する
- 重複排除: 冗長なデータを排除する
- 未使用リソースの削除: 孤立したボリューム、スナップショット
ネットワークの節約:
- 静的コンテンツにCDNを使用する
- データ転送パスを最適化する
- プライベートエンドポイントを使用する
- APIレスポンスを圧縮する
高可用性パターン
マルチAZデプロイメント
- 2~3のアベイラビリティゾーンにデプロイする
- 負荷分散にロードバランサーを使用する
- AZ間でのデータベースレプリケーション
- 自動フェイルオーバー構成
マルチリージョンデプロイメント
- アクティブ-アクティブまたはアクティブ-パッシブ
- DNSベースのルーティング (Route53, Traffic Manager)
- データレプリケーション戦略
- ディザスタリカバリ手順
復元性パターン
- 外部依存関係に対するサーキットブレーカー
- 指数バックオフによるリトライ
- バルクヘッド分離
- 優雅な劣化 (Graceful degradation)
セキュリティのベストプラクティス
IDとアクセス
- 最小権限の原則
- 長期的な認証情報ではなくIAMロールを使用する
- 特権アカウントにMFAを有効にする
- 定期的なアクセスレビュー
ネットワークセキュリティ
- VPC/VNet分離
- ファイアウォールとしてのセキュリティグループ
- バックエンドサービス用のプライベートサブネット
- ハイブリッド環境用のVPN/Direct Connect
データ保護
- 保存時の暗号化 (KMS)
- 転送時の暗号化 (TLS)
- キーローテーションポリシー
- バックアップとリカバリのテスト
監視と可観測性
主要メトリクス
- CPU、メモリ、ディスク使用率
- ネットワークスループットとレイテンシ
- エラー率と種類
- サービス/チームごとのコスト
アラート戦略
- ベースラインに基づいてしきい値を設定する
- 原因ではなく症状に基づいてアラートを出す
- 各アラートのランブック
- エスカレーションパスの定義
参照ファイル
references/terraform_patterns.md- IaCパターンと例references/cost_optimization.md- 詳細なコスト削減戦略
他のスキルとの統合
- security-engineering - セキュリティアーキテクチャ向け
- network-engineering - ネットワーク設計向け
- performance - 最適化戦略向け
- devops-runbooks - 運用手順向け
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
Cloud Infrastructure
Comprehensive cloud infrastructure skill covering multi-cloud architecture, Infrastructure as Code, cost optimization, and production deployment patterns.
When to Use This Skill
- Designing cloud architecture for new applications
- Implementing Infrastructure as Code (Terraform, CloudFormation, Pulumi)
- Cost optimization and resource right-sizing
- Multi-region and high-availability deployments
- Cloud migration planning
- Security and compliance implementation
- Auto-scaling and performance optimization
Cloud Architecture Patterns
Compute Patterns
| Pattern | AWS | Azure | GCP | Use Case |
|---|---|---|---|---|
| Serverless | Lambda | Functions | Cloud Functions | Event-driven, variable load |
| Containers | ECS/EKS | AKS | GKE | Microservices, consistent env |
| VMs | EC2 | Virtual Machines | Compute Engine | Legacy apps, full control |
| Batch | Batch | Batch | Batch | Large-scale processing |
Storage Patterns
| Type | AWS | Azure | GCP | Use Case |
|---|---|---|---|---|
| Object | S3 | Blob Storage | Cloud Storage | Static files, backups |
| Block | EBS | Managed Disks | Persistent Disk | Database storage |
| File | EFS | Azure Files | Filestore | Shared file systems |
| Archive | Glacier | Archive | Coldline | Long-term retention |
Database Patterns
| Type | AWS | Azure | GCP | Use Case |
|---|---|---|---|---|
| Relational | RDS, Aurora | SQL Database | Cloud SQL | ACID transactions |
| NoSQL | DynamoDB | Cosmos DB | Firestore | Flexible schema |
| Cache | ElastiCache | Cache for Redis | Memorystore | Session, caching |
| Data Warehouse | Redshift | Synapse | BigQuery | Analytics |
Infrastructure as Code
Terraform Best Practices
Project Structure:
infrastructure/
├── modules/
│ ├── networking/
│ ├── compute/
│ └── database/
├── environments/
│ ├── dev/
│ ├── staging/
│ └── prod/
├── main.tf
├── variables.tf
├── outputs.tf
└── versions.tf
State Management:
- Use remote state (S3, Azure Blob, GCS)
- Enable state locking (DynamoDB, Blob lease)
- Separate state per environment
- Never commit state files
Module Design:
- Single responsibility per module
- Expose minimal required variables
- Document inputs/outputs
- Version modules with git tags
Cost Optimization
Compute Savings:
- Reserved Instances (1-3 year commitment): 30-60% savings
- Spot/Preemptible instances: 60-90% savings for interruptible workloads
- Right-sizing: Match instance size to actual usage
- Auto-scaling: Scale down during low usage
Storage Savings:
- Lifecycle policies: Auto-transition to cheaper tiers
- Compression: Reduce storage footprint
- Deduplication: Eliminate redundant data
- Delete unused resources: Orphaned volumes, snapshots
Network Savings:
- Use CDN for static content
- Optimize data transfer paths
- Use private endpoints
- Compress API responses
High Availability Patterns
Multi-AZ Deployment
- Deploy across 2-3 availability zones
- Use load balancers for distribution
- Database replication across AZs
- Automatic failover configuration
Multi-Region Deployment
- Active-active or active-passive
- DNS-based routing (Route53, Traffic Manager)
- Data replication strategy
- Disaster recovery procedures
Resilience Patterns
- Circuit breakers for external dependencies
- Retry with exponential backoff
- Bulkhead isolation
- Graceful degradation
Security Best Practices
Identity & Access
- Principle of least privilege
- Use IAM roles, not long-term credentials
- Enable MFA for privileged accounts
- Regular access reviews
Network Security
- VPC/VNet isolation
- Security groups as firewalls
- Private subnets for backend services
- VPN/Direct Connect for hybrid
Data Protection
- Encryption at rest (KMS)
- Encryption in transit (TLS)
- Key rotation policies
- Backup and recovery testing
Monitoring & Observability
Key Metrics
- CPU, Memory, Disk utilization
- Network throughput and latency
- Error rates and types
- Cost per service/team
Alerting Strategy
- Set thresholds based on baselines
- Alert on symptoms, not causes
- Runbooks for each alert
- Escalation paths defined
Reference Files
references/terraform_patterns.md- IaC patterns and examplesreferences/cost_optimization.md- Detailed cost reduction strategies
Integration with Other Skills
- security-engineering - For security architecture
- network-engineering - For network design
- performance - For optimization strategies
- devops-runbooks - For operational procedures