Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

hcp-create-aws

БесплатноБез исполняемых скриптовНе проверен

Use this skill when you need to deploy HyperShift clusters on AWS infrastructure with proper STS credentials, IAM roles, and VPC configuration

openshift-engот openshift-eng★ 123 звезды на GitHub16 установок в других каталогах

Об этом скилле

HyperShift AWS Provider

This skill provides implementation guidance for creating HyperShift clusters on AWS, handling AWS-specific requirements including STS credentials, IAM roles, VPC configuration, and regional best practices.

When to Use This Skill

This skill is automatically invoked by the /hcp:generate aws command to guide the AWS provider cluster creation process.

Prerequisites

  • AWS CLI configured with appropriate credentials
  • HyperShift operator installed and configured
  • STS credentials file for the target AWS account
  • IAM role with required permissions for HyperShift
  • Pull secret for accessing OpenShift images

AWS Provider Overview

AWS Provider Peculiarities

  • Requires AWS credentials (STS): Must have valid STS credentials file
  • Region selection affects availability zones: Different regions have different AZ availability
  • Instance types vary by region: Not all instance types available in all regions
  • VPC CIDR must not conflict: Must not overlap with existing infrastructure
  • IAM roles: Can be auto-created or use pre-existing roles

Common AWS Configurations

Development Environment:

  • Single replica control plane (cost-effective)
  • m5.large instances (balanced performance/cost)
  • 2 availability zones (basic redundancy)
  • Basic networking (public endpoints)

Production Environment:

  • Highly available control plane
  • m5.xlarge+ instances (better performance)
  • 3+ availability zones (high availability)
  • Custom VPC configuration
  • KMS encryption enabled

Cost-Optimized Environment:

  • Single NAT gateway
  • Smaller instance types
  • Minimal replicas
  • Spot instances (where applicable)

Implementation Steps

Step 1: Analyze Cluster Description

Parse the natural language description for AWS-specific requirements:

Environment Type Detection:

  • Development: "dev", "development", "testing", "demo", "sandbox"
  • Production: "prod", "production", "critical", "enterprise"
  • Cost-Optimized: "cheap", "cost", "minimal", "budget", "demo"

Performance Indicators:

  • High Performance: "performance", "fast", "high-compute", "intensive"
  • Standard: Default moderate configuration
  • Minimal: "small", "minimal", "basic", "simple"

Security/Compliance:

  • FIPS: "fips", "compliance", "security", "regulated"
  • Private: "private", "isolated", "secure", "internal"

Special Requirements:

  • Multi-AZ: "highly available", "ha", "multi-zone", "resilient"
  • Single-AZ: "single zone", "simple", "minimal"

Step 2: Apply AWS Provider Defaults

Required Parameters:

  • --region: AWS region (default: us-east-1)
  • --pull-secret: Path to pull secret file
  • --release-image: OpenShift release image
  • --sts-creds: REQUIRED - Path to STS credentials file
  • --role-arn: REQUIRED - ARN of the IAM role to assume
  • --base-domain: REQUIRED - Base domain for the cluster

Smart Defaults by Environment:

Development Environment:

--instance-type m5.large
--node-pool-replicas 2
--control-plane-availability-policy SingleReplica
--endpoint-access Public
--root-volume-size 120
--zones auto-select 2 zones based on region

Production Environment:

--instance-type m5.xlarge
--node-pool-replicas 3
--control-plane-availability-policy HighlyAvailable
--endpoint-access PublicAndPrivate
--root-volume-size 120
--auto-repair true
--zones auto-select 3+ zones based on region

Cost-Optimized Environment:

--instance-type m5.large
--node-pool-replicas 2
--control-plane-availability-policy SingleReplica
--endpoint-access Public
--root-volume-size 120
--zones auto-select 2 zones (minimal redundancy)

Step 3: Interactive Parameter Collection

Required Information Collection:

  1. Cluster Name

    🔹 **Cluster Name**: What would you like to name your cluster?
       - Must be DNS-compatible (lowercase, hyphens allowed)
       - Used for AWS resource naming
       - Example: dev-cluster, prod-app, demo-env
    
  2. AWS Region

    🔹 **AWS Region**: Which AWS region should host your cluster?
       - Consider latency to your users
       - Verify desired instance types are available
       - [Press Enter for default: us-east-1]
    
       Popular regions:
       - us-east-1 (N. Virginia) - Largest service availability
       - us-west-2 (Oregon) - West coast, latest services
       - eu-west-1 (Ireland) - Europe
       - ap-southeast-1 (Singapore) - Asia Pacific
    
  3. STS Credentials

    🔹 **STS Credentials**: Path to your AWS STS credentials file?
       - Required for AWS authentication
       - Generate using: aws sts get-session-token
       - Example: /home/user/.aws/sts-creds.json
       - Format: {"AccessKeyId": "...", "SecretAccessKey": "...", "SessionToken": "..."}
    
  4. IAM Role ARN

    🔹 **IAM Role ARN**: ARN of the IAM role for HyperShift?
       - Role must have required HyperShift permissions
       - Example: arn:aws
    
Полный SKILL.md на GitHub

Установить hcp-create-aws в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл hcp-create-aws?

Use this skill when you need to deploy HyperShift clusters on AWS infrastructure with proper STS credentials, IAM roles, and VPC configuration

Как установить скилл hcp-create-aws?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл hcp-create-aws запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить hcp-create-aws с