Skip to content

028 - Cloud Deploy Config

Cloud deployment infrastructure configuration. This is an example of a MAML document.

maml
{
  provider: "gcp"
  region: "us-east-1"

  # Compute resources
  compute: {
    instance_type: "e2-standard-4"
    count: 4
    auto_scaling: {
      enabled: true
      min: 1
      max: 12
      target_cpu: 51
    }
  }

  storage: {
    type: "nvme"
    size_gb: 127
    encrypted: true
  }

  networking: {
    vpc: "vpc-cddf6c8f"
    subnet: "10.134.0.0/16"
    public_ip: true
  }
}

See Also