Skip to content

123 - Cloud Deploy Config

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

maml
{
  provider: "digitalocean"
  region: "eu-west-1"

  # Compute resources
  compute: {
    instance_type: "t3.medium"
    count: 6
    auto_scaling: {
      enabled: true
      min: 2
      max: 5
      target_cpu: 67
    }
  }

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

  networking: {
    vpc: "vpc-8aa2eacc"
    subnet: "10.177.0.0/16"
    public_ip: false
  }
}

See Also