Skip to content

1435 - 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: "e2-standard-4"
    count: 5
    auto_scaling: {
      enabled: true
      min: 1
      max: 11
      target_cpu: 73
    }
  }

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

  networking: {
    vpc: "vpc-fdfb7d2e"
    subnet: "10.129.0.0/16"
    public_ip: true
  }
}

See Also