-
Notifications
You must be signed in to change notification settings - Fork 7
/
machines-v2.yml
129 lines (129 loc) · 2.99 KB
/
machines-v2.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
aws:
tags:
cluster_name: Demo-Infra
created_by: edb-terraform
images:
rocky:
name: Rocky-9-EC2-Base-9.3-*.x86_64
owner: 679593333241
ssh_user: rocky
debian:
name: debian-12-amd64
owner: 136693071363
ssh_user: admin
ubuntu-amd64:
name: ubuntu/*/ubuntu-jammy-22.04-amd64-server-
owner: 099720109477
ssh_user: ubuntu
ubuntu-arm64:
name: ubuntu/*/ubuntu-jammy-22.04-arm64-server-
owner: 099720109477
ssh_user: ubuntu
regions:
us-west-2:
cidr_block: 10.2.0.0/16
zones:
proxy:
zone: us-west-2b
cidr: 10.2.20.0/24
main:
zone: us-west-2a
cidr: 10.2.30.0/24
ports:
- port: 22
defaults: 'service'
protocol: tcp
description: "SSH"
type: ingress
cidrs:
- 0.0.0.0/0
- port: 443
defaults: 'public'
protocol: tcp
description: "HTTPS"
- port: 22
to_port: 65
defaults: 'internal'
protocol: tcp
description: "ranges"
machines:
dbt2_driver:
spot: true
image_name: debian
region: us-west-2
zone_name: proxy
instance_type: t3a.medium
volume:
type: gp2
size_gb: 50
iops: 5000
encrypted: false
# Some cloud instances come with preattached volumes.
# Define preattached_volumes to create an lvm physical/group volume and its mount points.
#preattached_volumes:
# required: false
# volume_group: "sample"
# mount_points:
# /opt/testing:
# size: 100%FREE
# filesystem: xfs
# mount_options:
# - noatime
tags:
type: dbt2-driver
pg1:
count: 2
image_name: rocky
region: us-west-2
zone_name: main
ports:
- protocol: icmp
description: "ping"
cidrs:
- 10.2.20.0/24
instance_type: t3a.medium
volume:
type: gp2
size_gb: 50
iops: 5000
encrypted: false
jbod_volumes:
0:
type: gp2
size_gb: 100
encrypted: false
1:
type: gp2
size_gb: 100
encrypted: false
additional_volumes:
- count: 4
size_gb: 20
type: gp3
iops: 4000
throughput: 1000
encrypted: false
volume_group: data
- size_gb: 20
type: gp2
iops: 5000
encrypted: false
volume_group: other
- mount_point: /opt/test
size_gb: 20
type: gp2
iops: 5000
encrypted: false
filesystem: xfs
volume_groups:
data:
/opt/data0:
size: "50%FREE"
filesystem: xfs
/opt/data1:
size: "50%FREE"
filesystem: xfs
other:
/opt/data2: {}
tags:
type: postgres