Skip to content

1539 - Cloud Deploy Config

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

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

  # Compute resources
  compute: {
    instance_type: "Standard_B2s"
    count: 5
    auto_scaling: {
      enabled: true
      min: 2
      max: 20
      target_cpu: 60
    }
  }

  storage: {
    type: "hdd"
    size_gb: 292
    encrypted: true
  }

  networking: {
    vpc: "vpc-0cf3f6ff"
    subnet: "10.201.0.0/16"
    public_ip: true
  }
}

See Also