Skip to content

3028 - Cloud Deploy Config

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

maml
{
  provider: "digitalocean"
  region: "ap-southeast-1"

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

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

  networking: {
    vpc: "vpc-4b1a9bda"
    subnet: "10.168.0.0/16"
    public_ip: true
  }
}

See Also