Files
2025-06-04 12:31:09 +02:00
..
2025-06-04 12:31:09 +02:00
2025-06-04 12:31:09 +02:00

AWS Example

Example configuration for deploying Kamaji node pools on AWS using Auto Scaling Groups.

Usage

  1. Copy and customize:

    cp example.tf main.tf
    # Edit main.tf with your configuration
    
  2. Set AWS credentials:

    export AWS_ACCESS_KEY_ID="your-access-key"
    export AWS_SECRET_ACCESS_KEY="your-secret-key"
    
  3. Deploy:

    terraform init
    terraform apply
    

Configuration

Update the following in main.tf:

  • tenant_cluster_name - Your Kamaji tenant cluster name
  • kubeconfig_path - Path to your tenant cluster kubeconfig
  • aws_region and aws_zones - Your target AWS region and zones
  • ami_id - Ubuntu AMI ID for your region
  • Node pool specifications (instance type, size, etc.)

Requirements

  • Terraform >= 1.0
  • AWS CLI configured with appropriate permissions
  • Existing VPC with subnets
  • Valid kubeconfig for Kamaji tenant cluster