Documentation & API Reference

VibeInfra Developer Documentation

Production-grade cloud architecture blueprints, CLI syntax, and Infrastructure as Code guides.

1. OneInfra CLI Quickstart

OneInfra is the unified multi-cloud CLI for provisioning Kubernetes clusters, managing secrets, and orchestrating deployments across AWS and GCP.

bash
# Install OneInfra CLI on macOS / Linux
curl -fsSL https://vibeinfra.id/install.sh | sh

# Verify installation
oneinfra version

# Initialize multi-cloud Kubernetes cluster
oneinfra cluster init --provider aws --name vibe-prod-k8s

2. High-Availability Architecture

All VibeInfra blueprints follow multi-region, zero-downtime deployment patterns with automated failover and SLO monitoring.

📐 Architecture Principle: Control planes are isolated in dedicated private VPC subnets with NAT gateways, while ingress controllers handle edge SSL termination.

3. Hardened Terraform & OpenTofu Modules

Deploy security-hardened infrastructure using our audited HCL modules for AWS EKS and GCP GKE.

hcl
module "vibe_cluster" {
  source  = "vibeinfra/eks/aws"
  version = "~> 2.4.0"

  cluster_name    = "vibe-production"
  cluster_version = "1.30"
  vpc_id          = module.vpc.vpc_id
  subnet_ids      = module.vpc.private_subnets

  node_groups = {
    general = {
      instance_types = ["t3.xlarge"]
      min_size       = 3
      max_size       = 10
    }
  }
}

4. Enterprise Helm Charts

Add our official Helm repository to deploy pre-configured microservices with automated horizontal pod autoscalers (HPA).

bash
# Add VibeInfra Helm Repository
helm repo add vibeinfra https://charts.vibeinfra.id
helm repo update

# Install Core Stack
helm install vibe-stack vibeinfra/core-suite --namespace vibeinfra --create-namespace

5. Prometheus & Grafana Observability

Out-of-the-box observability with pre-built Grafana dashboards for Kubernetes node metrics, container CPU/RAM usage, and HTTP error rates.

6. Security & Cost Optimization

Built-in CIS benchmarks, automated IAM policy least-privilege checks, and spot instance scaling policies that reduce cloud spend by up to 60%.