---
azs:
- name: z1
  cloud_properties:
    zone: zone

vm_types:
- name: concourse-web-small
  cloud_properties:
    machine_type: n1-standard-1
    root_disk_size_gb: 20
    root_disk_type: pd-ssd

- name: concourse-web-medium
  cloud_properties:
    machine_type: n1-standard-2
    root_disk_size_gb: 20
    root_disk_type: pd-ssd

- name: concourse-web-large
  cloud_properties:
    machine_type: n1-standard-4
    root_disk_size_gb: 20
    root_disk_type: pd-ssd

- name: concourse-web-xlarge
  cloud_properties:
    machine_type: n1-standard-8
    root_disk_size_gb: 20
    root_disk_type: pd-ssd

- name: concourse-web-2xlarge
  cloud_properties:
    machine_type: n1-standard-16
    root_disk_size_gb: 20
    root_disk_type: pd-ssd

- name: concourse-medium
  cloud_properties:
    machine_type: n1-standard-1 
    preemptible: true # 
    root_disk_size_gb: 200
    root_disk_type: pd-ssd

- name: concourse-large
  cloud_properties:
    machine_type: n1-standard-2 
    preemptible: true # 
    root_disk_size_gb: 200
    root_disk_type: pd-ssd

- name: concourse-xlarge
  cloud_properties:
    machine_type: n1-standard-4 
    preemptible: true # 
    root_disk_size_gb: 200
    root_disk_type: pd-ssd

- name: concourse-2xlarge
  cloud_properties:
    machine_type: n1-standard-8 
    preemptible: true # 
    root_disk_size_gb: 200
    root_disk_type: pd-ssd

- name: concourse-4xlarge
  cloud_properties:
    machine_type: n1-standard-16 
    preemptible: true # 
    root_disk_size_gb: 200
    root_disk_type: pd-ssd

- name: concourse-10xlarge
  cloud_properties:
    machine_type: n1-standard-32 
    preemptible: true # 
    root_disk_size_gb: 200
    root_disk_type: pd-ssd

- name: concourse-16xlarge
  cloud_properties:
    machine_type: n1-standard-64 
    preemptible: true # 
    root_disk_size_gb: 200
    root_disk_type: pd-ssd

- name: compilation
  cloud_properties:
    machine_type: n1-standard-2 
    preemptible: true # 
    root_disk_size_gb: 5
    root_disk_type: pd-ssd

disk_types:
- name: default
  disk_size: 50_000
  cloud_properties:
    type: pd-ssd
- name: large
  disk_size: 200_000
  cloud_properties:
    type: pd-ssd

networks:
- name: public
  type: manual
  subnets:
  - range: public_cidr
    gateway: public_cidr_gateway
    az: z1
    static: public_cidr_static
    reserved: public_cidr_reserved
    cloud_properties:
      network_name: network
      subnetwork_name: public_subnetwork
- name: private
  type: manual
  subnets:
  - range: private_cidr
    gateway: private_cidr_gateway
    az: z1
    reserved: private_cidr_reserved
    cloud_properties:
      network_name: network
      subnetwork_name: private_subnetwork
      tags: [no-ip]
- name: vip
  type: vip

vm_extensions:
- name: atc

compilation:
  workers: 5
  reuse_compilation_vms: true
  az: z1
  vm_type: compilation
  network: private
