Skip to content
cccskills
FreePublished on GitHub

hypershift:quotas

Check AWS service quotas and usage before creating HyperShift clusters. Shows capacity for VPCs, NAT gateways, Elastic IPs, and more.

The English summary is being prepared. Showing the original description.

rossoctl/rossoctl303 stars(GitHub 303 + cccskills 0)
Works withAWS

Run score Not tested

See how to install

Files included (1)

  • SKILL.md4.2 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

AWS Quotas Check Skill

Check AWS service quotas and current usage to plan HyperShift cluster capacity.

When to Use

  • Before creating new HyperShift clusters
  • Capacity planning for parallel CI runs
  • Debugging "quota exceeded" errors
  • User asks "check quotas" or "can I create more clusters"

Quick Check

# Check all quotas and usage
./.github/scripts/hypershift/check-quotas.sh

Output shows:

  • VPC Resources (VPCs, Internet Gateways, NAT Gateways, Elastic IPs)
  • EC2 Resources (Running instances, Security Groups, Launch Templates)
  • Load Balancer Resources (NLBs, Target Groups)
  • S3 Resources (Buckets)
  • IAM Resources (Roles, Instance Profiles)
  • Route53 Resources (Hosted Zones)

Request Quota Increases

# Request increases for quotas below recommended levels
./.github/scripts/hypershift/check-quotas.sh --request-increases

Key Quotas for HyperShift

Each HyperShift cluster typically requires:

ResourcePer ClusterDefault QuotaRecommended
VPCs155+
NAT Gateways3 (per AZ)515+
Elastic IPs3 (for NATs)515+
Security Groups~1050050+
NLBs1-25010+
IAM Roles~530050+
Route53 Zones1-250010+

Quota Status Interpretation

Output colors:

  • Green: <60% used (healthy)
  • Yellow: 60-80% used (monitor)
  • Red: >80% used (action needed)

Recommended warnings show when quota is below suggested minimum.

Manual Quota Check

# VPCs
aws ec2 describe-vpcs --query 'Vpcs | length(@)'

# NAT Gateways (active only)
aws ec2 describe-nat-gateways \
    --filter "Name=state,Values=available,pending" \
    --query 'NatGateways | length(@)'

# Elastic IPs
aws ec2 describe-addresses --query 'Addresses | length(@)'

# Security Groups
aws ec2 describe-security-groups --query 'SecurityGroups | length(@)'

# Running Instances
aws ec2 describe-instances \
    --filters "Name=instance-state-name,Values=running,pending" \
    --query 'Reservations[*].Instances | length(@)'

Service Quota API

# Get specific quota
aws service-quotas get-service-quota \
    --service-code vpc \
    --quota-code L-F678F1CE \
    --query 'Quota.Value'

# Common quota codes:
# VPCs:              vpc / L-F678F1CE
# NAT Gateways:      vpc / L-FE5A380F
# Elastic IPs:       ec2 / L-0263D0A3
# Security Groups:   ec2 / L-0EA8095F
# NLBs:              elasticloadbalancing / L-69A177A2

Request Quota Increase Manually

# Request quota increase
aws service-quotas request-service-quota-increase \
    --service-code vpc \
    --quota-code L-FE5A380F \
    --desired-value 20 \
    --region us-east-1

Troubleshooting Quota Issues

"VpcLimitExceeded"

# Check VPC count and limit
aws ec2 describe-vpcs --query 'Vpcs | length(@)'
./.github/scripts/hypershift/check-quotas.sh | grep -A2 "VPC Resources"

# Delete unused VPCs (carefully!)
aws ec2 describe-vpcs --query 'Vpcs[*].[VpcId,Tags[?Key==`Name`].Value|[0]]' --output table

"AddressLimitExceeded"

# Find unused Elastic IPs
aws ec2 describe-addresses \
    --query 'Addresses[?AssociationId==`null`].[AllocationId,PublicIp]' \
    --output table

# Release unused EIPs
aws ec2 release-address --allocation-id <allocation-id>

"NatGatewayLimitExceeded"

# Find orphaned NAT Gateways
aws ec2 describe-nat-gateways \
    --filter "Name=state,Values=available" \
    --query 'NatGateways[*].[NatGatewayId,State,VpcId]' \
    --output table

CI Parallel Run Capacity

For CI with parallel HyperShift runs, plan quotas:

Parallel RunsNAT GatewaysElastic IPsVPCs
1552
2883
312124
415155

Add buffer for failed cleanups that may leave orphaned resources.

Related Skills

  • hypershift:cluster: Create and destroy clusters
  • hypershift:debug: Debug stuck resources
  • hypershift:preflight: Full pre-flight check

Related Documentation

  • .github/scripts/local-setup/README.md - Local setup documentation

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

auth

Free

Authentication and authorization patterns for Rossoctl services

The English summary is being prepared. Showing the original description.

rossoctl/rossoctl303Updated Oct 25, 2026

Create confidential OAuth2 clients in Keycloak for server-to-service authentication

The English summary is being prepared. Showing the original description.

rossoctl/rossoctl303Updated Oct 25, 2026

Configure MLflow with mlflow-oidc-auth plugin for Keycloak OIDC authentication

The English summary is being prepared. Showing the original description.

rossoctl/rossoctl303Updated Oct 25, 2026

Configure OpenTelemetry Collector with OAuth2 authentication for trace export

The English summary is being prepared. Showing the original description.

rossoctl/rossoctl303Updated Oct 25, 2026

ci

Free

CI pipeline monitoring, status checks, and PR validation workflows

The English summary is being prepared. Showing the original description.

rossoctl/rossoctl303Updated Oct 25, 2026

Monitor running CI jobs, wait for completion, create tasks for results

The English summary is being prepared. Showing the original description.

rossoctl/rossoctl303Updated Oct 25, 2026

See all skills by rossoctl

Report a problem with this skill