vastai-enterprise-rbac

Solid

Implement team access control and spending governance for Vast.ai GPU cloud. Use when managing multi-team GPU access, implementing spending controls, or setting up API key separation for different teams. Trigger with phrases like "vastai team access", "vastai RBAC", "vastai enterprise", "vastai spending controls", "vastai permissions".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Vast.ai Enterprise RBAC ## Overview Control access to Vast.ai GPU instances and spending through API key management, team-level budgets, and GPU allocation policies. Vast.ai uses a marketplace model with per-GPU-hour pricing (RTX 4090 ~$0.20/hr, A100 ~$1.50/hr, H100 ~$3.00/hr). ## Prerequisites - Vast.ai account(s) with API keys - Understanding of team GPU usage patterns - Budget allocation per team/project ## Instructions ### Step 1: Team API Key Strategy ```python # Separate API keys per team for billing isolation # Option A: Separate Vast.ai accounts per team # Option B: Single account with application-level controls TEAM_CONFIGS = { "ml-research": { "api_key_env": "VASTAI_KEY_RESEARCH", "gpu_whitelist": ["A100", "H100_SXM"], "max_instances": 8, "daily_budget": 200.00, "max_dph": 4.00, }, "ml-engineering": { "api_key_env": "VASTAI_KEY_ENGINEERING", "gpu_whitelist": ["RTX_4090", "A100"], "max_instances": 4, "daily_budget": 50.00, "max_dph": 2.00, }, "data-science": { "api_key_env": "VASTAI_KEY_DATASCIENCE", "gpu_whitelist": ["RTX_4090", "RTX_3090"], "max_instances": 2, "daily_budget": 10.00, "max_dph": 0.30, }, } ``` ### Step 2: Policy Enforcement Layer ```python class VastPolicyEnforcer: def __init__(self, team_config): self.config = team_config self.client = VastClient(api_key=os.environ[team_config["...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

vastai-multi-env-setup

Configure Vast.ai GPU cloud across dev, staging, and production environments. Use when isolating GPU pools per team, managing API key separation by env, or implementing spending controls per deployment tier. Trigger with phrases like "vastai environments", "vastai staging", "vastai dev prod", "vastai multi-env".

2,266 Updated today
jeremylongshore
AI & Automation Solid

vastai-security-basics

Apply Vast.ai security best practices for API keys and instance access. Use when securing API keys, hardening SSH access to GPU instances, or auditing Vast.ai security configuration. Trigger with phrases like "vastai security", "vastai secrets", "secure vastai", "vastai API key security", "vastai ssh security".

2,266 Updated today
jeremylongshore
AI & Automation Solid

vastai

Vast.ai CLI to manage GPU instances, volumes, serverless endpoints, and billing.

194 Updated yesterday
vast-ai
AI & Automation Solid

vastai-install-auth

Install and configure Vast.ai CLI and REST API authentication. Use when setting up a new Vast.ai integration, configuring API keys, or initializing Vast.ai GPU cloud access in your project. Trigger with phrases like "install vastai", "setup vastai", "vastai auth", "configure vastai API key", "vastai gpu setup".

2,266 Updated today
jeremylongshore
AI & Automation Solid

vast-gpu

Rent, manage, and destroy GPU instances on vast.ai. Use when user says "rent gpu", "vast.ai", "rent a server", "cloud gpu", or needs on-demand GPU without owning hardware.

11,051 Updated today
wanshuiyin