-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathschema.yaml
543 lines (481 loc) · 14.1 KB
/
schema.yaml
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
title: Oracle E Business Suite
description: Provisions infrastructure to install Oracle E Business Suite
informationalText: "The Resource Manager Stack just creates the infrastructure components (compute, database, load balancer etc). E Business Suite software is required to be installed manually."
schemaVersion: 1.1.0
version: "20200822"
locale: "en"
variableGroups:
- title: "Availability Domain(s)"
visible: true
variables:
- AD
- title: "Network Configuration"
visible: true
variables:
- vcn_compartment_ocid
- vcn_cidr
- vcn_dns_label
- title: "SSH Keys and Server Timezone"
visible: true
variables:
- bastion_ssh_public_key
- ssh_public_key
- timezone
- title: "Application Configuration"
visible: true
variables:
- compartment_ocid
- ebs_env_prefix
- ebs_app_instance_count
- linux_os_version
- ebs_app_instance_shape
- ebs_app_boot_volume_size_in_gb
- ebs_app_block_volume_size_in_gb
- ebs_app_block_volume_mount_path
- ebs_app_block_volume_vpus_per_gb
- ebs_shared_filesystem
- ebs_shared_filesystem_mount_path
- ebs_shared_filesystem_size_limit_in_gb
- ebs_app_instance_listen_port
- title: "Database Configuration"
visible: true
variables:
- ebs_database_required
- db_name
- db_pdb_name
- db_admin_password
- db_version
- db_edition
- db_license_model
- db_node_count
- db_instance_shape
- db_size_in_gb
- db_characterset
- db_nls_characterset
- title: "Load Balancer Configuration"
visible: true
variables:
- load_balancer_private
- load_balancer_hostname
- load_balancer_shape
- load_balancer_listen_port
- title: "Tags"
visible: true
variables:
- freeform_tags
variables:
# Hidden variables
tenancy_ocid:
title: Tenancy ID
description: The Oracle Cloud Identifier (OCID) for your tenancy
type: string
required: true
visible: false
region:
title: Region
description: The region in which to create all resources
type: oci:identity:region:name
required: true
visible: false
user_ocid:
title: User ID
description: The Oracle Cloud Identifier (OCID) for the user
type: string
visible: false
fingerprint:
title: Private Key Fingerprint
type: string
visible: false
private_key_path:
title: Private Key Path
type: string
visible: false
AD:
title: Availability Domain(s)
description: Availability Domain for Oracle EBS Infrastructure Provisioning.Setting AD = ["1"] provisions infrastructure in single availability domain (Availabilty domain 1 of the tenancy) and setting AD = ["1","2"] provisions infrastructure in multiple availability domains (Availability domains 1 and 2 of the tenancy).
type: array
visible: true
required: true
vcn_compartment_ocid:
title: Virtual Cloud Network Compartment
description: The target compartment to create network.
type: oci:identity:compartment:id
required: true
visible: true
vcn_cidr:
title: Virtual Cloud Network CIDR
visible: true
type: enum
enum:
- 172.16.0.0/16
- 10.0.0.0/16
- 192.168.0.0/16
default: 172.16.0.0/16
required: true
vcn_dns_label:
title: Virtual Cloud Network DNS Label
type: string
required: true
default: ebsvcn
visible: true
timezone:
type: string
title: Timezone of Compute and Database System(s)
description: The timezone of compute and database system nodes
visible: true
required: true
# General Configuration
ebs_env_prefix:
title: Resource Display Name Prefix
description: Prefix to generate hostname for compute, network and database resources.
type: string
maxLength: 3
pattern: "^([a-z][a-z0-9]{0,2})$"
default: "ebs"
required: true
compartment_ocid:
title: Target Compartment
description: The target compartment to provision application compute instances.
type: oci:identity:compartment:id
required: true
visible: true
ebs_app_instance_count:
title: Number of application Node(s)
description: Minimum required is 1
type: integer
minimum: 1
maximum: 4
default: 1
required: true
visible: true
ebs_app_instance_shape:
title: Application Instance Shape
description: The shape for the Application compute instance.
type: enum
visible: true
default: "VM.Standard2.1"
enum:
- "VM.Standard2.1"
- "VM.Standard2.2"
- "VM.Standard2.4"
- "VM.Standard2.8"
- "VM.Standard2.16"
- "VM.Standard2.24"
required: true
ebs_app_boot_volume_size_in_gb:
type: integer
title: Boot Volume size (in GB)
description: The size of the boot volume. Minimum required is 50 GB
minimum: 50
maximum: 32768
multipleof: 1
visible: true
default: 100
required: true
ebs_app_block_volume_size_in_gb:
type: integer
title: Block Volume size (in GB)
description: The size of the block volume. Minimum required is 50 GB
minimum: 50
maximum: 32768
multipleof: 1
visible: true
default: 100
required: true
ebs_app_block_volume_vpus_per_gb:
title: Block Volume Performance
description: 0 is Lower Cost, 10 is Balanced and 20 is Higher Performance option
visible: true
type: enum
enum:
- 0
- 10
- 20
default: 0
required: true
ebs_app_block_volume_mount_path:
title: Block Volume Filesystem mount path
description: EBS Block Volume Filesystem mount path
type: string
default: /u02
visible: true
required: true
ebs_app_instance_listen_port:
title: Listen port for application Instance
description: Listen port for application Instance
type: string
maxLength: 4
pattern: "^([0-9][0-9]{0,3})$"
default: 8000
visible: true
required: true
ebs_shared_filesystem_mount_path:
title: Shared Filesystem path
description: EBS Shared Filesystem path
type: string
default: /u01/install/APPS
visible: true
ebs_shared_filesystem_size_limit_in_gb:
title: Shared Filesystem Size Limit
description: EBS Shared Filesystem Size Limit in GB
type: string
default: 500
visible: false
ebs_database_required:
title: Create EBS database
description: Create EBS database system
type: boolean
default: false
visible: true
db_edition:
title: Database Edition
visible: ebs_database_required
type: enum
enum:
- ENTERPRISE_EDITION
- ENTERPRISE_EDITION_HIGH_PERFORMANCE
- ENTERPRISE_EDITION_EXTREME_PERFORMANCE
default: ENTERPRISE_EDITION_EXTREME_PERFORMANCE
required: true
db_license_model:
title: Database License
visible: ebs_database_required
type: enum
enum:
- LICENSE_INCLUDED
- BRING_YOUR_OWN_LICENSE
default: LICENSE_INCLUDED
required: true
db_version:
title: Database Version
visible: ebs_database_required
type: enum
enum:
- 12.1.0.2
- 11.2.0.4
default: 12.1.0.2
required: true
db_node_count:
title: Number of Database Nodes
description: Select 2 for High Availability
visible: ebs_database_required
type: enum
enum:
- 1
- 2
default: 2
required: true
db_instance_shape:
title: Database Instance Shape
description: The shape for the DB instance.
type: oci:core:instanceshape:name
visible: ebs_database_required
default: VM.Standard2.2
required: true
dependsOn:
compartmentId: compartment_ocid
db_name:
title: Database Container Name
description: The name of the CDB.
type: string
maxlength: 8
pattern: "(^[a-zA-Z][a-zA-Z0-9_]{0,7})$"
visible: ebs_database_required
default: EBSCDB
required: true
db_size_in_gb:
title: Database Size in GB
description: Database size in GB
visible: ebs_database_required
type: enum
enum:
- 256
- 512
- 1024
- 2048
- 4096
- 8192
- 10240
- 12288
- 14336
- 16384
- 18432
- 20480
- 22528
- 24576
- 26624
- 28672
- 30720
- 32768
- 34816
- 36864
- 38912
- 40960
default: 256
required: true
db_admin_password:
title: Database Admin User Password
description: "The password for the database. Password must be 9 to 30 characters and contain at least 2 uppercase, 2 lowercase, 2 special, and 2 numeric characters. The special characters must be _, #, or -. For example, XYh1z0#_d"
type: password
pattern: "^(?=.*[a-z].*[a-z])(?=.*[A-Z].*[A-Z])(?=.*\\d.*\\d)(?=.*[-_#].*[-_#])[a-zA-Z0-9\\S]{9,32}$"
required: true
visible: ebs_database_required
db_characterset:
type: string
visible: ebs_database_required
default: AL32UTF8
required: true
db_nls_characterset:
type: string
visible: ebs_database_required
default: AL16UTF16
required: true
db_pdb_name:
title: Database PDB Name
description: The name of the PDB.
type: string
maxlength: 8
pattern: "(^[a-zA-Z][a-zA-Z0-9_]{0,7})$"
visible: ebs_database_required
default: EBSDB
required: true
load_balancer_private:
title: Private Load Balancer
description: Create a private load balancer for internal application endpoints
type: boolean
default: false
visible: true
load_balancer_hostname:
title: Load Balancer Hostname
description: Hostname of Load Balancer
type: string
default: ebs.mycompany.com
visible: true
required: true
load_balancer_shape:
title: Load Balancer Shape
description: Select load balancer shape.
type: enum
enum:
- 10Mbps
- 100Mbps
- 400Mbps
- 8000Mbps
default: 100Mbps
visible: true
required: true
load_balancer_listen_port:
title: Load Balancer Listen port
description: The listener port for load balanacer
type: string
maxLength: 4
pattern: "^([0-9][0-9]{0,3})$"
default: 80
visible: true
required: true
db_backup_recovery_window:
title: DB Backup Recovery Window in Days
visible: false
type: enum
enum:
- 7
- 15
- 30
- 45
- 60
default: 30
required: false
bastion_instance_shape:
title: Bastion instance shape
type: string
visible: false
default: "VM.Standard2.1"
ssh_public_key:
type: oci:core:ssh:publickey
title: "Public Key for Compute and Database System(s)"
description: "Public SSH key to be included in the ~/.ssh/authorized_keys file for the opc user on the instance"
additionalProps:
allowMultiple: false
pattern: "((^(ssh-rsa AAAAB3NzaC1yc2|ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNT|ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzOD|ecdsa-sha2-nistp521 AAAAE2VjZHNhLXNoYTItbmlzdHA1MjEAAAAIbmlzdHA1Mj|ssh-ed25519 AAAAC3NzaC1lZDI1NTE5|ssh-dss AAAAB3NzaC1kc3)[0-9A-Za-z+\/]+[=]{0,3})( [^,]*)?)(,((ssh-rsa AAAAB3NzaC1yc2|ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNT|ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzOD|ecdsa-sha2-nistp521 AAAAE2VjZHNhLXNoYTItbmlzdHA1MjEAAAAIbmlzdHA1Mj|ssh-ed25519 AAAAC3NzaC1lZDI1NTE5|ssh-dss AAAAB3NzaC1kc3)[0-9A-Za-z+\/]+[=]{0,3})( [^,]*)?)*$"
required: true
visible: true
bastion_ssh_public_key:
type: oci:core:ssh:publickey
title: "SSH public key for Bastion Host"
description: The deployment creates application and database instances in private subnets. To access these instances, a bastion host is created using VMStandard2.1 shape.
additionalProps:
allowMultiple: false
pattern: "((^(ssh-rsa AAAAB3NzaC1yc2|ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNT|ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzOD|ecdsa-sha2-nistp521 AAAAE2VjZHNhLXNoYTItbmlzdHA1MjEAAAAIbmlzdHA1Mj|ssh-ed25519 AAAAC3NzaC1lZDI1NTE5|ssh-dss AAAAB3NzaC1kc3)[0-9A-Za-z+\/]+[=]{0,3})( [^,]*)?)(,((ssh-rsa AAAAB3NzaC1yc2|ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNT|ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzOD|ecdsa-sha2-nistp521 AAAAE2VjZHNhLXNoYTItbmlzdHA1MjEAAAAIbmlzdHA1Mj|ssh-ed25519 AAAAC3NzaC1lZDI1NTE5|ssh-dss AAAAB3NzaC1kc3)[0-9A-Za-z+\/]+[=]{0,3})( [^,]*)?)*$"
required: true
visible: false
bastion_user:
title: Bastion user
description: bastion user
type: string
default: opc
visible: false
compute_instance_user:
title: Compute Instance user
description: The deployment creates application and database instances in private subnets. To access these instances, a bastion host is created using VMStandard2.1 shape. Bastion host VM can be deleted if infrastructure needs to accessed from on-premise using VPN/Fastconnect
type: string
default: opc
visible: false
InstanceOS:
title: Instance os
description: Operating system of bastion host
type: string
visible: false
linux_os_version:
title: Operation system version
description: Operating system (Oracle Linux) version for application instance(s).
visible: true
type: enum
enum:
- "6.10"
- "7.8"
default: "7.8"
required: true
database_autobackup_enabled:
type: string
visible: false
database_autobackup_recovery_window:
type: string
visible: false
timeout:
type: string
visible: false
image_id:
type: map
visible: false
freeform_tags:
type: string
visible: true
outputGroups:
- title: Outputs
outputs:
- BastionPublicIPs
- ApplicationPrivateIPs
- FSSDetails
- DatabaseSystemConnectionString
- LoadBalancerIP
outputs:
BastionPublicIPs:
title: "Bastion Host Details"
type: string
visible: true
ApplicationPrivateIPs:
title: "Application Server Details"
type: string
visible: true
FSSDetails:
title: "Shared Filesystem(FSS) Details"
type: string
visible: true
DatabaseSystemConnectionString:
title: "Database Connection String"
type: string
visible: true
LoadBalancerIP:
title: "Load Balancer Details"
type: string
visible: true