-
Notifications
You must be signed in to change notification settings - Fork 1
/
CF_F5_1NIC_CIS_K8s_HipsterShop.json
3191 lines (3007 loc) · 172 KB
/
CF_F5_1NIC_CIS_K8s_HipsterShop.json
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
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"AWSTemplateFormatVersion": "2010-09-09",
"Description": "**WARNING** This template creates a new VPC and all necessary AWS Resources including EC2 Instances. You will be billed by AWS for the AWS Resources used if you create a stack from this template.",
"Mappings": {
"IPAddress": {
"VPC": {
"PreFix": "10.1"
},
"K8sNode": {
"InFix": "1"
},
"K8sMaster1": {
"SufFix": "11"
},
"K8sWorker1": {
"SufFix": "101"
},
"K8sWorker2": {
"SufFix": "102"
},
"K8sWorker3": {
"SufFix": "103"
},
"K8sWorker4": {
"SufFix": "104"
},
"K8sWorker5": {
"SufFix": "105"
},
"K8sWorker6": {
"SufFix": "106"
},
"K8sWorker7": {
"SufFix": "107"
},
"K8sWorker8": {
"SufFix": "108"
},
"K8sWorker9": {
"SufFix": "109"
},
"BigIP": {
"SufFix": "245"
},
"K8sPod": {
"CIDR": "10.244.0.0/16"
},
"K8sService": {
"CIDR": "10.96.0.0/12"
}
},
"Name": {
"Domain": {
"PreFix": "hipster"
}
},
"RegionAMI": {
"af-south-1": {
"ubuntu1804amd64": "ami-075520a13dc442833",
"ubuntu1804arm64": "ami-06aa574bdb0802086",
"ubuntu2004amd64": "ami-0c85b1d3c76beeb34",
"ubuntu2004arm64": "ami-0bc3e054e358e0568"
},
"ap-east-1": {
"ubuntu1804amd64": "ami-0a4e8c6468d92c210",
"ubuntu1804arm64": "ami-05b55058097a955d7",
"ubuntu2004amd64": "ami-0cb175a4bd5e1857b",
"ubuntu2004arm64": "ami-028fd3ee5bf847e2a"
},
"ap-northeast-1": {
"ubuntu1804amd64": "ami-0620ef6ee255ea559",
"ubuntu1804arm64": "ami-0588207319c85e253",
"ubuntu2004amd64": "ami-03f396733f38d658b",
"ubuntu2004arm64": "ami-0e08732bb3f9ad0eb"
},
"ap-south-1": {
"ubuntu1804amd64": "ami-0c0490c60db84298f",
"ubuntu1804arm64": "ami-0d69d4a1644d0352f",
"ubuntu2004amd64": "ami-0c1566e39d136b269",
"ubuntu2004arm64": "ami-0d12ee8d98a5d85b1"
},
"ap-southeast-1": {
"ubuntu1804amd64": "ami-09b5aaebc21c273eb",
"ubuntu1804arm64": "ami-07a30331c4ec37164",
"ubuntu2004amd64": "ami-084009f26f70a7c0b",
"ubuntu2004arm64": "ami-066c736541a61c4a0"
},
"ca-central-1": {
"ubuntu1804amd64": "ami-05c0545bdc0bbff91",
"ubuntu1804arm64": "ami-08a20fcaf44b82721",
"ubuntu2004amd64": "ami-0fc1738fbeaf067cf",
"ubuntu2004arm64": "ami-0c316e78a547892a5"
},
"eu-central-1": {
"ubuntu1804amd64": "ami-08db015a4afd75546",
"ubuntu1804arm64": "ami-04b1b136efb7988cf",
"ubuntu2004amd64": "ami-078ca7285317cfe91",
"ubuntu2004arm64": "ami-0989c7c523fe5753d"
},
"eu-north-1": {
"ubuntu1804amd64": "ami-05916395833cb9690",
"ubuntu1804arm64": "ami-033b5653d52eb5a16",
"ubuntu2004amd64": "ami-0f7828a9c19ff4a9e",
"ubuntu2004arm64": "ami-0b86cecfc8176e5af"
},
"eu-south-1": {
"ubuntu1804amd64": "ami-03839a9ab91b19abc",
"ubuntu1804arm64": "ami-024a00245ef0a590d",
"ubuntu2004amd64": "ami-07bb6ad16aa5572c5",
"ubuntu2004arm64": "ami-05bd368a90e3e7cfa"
},
"eu-west-1": {
"ubuntu1804amd64": "ami-0f5b07b31937d4275",
"ubuntu1804arm64": "ami-091303fb47b39c631",
"ubuntu2004amd64": "ami-06c5b2809791cf59c",
"ubuntu2004arm64": "ami-0de2831d62e664a4e"
},
"me-south-1": {
"ubuntu1804amd64": "ami-019ba1b47cfb5211e",
"ubuntu1804arm64": "ami-07ecba43392157832",
"ubuntu2004amd64": "ami-003956846b724fede",
"ubuntu2004arm64": "ami-0830333f3a3b8d188"
},
"sa-east-1": {
"ubuntu1804amd64": "ami-092dc94ff1b65b5c2",
"ubuntu1804arm64": "ami-012575a8937727318",
"ubuntu2004amd64": "ami-045a803b4a81b4175",
"ubuntu2004arm64": "ami-00f68a640b5dff2c3"
},
"us-east-1": {
"ubuntu1804amd64": "ami-0e4d932065378fd3d",
"ubuntu1804arm64": "ami-09ecbfbe7ab087fb0",
"ubuntu2004amd64": "ami-01de8ddb33de7a3d3",
"ubuntu2004arm64": "ami-0b46d8cdf02223688"
},
"us-west-1": {
"ubuntu1804amd64": "ami-05620e35978c63272",
"ubuntu1804arm64": "ami-014a389295a649304",
"ubuntu2004amd64": "ami-009c002b1cd1b34da",
"ubuntu2004arm64": "ami-04f175f1402a68daf"
},
"cn-north-1": {
"ubuntu1804amd64": "ami-04d2bfd6d1ad04148",
"ubuntu1804arm64": "ami-0bcd7be0127093ece",
"ubuntu2004amd64": "ami-0b6277ff0310832fb",
"ubuntu2004arm64": "ami-09c84bcb24385eae0"
},
"cn-northwest-1": {
"ubuntu1804amd64": "ami-035fe42779786b0d8",
"ubuntu1804arm64": "ami-0c82266e19d47a39f",
"ubuntu2004amd64": "ami-06ada3264ec0d22b4",
"ubuntu2004arm64": "ami-0a8775a41b35c0df8"
},
"us-gov-east-1": {
"ubuntu1804amd64": "ami-0448311ded7d81e94",
"ubuntu1804arm64": "ami-01126c6d455c129d2",
"ubuntu2004amd64": "ami-0cb7240ebe7a02450",
"ubuntu2004arm64": "ami-0ce79d6fa9e9a242e"
},
"us-gov-west-1": {
"ubuntu1804amd64": "ami-0b0e99fc26b846798",
"ubuntu1804arm64": "ami-0f69d8bba30708f42",
"ubuntu2004amd64": "ami-0777d7afb149b4542",
"ubuntu2004arm64": "ami-04a2f96ef9b12b2b1"
},
"ap-northeast-2": {
"ubuntu1804amd64": "ami-0f77aba17625db03b",
"ubuntu1804arm64": "ami-0ad9024ffcffc52ac",
"ubuntu2004amd64": "ami-09378a0a8e36fabc7",
"ubuntu2004arm64": "ami-004e60810746b7f8b"
},
"ap-southeast-2": {
"ubuntu1804amd64": "ami-0b643a2ce5f48199a",
"ubuntu1804arm64": "ami-0ca133384d447f902",
"ubuntu2004amd64": "ami-0ad3265c866331223",
"ubuntu2004arm64": "ami-0042eaf871ef4355b"
},
"eu-west-2": {
"ubuntu1804amd64": "ami-0a14509f661bf2964",
"ubuntu1804arm64": "ami-09740bfdcd34604a0",
"ubuntu2004amd64": "ami-0e312244e15c975b0",
"ubuntu2004arm64": "ami-07888f2a73d223060"
},
"us-east-2": {
"ubuntu1804amd64": "ami-063e88ad6c9af427d",
"ubuntu1804arm64": "ami-05bcce79c6ca98b65",
"ubuntu2004amd64": "ami-051d99278ba9fdc66",
"ubuntu2004arm64": "ami-00393c6b4ca02b918"
},
"us-west-2": {
"ubuntu1804amd64": "ami-0b7d93899b51ff83b",
"ubuntu1804arm64": "ami-0eef97ed575da67fa",
"ubuntu2004amd64": "ami-0fc272c9b2d204826",
"ubuntu2004arm64": "ami-0e96c6102dc1ebe17"
},
"ap-northeast-3": {
"ubuntu1804amd64": "ami-06947c2f8a47debf3",
"ubuntu1804arm64": "ami-0f35b44112e6373e6",
"ubuntu2004amd64": "ami-02a8547248b1cc18b",
"ubuntu2004arm64": "ami-02b41af1c35e46c89"
},
"eu-west-3": {
"ubuntu1804amd64": "ami-0b722faecb702e094",
"ubuntu1804arm64": "ami-0abc3ac76681fdf72",
"ubuntu2004amd64": "ami-08d3d8790db280475",
"ubuntu2004arm64": "ami-09970d0bbfea77f3e"
}
},
"BigIPRegionAMI": {
"ap-east-1": {
"AllOneBootLocation": "ami-01ecc0879799b5624",
"AllTwoBootLocations": "ami-06e2d384ab36eb36c",
"LTMOneBootLocation": "ami-0da676f9c723c957b",
"LTMTwoBootLocations": "ami-0a428608457879bc7"
},
"ap-northeast-1": {
"AllOneBootLocation": "ami-0f68dcd48835559d6",
"AllTwoBootLocations": "ami-01059c3f3325d9619",
"LTMOneBootLocation": "ami-0ce79d28aad2f8368",
"LTMTwoBootLocations": "ami-03df148064ea03585"
},
"ap-northeast-2": {
"AllOneBootLocation": "ami-05911af37a47f365d",
"AllTwoBootLocations": "ami-097d818e4963e017a",
"LTMOneBootLocation": "ami-0dc6930449b08e777",
"LTMTwoBootLocations": "ami-09f39b5e90fc4e609"
},
"ap-south-1": {
"AllOneBootLocation": "ami-07599b22a1b82878b",
"AllTwoBootLocations": "ami-07fd3f2ef5f902f86",
"LTMOneBootLocation": "ami-0ff08cd37c709d1ee",
"LTMTwoBootLocations": "ami-0d8601622e0233a81"
},
"ap-southeast-1": {
"AllOneBootLocation": "ami-0a2c0942a17fd71eb",
"AllTwoBootLocations": "ami-071c2bc10872531f5",
"LTMOneBootLocation": "ami-0fdef13b1e9515d93",
"LTMTwoBootLocations": "ami-0e7f0e57beb1e2825"
},
"ap-southeast-2": {
"AllOneBootLocation": "ami-0d34b190ca41c75b4",
"AllTwoBootLocations": "ami-04d1e8e98d3f5424e",
"LTMOneBootLocation": "ami-0f0d06d20785c16dd",
"LTMTwoBootLocations": "ami-029345a6e0b30ddfc"
},
"ca-central-1": {
"AllOneBootLocation": "ami-096e89bb46530b819",
"AllTwoBootLocations": "ami-07a23cf5bd0e7a6cb",
"LTMOneBootLocation": "ami-0048a12243369772d",
"LTMTwoBootLocations": "ami-0b8b0b187544b1c86"
},
"cn-north-1": {
"AllOneBootLocation": "ami-0c4848cf68d5091de",
"AllTwoBootLocations": "ami-0a057e7ec5bf5fd95",
"LTMOneBootLocation": "ami-03d96ae20a0c4b9c5",
"LTMTwoBootLocations": "ami-01f54b5fb5afb7a3b"
},
"cn-northwest-1": {
"AllOneBootLocation": "ami-0b4fa972a729e7f8a",
"AllTwoBootLocations": "ami-04313f7d517937ba9",
"LTMOneBootLocation": "ami-027d83e35d9ef602f",
"LTMTwoBootLocations": "ami-03a626262a8239cfd"
},
"eu-central-1": {
"AllOneBootLocation": "ami-0960c8689857acb01",
"AllTwoBootLocations": "ami-06595fe1a66756714",
"LTMOneBootLocation": "ami-01d0031b00792477b",
"LTMTwoBootLocations": "ami-079769c891ca41055"
},
"eu-north-1": {
"AllOneBootLocation": "ami-0991156358fb52b23",
"AllTwoBootLocations": "ami-040d17864c9c3aad4",
"LTMOneBootLocation": "ami-06571436920fe8391",
"LTMTwoBootLocations": "ami-0073f78df189dfc93"
},
"eu-south-1": {
"AllOneBootLocation": "ami-0e31dc2811b39233f",
"AllTwoBootLocations": "ami-0574f699fbd505454",
"LTMOneBootLocation": "ami-06b107fcf1472f08a",
"LTMTwoBootLocations": "ami-0590dfd250d25c799"
},
"eu-west-1": {
"AllOneBootLocation": "ami-0dbdf90555ba85e7c",
"AllTwoBootLocations": "ami-03c8e8b5f014b5e90",
"LTMOneBootLocation": "ami-071e0b209b2b3b73a",
"LTMTwoBootLocations": "ami-03d0c146b7b49e175"
},
"eu-west-2": {
"AllOneBootLocation": "ami-0a9d3acfd126e118a",
"AllTwoBootLocations": "ami-0eac8ccf75d7ff1ca",
"LTMOneBootLocation": "ami-01c0e1ddba7d206bb",
"LTMTwoBootLocations": "ami-00d2ebf9abac39211"
},
"eu-west-3": {
"AllOneBootLocation": "ami-0325ebfbebbc146f4",
"AllTwoBootLocations": "ami-038614f050432d6d9",
"LTMOneBootLocation": "ami-0505cb0fd442e38b9",
"LTMTwoBootLocations": "ami-000e9c5d5d1172226"
},
"me-south-1": {
"AllOneBootLocation": "ami-063e42db1c8b58430",
"AllTwoBootLocations": "ami-0a60fd9f3faf7c29d",
"LTMOneBootLocation": "ami-0cba95b3441104f17",
"LTMTwoBootLocations": "ami-00b557325ad93c6c7"
},
"sa-east-1": {
"AllOneBootLocation": "ami-01dbb40e434f9b521",
"AllTwoBootLocations": "ami-01925a4e0390f0e0c",
"LTMOneBootLocation": "ami-05461a13466785486",
"LTMTwoBootLocations": "ami-08b4c3ec4c68fe3dc"
},
"us-east-1": {
"AllOneBootLocation": "ami-0e2e33836a980b97d",
"AllTwoBootLocations": "ami-0ee78e91f97dcb9a6",
"LTMOneBootLocation": "ami-04722bda8e2aaa586",
"LTMTwoBootLocations": "ami-0cc22b850db103d3a"
},
"us-east-2": {
"AllOneBootLocation": "ami-0cedca1535d9b348f",
"AllTwoBootLocations": "ami-0648f74287ffaf373",
"LTMOneBootLocation": "ami-07743f6733c042106",
"LTMTwoBootLocations": "ami-0894dc1a8c9909a79"
},
"us-gov-east-1": {
"AllOneBootLocation": "ami-0c08f9282338cabbc",
"AllTwoBootLocations": "ami-0e29443c0d2baed53",
"LTMOneBootLocation": "ami-0eebc59c841b4c63d",
"LTMTwoBootLocations": "ami-0883384ec16311e8c"
},
"us-gov-west-1": {
"AllOneBootLocation": "ami-0f6a0866cc0665e08",
"AllTwoBootLocations": "ami-0eb3a46cc8ab47c95",
"LTMOneBootLocation": "ami-0705c8b38a2f51d0f",
"LTMTwoBootLocations": "ami-003167851cc66b574"
},
"us-west-1": {
"AllOneBootLocation": "ami-06913e5da7f66246f",
"AllTwoBootLocations": "ami-01d7302c269a9f9f2",
"LTMOneBootLocation": "ami-0ece0f5090b97e0c9",
"LTMTwoBootLocations": "ami-0c4a854885cfab511"
},
"us-west-2": {
"AllOneBootLocation": "ami-0727fd5b1a9daaaf4",
"AllTwoBootLocations": "ami-0f0f99f3ad7f0a55e",
"LTMOneBootLocation": "ami-04dbbb68e50805f31",
"LTMTwoBootLocations": "ami-0704e9e0efd3a9950"
}
}
},
"Conditions": {
"CreateWorkerNode2": { "Fn::Or": [ { "Fn::Equals": [ { "Ref": "NumberOfK8sWorkerNode" }, "2" ] }, { "Fn::Equals": [ { "Ref": "NumberOfK8sWorkerNode" }, "3" ] }, { "Fn::Equals": [ { "Ref": "NumberOfK8sWorkerNode" }, "4" ] }, { "Fn::Equals": [ { "Ref": "NumberOfK8sWorkerNode" }, "5" ] }, { "Fn::Equals": [ { "Ref": "NumberOfK8sWorkerNode" }, "6" ] }, { "Fn::Equals": [ { "Ref": "NumberOfK8sWorkerNode" }, "7" ] }, { "Fn::Equals": [ { "Ref": "NumberOfK8sWorkerNode" }, "8" ] }, { "Fn::Equals": [ { "Ref": "NumberOfK8sWorkerNode" }, "9" ] } ] },
"CreateWorkerNode3": { "Fn::Or": [ { "Fn::Equals": [ { "Ref": "NumberOfK8sWorkerNode" }, "3" ] }, { "Fn::Equals": [ { "Ref": "NumberOfK8sWorkerNode" }, "4" ] }, { "Fn::Equals": [ { "Ref": "NumberOfK8sWorkerNode" }, "5" ] }, { "Fn::Equals": [ { "Ref": "NumberOfK8sWorkerNode" }, "6" ] }, { "Fn::Equals": [ { "Ref": "NumberOfK8sWorkerNode" }, "7" ] }, { "Fn::Equals": [ { "Ref": "NumberOfK8sWorkerNode" }, "8" ] }, { "Fn::Equals": [ { "Ref": "NumberOfK8sWorkerNode" }, "9" ] } ] },
"CreateWorkerNode4": { "Fn::Or": [ { "Fn::Equals": [ { "Ref": "NumberOfK8sWorkerNode" }, "4" ] }, { "Fn::Equals": [ { "Ref": "NumberOfK8sWorkerNode" }, "5" ] }, { "Fn::Equals": [ { "Ref": "NumberOfK8sWorkerNode" }, "6" ] }, { "Fn::Equals": [ { "Ref": "NumberOfK8sWorkerNode" }, "7" ] }, { "Fn::Equals": [ { "Ref": "NumberOfK8sWorkerNode" }, "8" ] }, { "Fn::Equals": [ { "Ref": "NumberOfK8sWorkerNode" }, "9" ] } ] },
"CreateWorkerNode5": { "Fn::Or": [ { "Fn::Equals": [ { "Ref": "NumberOfK8sWorkerNode" }, "5" ] }, { "Fn::Equals": [ { "Ref": "NumberOfK8sWorkerNode" }, "6" ] }, { "Fn::Equals": [ { "Ref": "NumberOfK8sWorkerNode" }, "7" ] }, { "Fn::Equals": [ { "Ref": "NumberOfK8sWorkerNode" }, "8" ] }, { "Fn::Equals": [ { "Ref": "NumberOfK8sWorkerNode" }, "9" ] } ] },
"CreateWorkerNode6": { "Fn::Or": [ { "Fn::Equals": [ { "Ref": "NumberOfK8sWorkerNode" }, "6" ] }, { "Fn::Equals": [ { "Ref": "NumberOfK8sWorkerNode" }, "7" ] }, { "Fn::Equals": [ { "Ref": "NumberOfK8sWorkerNode" }, "8" ] }, { "Fn::Equals": [ { "Ref": "NumberOfK8sWorkerNode" }, "9" ] } ] },
"CreateWorkerNode7": { "Fn::Or": [ { "Fn::Equals": [ { "Ref": "NumberOfK8sWorkerNode" }, "7" ] }, { "Fn::Equals": [ { "Ref": "NumberOfK8sWorkerNode" }, "8" ] }, { "Fn::Equals": [ { "Ref": "NumberOfK8sWorkerNode" }, "9" ] } ] },
"CreateWorkerNode8": { "Fn::Or": [ { "Fn::Equals": [ { "Ref": "NumberOfK8sWorkerNode" }, "8" ] }, { "Fn::Equals": [ { "Ref": "NumberOfK8sWorkerNode" }, "9" ] } ] },
"CreateWorkerNode9": { "Fn::Equals": [ { "Ref": "NumberOfK8sWorkerNode" }, "9" ] },
"DefaultK8sNodeImageID": { "Fn::Equals": [ { "Ref": "K8sNodeImageID" }, "Default" ] },
"SkipNGINXCompilation": { "Fn::Equals": [ { "Ref": "SkipNGINXPlusCompilation" }, "Yes" ] },
"DefaultBigIPImageID": { "Fn::Equals" : [ { "Ref": "BigIPImageID" }, "Default" ] },
"NotDownLoadImage": { "Fn::Equals" : [ { "Ref": "UpgradeBigIP" }, "No" ] },
"UseTMSHCommandsFile": { "Fn::Or": [ { "Fn::Equals" : [ { "Ref": "ConfigurationMethod" }, "TMSH" ] }, { "Fn::Equals" : [ { "Ref": "ConfigurationMethod" }, "AS3 and TMSH" ] } ] },
"UseAS3File": { "Fn::Or": [ { "Fn::Equals" : [ { "Ref": "ConfigurationMethod" }, "AS3" ] }, { "Fn::Equals" : [ { "Ref": "ConfigurationMethod" }, "AS3 and TMSH" ] } ] }
},
"Parameters": {
"TagPreFix": {
"Type": "String",
"Default": "CF",
"AllowedPattern": "^[a-zA-Z][0-9a-zA-Z]*$",
"ConstraintDescription": "Kindly check the TagPreFix parameter input. Only Alphanumeric characters allowed.",
"Description": "Prefix to be given to all possible resources created by this stack-template."
},
"TagOwnerEmail": {
"Type": "String",
"Default": "[email protected]",
"AllowedPattern": "^[\\w-\\+]+(\\.[\\w]+)*@[\\w-]+(\\.[\\w]+)*(\\.[a-z]{2,})$",
"ConstraintDescription": "Kindly check the TagOwner parameter input to follow valid email address convention.",
"Description": "Tag which will be attached to all possible resources created by this stack-template."
},
"K8sNodeImageID": {
"Type": "String",
"Default": "Default",
"AllowedPattern": "^([aA][mM][iI]\\-)([0-9a-zA-Z]{8}|[0-9a-zA-Z]{17})$|^Default$",
"ConstraintDescription": "Kindly check the K8sNodeImageID parameter input to follow valid AMI ID naming convention.",
"Description": "Provide a valid AMI ID of Ubuntu Server for the K8s Nodes, or use the Default AMI ID based on https://cloud-images.ubuntu.com/locator/ec2/ ."
},
"K8sNodeImageType": {
"Type": "String",
"Default": "ubuntu2004amd64",
"AllowedValues": [ "ubuntu1804amd64", "ubuntu1804arm64", "ubuntu2004amd64", "ubuntu2004arm64" ],
"Description": "Select an AMI Type of Ubuntu Server for the K8s Nodes, i.e. Version and Architecture of the Ubuntu Server. This parameter does NOT matter if you provide/use NON-Default AMI ID."
},
"K8sNodeInstanceType": {
"Type": "String",
"Default": "t3a.medium",
"AllowedPattern": "^[0-9a-zA-Z]{1,8}\\.[0-9a-zA-Z]{1,22}$",
"ConstraintDescription": "Kindly check the K8sNodeInstanceType parameter input to follow valid Instance Type naming convention.",
"Description": "Provide a valid Instance Type for the K8s Nodes."
},
"NumberOfK8sWorkerNode": {
"Type": "String",
"Default": "3",
"AllowedValues": [ "1", "2", "3", "4", "5", "6", "7", "8", "9" ],
"AllowedPattern": "^[1-9]{1}$",
"Description": "Number of K8s Worker Node(s) to be created."
},
"EC2SSHKeyPair": {
"Type": "AWS::EC2::KeyPair::KeyName",
"Description": "EC2 KeyPair to enable SSH access to the EC2 instances. Select the SSH KeyPair you have access to."
},
"ParentDomainName": {
"Type": "String",
"Default": "ggrks.click",
"Description": "Existing registered Domain Name in AWS Route53 which you have access to add, modify and delete."
},
"K8sSSHPrivateKey": {
"Type": "String",
"NoEcho": "true",
"AllowedPattern": "^([0-9a-zA-Z\\-\\ ]+)\\\\n([0-9a-zA-Z\\/\\+\\\\]+)([\\=]{0,2})\\\\n([0-9a-zA-Z\\-\\ ]+)$",
"ConstraintDescription": "Kindly check the K8sSSHPrivateKey parameter input.",
"Description": "Paste the text content of a SSH Private Key used for K8s Master to connect and send instruction to K8s Worker Nodes during setup. It is STRONGLY RECOMMENDED that you create and use your own KeyPair for security purposes."
},
"K8sSSHPublicKey": {
"Type": "String",
"NoEcho": "true",
"AllowedPattern": "^([0-9a-zA-Z\\-]+) ([0-9a-zA-Z\\/\\+\\\\]+)([\\=]{0,2}) ([0-9a-zA-Z\\-]+)@([0-9a-zA-Z\\-]+)$",
"ConstraintDescription": "Kindly check the K8sSSHPublicKey parameter input.",
"Description": "Paste the text content of a SSH Public Key used for K8s Master to connect and send instruction to K8s Worker Nodes during setup."
},
"TimeZone": {
"Default": "Asia/Singapore",
"AllowedValues": [ "Africa/Abidjan","Africa/Accra","Africa/Algiers","Africa/Bissau","Africa/Cairo","Africa/Casablanca","Africa/Ceuta","Africa/El_Aaiun","Africa/Johannesburg","Africa/Juba","Africa/Khartoum","Africa/Lagos","Africa/Maputo","Africa/Monrovia","Africa/Nairobi","Africa/Ndjamena","Africa/Sao_Tome","Africa/Tripoli","Africa/Tunis","Africa/Windhoek","America/Adak","America/Anchorage","America/Araguaina","America/Argentina/Buenos_Aires","America/Argentina/Catamarca","America/Argentina/Cordoba","America/Argentina/Jujuy","America/Argentina/La_Rioja","America/Argentina/Mendoza","America/Argentina/Rio_Gallegos","America/Argentina/Salta","America/Argentina/San_Juan","America/Argentina/San_Luis","America/Argentina/Tucuman","America/Argentina/Ushuaia","America/Asuncion","America/Atikokan","America/Bahia","America/Bahia_Banderas","America/Barbados","America/Belem","America/Belize","America/Blanc-Sablon","America/Boa_Vista","America/Bogota","America/Boise","America/Cambridge_Bay","America/Campo_Grande","America/Cancun","America/Caracas","America/Cayenne","America/Chicago","America/Chihuahua","America/Costa_Rica","America/Creston","America/Cuiaba","America/Curacao","America/Danmarkshavn","America/Dawson","America/Dawson_Creek","America/Denver","America/Detroit","America/Edmonton","America/Eirunepe","America/El_Salvador","America/Fort_Nelson","America/Fortaleza","America/Glace_Bay","America/Goose_Bay","America/Grand_Turk","America/Guatemala","America/Guayaquil","America/Guyana","America/Halifax","America/Havana","America/Hermosillo","America/Indiana/Indianapolis","America/Indiana/Knox","America/Indiana/Marengo","America/Indiana/Petersburg","America/Indiana/Tell_City","America/Indiana/Vevay","America/Indiana/Vincennes","America/Indiana/Winamac","America/Inuvik","America/Iqaluit","America/Jamaica","America/Juneau","America/Kentucky/Louisville","America/Kentucky/Monticello","America/La_Paz","America/Lima","America/Los_Angeles","America/Maceio","America/Managua","America/Manaus","America/Martinique","America/Matamoros","America/Mazatlan","America/Menominee","America/Merida","America/Metlakatla","America/Mexico_City","America/Miquelon","America/Moncton","America/Monterrey","America/Montevideo","America/Nassau","America/New_York","America/Nipigon","America/Nome","America/Noronha","America/North_Dakota/Beulah","America/North_Dakota/Center","America/North_Dakota/New_Salem","America/Nuuk","America/Ojinaga","America/Panama","America/Pangnirtung","America/Paramaribo","America/Phoenix","America/Port-au-Prince","America/Port_of_Spain","America/Porto_Velho","America/Puerto_Rico","America/Punta_Arenas","America/Rainy_River","America/Rankin_Inlet","America/Recife","America/Regina","America/Resolute","America/Rio_Branco","America/Santarem","America/Santiago","America/Santo_Domingo","America/Sao_Paulo","America/Scoresbysund","America/Sitka","America/St_Johns","America/Swift_Current","America/Tegucigalpa","America/Thule","America/Thunder_Bay","America/Tijuana","America/Toronto","America/Vancouver","America/Whitehorse","America/Winnipeg","America/Yakutat","America/Yellowknife","Antarctica/Casey","Antarctica/Davis","Antarctica/DumontDUrville","Antarctica/Macquarie","Antarctica/Mawson","Antarctica/Palmer","Antarctica/Rothera","Antarctica/Syowa","Antarctica/Troll","Antarctica/Vostok","Asia/Almaty","Asia/Amman","Asia/Anadyr","Asia/Aqtau","Asia/Aqtobe","Asia/Ashgabat","Asia/Atyrau","Asia/Baghdad","Asia/Baku","Asia/Bangkok","Asia/Barnaul","Asia/Beirut","Asia/Bishkek","Asia/Brunei","Asia/Chita","Asia/Choibalsan","Asia/Colombo","Asia/Damascus","Asia/Dhaka","Asia/Dili","Asia/Dubai","Asia/Dushanbe","Asia/Famagusta","Asia/Gaza","Asia/Hebron","Asia/Ho_Chi_Minh","Asia/Hong_Kong","Asia/Hovd","Asia/Irkutsk","Asia/Jakarta","Asia/Jayapura","Asia/Jerusalem","Asia/Kabul","Asia/Kamchatka","Asia/Karachi","Asia/Kathmandu","Asia/Khandyga","Asia/Kolkata","Asia/Krasnoyarsk","Asia/Kuala_Lumpur","Asia/Kuching","Asia/Macau","Asia/Magadan","Asia/Makassar","Asia/Manila","Asia/Nicosia","Asia/Novokuznetsk","Asia/Novosibirsk","Asia/Omsk","Asia/Oral","Asia/Pontianak","Asia/Pyongyang","Asia/Qatar","Asia/Qostanay","Asia/Qyzylorda","Asia/Riyadh","Asia/Sakhalin","Asia/Samarkand","Asia/Seoul","Asia/Shanghai","Asia/Singapore","Asia/Srednekolymsk","Asia/Taipei","Asia/Tashkent","Asia/Tbilisi","Asia/Tehran","Asia/Thimphu","Asia/Tokyo","Asia/Tomsk","Asia/Ulaanbaatar","Asia/Urumqi","Asia/Ust-Nera","Asia/Vladivostok","Asia/Yakutsk","Asia/Yangon","Asia/Yekaterinburg","Asia/Yerevan","Atlantic/Azores","Atlantic/Bermuda","Atlantic/Canary","Atlantic/Cape_Verde","Atlantic/Faroe","Atlantic/Madeira","Atlantic/Reykjavik","Atlantic/South_Georgia","Atlantic/Stanley","Australia/Adelaide","Australia/Brisbane","Australia/Broken_Hill","Australia/Darwin","Australia/Eucla","Australia/Hobart","Australia/Lindeman","Australia/Lord_Howe","Australia/Melbourne","Australia/Perth","Australia/Sydney","Europe/Amsterdam","Europe/Andorra","Europe/Astrakhan","Europe/Athens","Europe/Belgrade","Europe/Berlin","Europe/Brussels","Europe/Bucharest","Europe/Budapest","Europe/Chisinau","Europe/Copenhagen","Europe/Dublin","Europe/Gibraltar","Europe/Helsinki","Europe/Istanbul","Europe/Kaliningrad","Europe/Kiev","Europe/Kirov","Europe/Lisbon","Europe/London","Europe/Luxembourg","Europe/Madrid","Europe/Malta","Europe/Minsk","Europe/Monaco","Europe/Moscow","Europe/Oslo","Europe/Paris","Europe/Prague","Europe/Riga","Europe/Rome","Europe/Samara","Europe/Saratov","Europe/Simferopol","Europe/Sofia","Europe/Stockholm","Europe/Tallinn","Europe/Tirane","Europe/Ulyanovsk","Europe/Uzhgorod","Europe/Vienna","Europe/Vilnius","Europe/Volgograd","Europe/Warsaw","Europe/Zaporozhye","Europe/Zurich","Indian/Chagos","Indian/Christmas","Indian/Cocos","Indian/Kerguelen","Indian/Mahe","Indian/Maldives","Indian/Mauritius","Indian/Reunion","Pacific/Apia","Pacific/Auckland","Pacific/Bougainville","Pacific/Chatham","Pacific/Chuuk","Pacific/Easter","Pacific/Efate","Pacific/Enderbury","Pacific/Fakaofo","Pacific/Fiji","Pacific/Funafuti","Pacific/Galapagos","Pacific/Gambier","Pacific/Guadalcanal","Pacific/Guam","Pacific/Honolulu","Pacific/Kiritimati","Pacific/Kosrae","Pacific/Kwajalein","Pacific/Majuro","Pacific/Marquesas","Pacific/Nauru","Pacific/Niue","Pacific/Norfolk","Pacific/Noumea","Pacific/Pago_Pago","Pacific/Palau","Pacific/Pitcairn","Pacific/Pohnpei","Pacific/Port_Moresby","Pacific/Rarotonga","Pacific/Tahiti","Pacific/Tarawa","Pacific/Tongatapu","Pacific/Wake","Pacific/Wallis","UTC" ],
"Description": "Select a TimeZone to be applied for all Nodes.",
"Type": "String"
},
"OSPreparationScript": {
"Type": "String",
"Default": "https://raw.githubusercontent.com/gjwdyk/Notes-K8s/main/Bash/PrepOS.sh",
"AllowedPattern": "^(http:\\/\\/|https:\\/\\/)?[a-z0-9]+([\\-\\.]{1}[a-z0-9]+)*\\.[a-z]{2,5}(:[0-9]{1,5})?(\\/.*)?$",
"ConstraintDescription": "Kindly check the OSPreparationScript parameter input. Ensure it follows common URL pattern.",
"Description": "URL of a bash script used to prepare the ubuntu OS for Kubernetes implementation. If the bash script file is located at AWS S3, ensure that this CloudFormation template can read the file. If the bash script file is located at GitHub, ensure that this CloudFormation template can read the RAW file (i.e. not a web page containing the file)."
},
"DockerPreparationScript": {
"Type": "String",
"Default": "https://raw.githubusercontent.com/gjwdyk/Notes-K8s/main/Bash/PrepDocker.sh",
"AllowedPattern": "^(http:\\/\\/|https:\\/\\/)?[a-z0-9]+([\\-\\.]{1}[a-z0-9]+)*\\.[a-z]{2,5}(:[0-9]{1,5})?(\\/.*)?$",
"ConstraintDescription": "Kindly check the DockerPreparationScript parameter input. Ensure it follows common URL pattern.",
"Description": "URL of a bash script used to prepare the containerization platform for Kubernetes implementation (e.g. Docker). If the bash script file is located at AWS S3, ensure that this CloudFormation template can read the file. If the bash script file is located at GitHub, ensure that this CloudFormation template can read the RAW file (i.e. not a web page containing the file)."
},
"CommonK8sPreparationScript": {
"Type": "String",
"Default": "https://raw.githubusercontent.com/gjwdyk/Notes-K8s/main/Bash/PrepCommonK8sCIS.sh",
"AllowedPattern": "^(http:\\/\\/|https:\\/\\/)?[a-z0-9]+([\\-\\.]{1}[a-z0-9]+)*\\.[a-z]{2,5}(:[0-9]{1,5})?(\\/.*)?$",
"ConstraintDescription": "Kindly check the CommonK8sPreparationScript parameter input. Ensure it follows common URL pattern.",
"Description": "URL of a bash script used to prepare the common factors of Kubernetes implementation. If the bash script file is located at AWS S3, ensure that this CloudFormation template can read the file. If the bash script file is located at GitHub, ensure that this CloudFormation template can read the RAW file (i.e. not a web page containing the file)."
},
"K8sMasterPreparationScript": {
"Type": "String",
"Default": "https://raw.githubusercontent.com/gjwdyk/Notes-K8s/main/Bash/PrepK8sMasterCalico.sh",
"AllowedPattern": "^(http:\\/\\/|https:\\/\\/)?[a-z0-9]+([\\-\\.]{1}[a-z0-9]+)*\\.[a-z]{2,5}(:[0-9]{1,5})?(\\/.*)?$",
"ConstraintDescription": "Kindly check the K8sMasterPreparationScript parameter input. Ensure it follows common URL pattern.",
"Description": "URL of a bash script used to prepare the Kubernetes' master node implementation. If the bash script file is located at AWS S3, ensure that this CloudFormation template can read the file. If the bash script file is located at GitHub, ensure that this CloudFormation template can read the RAW file (i.e. not a web page containing the file)."
},
"ClusterNetworkConfiguration": {
"Type": "String",
"Default": "https://aws-f5-singapore-hc-demo-bucket-files.s3.ap-southeast-1.amazonaws.com/Calico/CalicoCtl/v3.23.3/calico.yaml",
"AllowedPattern": "^(http:\\/\\/|https:\\/\\/)?[a-z0-9]+([\\-\\.]{1}[a-z0-9]+)*\\.[a-z]{2,5}(:[0-9]{1,5})?(\\/.*)?$",
"ConstraintDescription": "Kindly check the ClusterNetworkConfiguration parameter input. Ensure it follows common URL pattern.",
"Description": "URL of a YAML file to be used to implement a Cluster Networking within the Kubernetes Cluster (e.g. flannel). If the YAML file is located at AWS S3, ensure that this CloudFormation template can read the file. If the YAML file is located at GitHub, ensure that this CloudFormation template can read the RAW file (i.e. not a web page containing the file)."
},
"K8sWorkerPreparationScript": {
"Type": "String",
"Default": "https://raw.githubusercontent.com/gjwdyk/Notes-K8s/main/Bash/PrepK8sWorkerCIS.sh",
"AllowedPattern": "^(http:\\/\\/|https:\\/\\/)?[a-z0-9]+([\\-\\.]{1}[a-z0-9]+)*\\.[a-z]{2,5}(:[0-9]{1,5})?(\\/.*)?$",
"ConstraintDescription": "Kindly check the K8sWorkerPreparationScript parameter input. Ensure it follows common URL pattern.",
"Description": "URL of a bash script used to prepare the Kubernetes' worker nodes implementation. If the bash script file is located at AWS S3, ensure that this CloudFormation template can read the file. If the bash script file is located at GitHub, ensure that this CloudFormation template can read the RAW file (i.e. not a web page containing the file)."
},
"K8sServicePreparationScript": {
"Type": "String",
"Default": "https://raw.githubusercontent.com/gjwdyk/Notes-K8s/main/Bash/PrepK8sServiceCIS.sh",
"AllowedPattern": "^(http:\\/\\/|https:\\/\\/)?[a-z0-9]+([\\-\\.]{1}[a-z0-9]+)*\\.[a-z]{2,5}(:[0-9]{1,5})?(\\/.*)?$|^none$",
"ConstraintDescription": "Kindly check the K8sServicePreparationScript parameter input. Ensure it follows common URL pattern.",
"Description": "URL of a bash script used to deploy fundamental K8s services within the Kubernetes cluster. If the bash script file is located at AWS S3, ensure that this CloudFormation template can read the file. If the bash script file is located at GitHub, ensure that this CloudFormation template can read the RAW file (i.e. not a web page containing the file)."
},
"CompileNGINXPlusScript": {
"Type": "String",
"Default": "https://raw.githubusercontent.com/gjwdyk/Notes-K8s/main/Bash/CompileNGINXPlusCIS.sh",
"AllowedPattern": "^(http:\\/\\/|https:\\/\\/)?[a-z0-9]+([\\-\\.]{1}[a-z0-9]+)*\\.[a-z]{2,5}(:[0-9]{1,5})?(\\/.*)?$|^none$",
"ConstraintDescription": "Kindly check the CompileNGINXPlusScript parameter input. Ensure it follows common URL pattern.",
"Description": "URL of a bash script to compile NGINX+ . If the bash script file is located at AWS S3, ensure that this CloudFormation template can read the file. If the bash script file is located at GitHub, ensure that this CloudFormation template can read the RAW file (i.e. not a web page containing the file)."
},
"SkipNGINXPlusCompilation": {
"Type": "String",
"Default": "Yes",
"AllowedValues": [ "Yes", "No" ],
"AllowedPattern": "^Yes|No$",
"Description": "Whether to Skip Compilation of NGINX+ ; Example: If you have compiled the NGINX+ before."
},
"NGINXRepositoryCertificate": {
"Type": "String",
"NoEcho": "true",
"AllowedPattern": "^([0-9a-zA-Z\\-\\ ]+)\\\\n([0-9a-zA-Z\\/\\+\\\\]+)([\\=]{0,2})\\\\n([0-9a-zA-Z\\-\\ ]+)$|^$",
"ConstraintDescription": "Kindly check the NGINXRepositoryCertificate parameter input.",
"Description": "Paste the text content of a NGINX+ Repository Certificate (i.e. nginx-repo.crt file). You can skip this parameter if you're also skipping the NGINX+ Compilation."
},
"NGINXRepositoryPrivateKey": {
"Type": "String",
"NoEcho": "true",
"AllowedPattern": "^([0-9a-zA-Z\\-\\ ]+)\\\\n([0-9a-zA-Z\\/\\+\\\\]+)([\\=]{0,2})\\\\n([0-9a-zA-Z\\-\\ ]+)$|^$",
"ConstraintDescription": "Kindly check the NGINXRepositoryPrivateKey parameter input.",
"Description": "Paste the text content of a NGINX+ Repository Private Key (i.e. nginx-repo.key file). You can skip this parameter if you're also skipping the NGINX+ Compilation."
},
"DockerHubUserID": {
"Type": "String",
"Description": "User ID used to access to the (Docker Hub) Repository, for uploading to and downloading from the compiled NGINX+ container. You can skip this parameter if you're also skipping the NGINX+ Compilation. Note that the Repository's User ID must be in sync with the Repository's (Complete) Name, which contains also the User ID information."
},
"DockerHubPassword": {
"Type": "String",
"NoEcho": "true",
"Description": "Password for the User ID to access the (Docker Hub) Repository. You can skip this parameter if you're also skipping the NGINX+ Compilation."
},
"DockerHubRepositoryName": {
"Type": "String",
"Default": "gjwdyk/nginx-ingress",
"Description": "The (Docker Hub) Repository's Name, for uploading to and downloading from the compiled NGINX+ container. In case of Docker Hub, use format UserID/RepositoryName . Note that the supplied Repository's (Complete) Name, which also contains the Repository's User ID information, must be in sync with the Repository's User ID parameter."
},
"NGINXPlusVersion": {
"Type": "String",
"Default": "v1.11.3",
"Description": "Paste the version of NGINX+ to be implemented."
},
"NGINXPlusIngressScript": {
"Type": "String",
"Default": "https://raw.githubusercontent.com/gjwdyk/Notes-K8s/main/Bash/PrepNGINXPlusKICCIS.sh",
"AllowedPattern": "^(http:\\/\\/|https:\\/\\/)?[a-z0-9]+([\\-\\.]{1}[a-z0-9]+)*\\.[a-z]{2,5}(:[0-9]{1,5})?(\\/.*)?$|^none$",
"ConstraintDescription": "Kindly check the NGINXPlusIngressScript parameter input. Ensure it follows common URL pattern.",
"Description": "URL of a bash script to implement NGINX+ as K8s Ingress Controller . If the bash script file is located at AWS S3, ensure that this CloudFormation template can read the file. If the bash script file is located at GitHub, ensure that this CloudFormation template can read the RAW file (i.e. not a web page containing the file)."
},
"ApplicationServiceScript": {
"Type": "String",
"Default": "https://raw.githubusercontent.com/gjwdyk/Notes-K8s/main/Bash/PrepApplicationServiceCISHipsterShop.sh",
"AllowedPattern": "^(http:\\/\\/|https:\\/\\/)?[a-z0-9]+([\\-\\.]{1}[a-z0-9]+)*\\.[a-z]{2,5}(:[0-9]{1,5})?(\\/.*)?$|^none$",
"ConstraintDescription": "Kindly check the ApplicationServiceScript parameter input. Ensure it follows common URL pattern.",
"Description": "URL of a bash script used to End User's Application Services within the Kubernetes cluster. If the bash script file is located at AWS S3, ensure that this CloudFormation template can read the file. If the bash script file is located at GitHub, ensure that this CloudFormation template can read the RAW file (i.e. not a web page containing the file)."
},
"BigIPCISScript": {
"Type": "String",
"Default": "https://raw.githubusercontent.com/gjwdyk/Notes-K8s/main/Bash/PrepBigIPCalico.sh",
"AllowedPattern": "^(http:\\/\\/|https:\\/\\/)?[a-z0-9]+([\\-\\.]{1}[a-z0-9]+)*\\.[a-z]{2,5}(:[0-9]{1,5})?(\\/.*)?$|^none$",
"ConstraintDescription": "Kindly check the BigIPCISScript parameter input. Ensure it follows common URL pattern.",
"Description": "URL of a bash script used to End User's Application Services within the Kubernetes cluster. If the bash script file is located at AWS S3, ensure that this CloudFormation template can read the file. If the bash script file is located at GitHub, ensure that this CloudFormation template can read the RAW file (i.e. not a web page containing the file)."
},
"BigIPCISNodeTemplate": {
"Type": "String",
"Default": "https://raw.githubusercontent.com/gjwdyk/Notes-K8s/main/yaml/bigip-node.template",
"AllowedPattern": "^(http:\\/\\/|https:\\/\\/)?[a-z0-9]+([\\-\\.]{1}[a-z0-9]+)*\\.[a-z]{2,5}(:[0-9]{1,5})?(\\/.*)?$|^none$",
"ConstraintDescription": "Kindly check the BigIPCISNodeTemplate parameter input. Ensure it follows common URL pattern.",
"Description": "URL of a YAML template used to integrate Big-IP as external node within the Kubernetes cluster. If the YAML template file is located at AWS S3, ensure that this CloudFormation template can read the file. If the YAML template file is located at GitHub, ensure that this CloudFormation template can read the RAW file (i.e. not a web page containing the file)."
},
"BigIPCISClusterDeploymentTemplate": {
"Type": "String",
"Default": "https://raw.githubusercontent.com/gjwdyk/Notes-K8s/main/yaml/bigip-cluster-deployment.template",
"AllowedPattern": "^(http:\\/\\/|https:\\/\\/)?[a-z0-9]+([\\-\\.]{1}[a-z0-9]+)*\\.[a-z]{2,5}(:[0-9]{1,5})?(\\/.*)?$|^none$",
"ConstraintDescription": "Kindly check the BigIPCISClusterDeploymentTemplate parameter input. Ensure it follows common URL pattern.",
"Description": "URL of a YAML template used to deploy the K8s Big-IP Controller (F5's CIS) within the Kubernetes cluster. If the YAML template file is located at AWS S3, ensure that this CloudFormation template can read the file. If the YAML template file is located at GitHub, ensure that this CloudFormation template can read the RAW file (i.e. not a web page containing the file)."
},
"BigIPImageID": {
"Type": "String",
"Default": "Default",
"AllowedPattern": "^([aA][mM][iI]\\-)([0-9a-zA-Z]{8}|[0-9a-zA-Z]{17})$|^Default$",
"Description": "Provide a Valid Custom AMI ID of Big-IP in the Region, In Case a Custom Big-IP Image is Required."
},
"BigIPImageType": {
"Type": "String",
"Default": "AllTwoBootLocations",
"AllowedValues": [ "AllOneBootLocation", "AllTwoBootLocations", "LTMOneBootLocation", "LTMTwoBootLocations" ],
"Description": "Select an AMI Type for the Big-IP Node, i.e. supported module(s) and number of supported boot partitions of the Big-IP node. This parameter does NOT matter if you provide/use NON-Default AMI ID."
},
"BigIPInstanceType": {
"Type": "String",
"Default": "m5.xlarge",
"Description": "Provide a valid Instance Type for the Big-IP."
},
"BigIPRegistrationKeyLicense": {
"Type": "String",
"NoEcho": "true",
"MinLength": "1",
"MaxLength": "255",
"AllowedPattern": "^([A-Z][0-9A-Z]{4}\\-)([0-9A-Z]{5}\\-){3}([0-9A-Z]{7})( \\-\\-add\\-on ([0-9A-Z]{7}\\-[0-9A-Z]{7}))*$",
"ConstraintDescription": "Must be a valid Big-IP Registration Key License.",
"Description": "Big-IP Registration Key License. Format : AAAAA-BBBBB-CCCCC-DDDDD-EEEEEEE --add-on FFFFFFF-GGGGGGG --add-on HHHHHHH-IIIIIII ; or simply : AAAAA-BBBBB-CCCCC-DDDDD-EEEEEEE if there is no Add-On module."
},
"BigIPModules": {
"Type": "String",
"Default": "ltm:nominal,avr:nominal,gtm:nominal,afm:nominal,asm:nominal,fps:nominal",
"Description": "Comma separated list of modules and levels to provision, for example: ltm:nominal,avr:nominal,asm:nominal,apm:nominal . Provisionable modules are: afm, am, apm, asm, avr, cgnat, dos, fps, gtm, ilx, lc, ltm, pem, sslo, swg, urldb ."
},
"NTPServer": {
"Default": "0.pool.ntp.org",
"Description": "NTP server for this implementation",
"Type": "String"
},
"BigIPManagementGUIPort": {
"Type": "String",
"Default": "8443",
"AllowedPattern": "^[1-9]{1}[0-9]{0,4}$",
"ConstraintDescription": "Must be a valid, unused port on the Big-IP.",
"Description": "Port for the Big-IP management Configuration utility."
},
"BigIPAdminPassword": {
"Type": "String",
"NoEcho": "true",
"Description": "Password for the Admin User of Big-IP."
},
"ConfigurationMethod": {
"AllowedValues": [ "None", "AS3", "TMSH", "AS3 and TMSH" ],
"Default": "TMSH",
"Description": "Select the method to configure the Big-IP. Note that between AS3 and TMSH there are possibilities for conflicts, and therefore both AS3 File and TMSH Commands File need to be sync-ed between each other.",
"Type": "String"
},
"AS3URL": {
"Type": "String",
"Default": "https://raw.githubusercontent.com/gjwdyk/Notes-K8s/main/AS3/OutBound_AVR_AFM_SeviceAddress.json",
"AllowedPattern": "^(http:\\/\\/|https:\\/\\/)?[a-z0-9]+([\\-\\.]{1}[a-z0-9]+)*\\.[a-z]{2,5}(:[0-9]{1,5})?(\\/.*)?$|^none$",
"Description": "URL for the AS3 declaration JSON file to be deployed. Input *none* (without the *) to deploy without a service configuration."
},
"BigIPTMSHConfiguration": {
"Type": "String",
"Default": "https://raw.githubusercontent.com/gjwdyk/Notes-K8s/main/TMSH/F5_Configurations.sh",
"AllowedPattern": "^(http:\\/\\/|https:\\/\\/)?[a-z0-9]+([\\-\\.]{1}[a-z0-9]+)*\\.[a-z]{2,5}(:[0-9]{1,5})?(\\/.*)?$|^none$",
"Description": "URL of the TMSH Commands File which Big-IP will execute. If the TMSH Commands File is located at AWS S3, ensure that this CloudFormation template can read the file. If the TMSH Commands File is located at GitHub, ensure that this CloudFormation template can read the RAW file (i.e. not a web page containing the file)."
},
"SSMTPConfiguration": {
"Type": "String",
"Default": "https://raw.githubusercontent.com/gjwdyk/Notes-K8s/main/SSMTP/GMailSSMTP.conf",
"AllowedPattern": "^(http:\\/\\/|https:\\/\\/)?[a-z0-9]+([\\-\\.]{1}[a-z0-9]+)*\\.[a-z]{2,5}(:[0-9]{1,5})?(\\/.*)?$|^none$",
"Description": "URL of the SSMTP configuration. This CloudFormation template requires a SSMTP configuration (i.e. Mandatory Input). If the SSMTP configuration is located at AWS S3, ensure that this CloudFormation template can read the file. If the SSMTP configuration is located at GitHub, ensure that this CloudFormation template can read the RAW SSMTP configuration file (i.e. NOT a web page containing the SSMTP configuration file)."
},
"SMTPUserID": {
"Type": "String",
"Description": "User ID used to access to the SMTP Server, for sending the notification. Big-IP uses this account to send notification to the recipient."
},
"SMTPUserPassword": {
"Type": "String",
"NoEcho": "true",
"Description": "Password for the User ID to access the SMTP Server."
},
"eMailNotificationRecipient": {
"Type": "String",
"AllowedPattern": "^[\\w-\\+]+(\\.[\\w]+)*@[\\w-]+(\\.[\\w]+)*(\\.[a-z]{2,})$",
"Description": "The Recipient's eMail Address of the Big-IP Notification messages."
},
"UserAlertConfiguration": {
"Type": "String",
"Default": "https://raw.githubusercontent.com/gjwdyk/Notes-K8s/main/SSMTP/user_alert.archive",
"AllowedPattern": "^(http:\\/\\/|https:\\/\\/)?[a-z0-9]+([\\-\\.]{1}[a-z0-9]+)*\\.[a-z]{2,5}(:[0-9]{1,5})?(\\/.*)?$|^none$",
"Description": "URL of the additional user_alert configuration."
},
"UpgradeBigIP": {
"AllowedValues": [ "Yes", "No" ],
"Default": "Yes",
"Description": "Whether the Big-IP should be Upgraded automatically. If you select **Yes** the Big-IP will be Upgraded, and therefore the corresponding new image URL Path and File Name should be provided. Additional time is also needed for the Upgrade process.",
"Type": "String"
},
"UpgradeImageURLPath": {
"Type": "String",
"Default": "https://aws-f5-singapore-hc-demo-bucket-files.s3.ap-southeast-1.amazonaws.com/Big-IP/16.1.3/",
"AllowedPattern": "^(http:\\/\\/|https:\\/\\/)?[a-z0-9]+([\\-\\.]{1}[a-z0-9]+)*\\.[a-z]{2,5}(:[0-9]{1,5})?(\\/.*)?$|^none$",
"Description": "URL Path of the upgrade .iso image. Keep the last / character."
},
"UpgradeImageFileName": {
"Type": "String",
"Default": "BIGIP-16.1.3-0.0.12.iso",
"AllowedPattern": "^(BIGIP\\-)((([0-9]+)\\.)+)([0-9]+)\\-((([0-9]+)\\.)+)([0-9]+)\\.iso$|^none$",
"Description": "File Name of the upgrade .iso image."
},
"BigIPTrafficTLSKey": {
"Type": "String",
"Default": "https://raw.githubusercontent.com/gjwdyk/Notes-K8s/main/KeyPair/privkey.pem",
"AllowedPattern": "^(http:\\/\\/|https:\\/\\/)?[a-z0-9]+([\\-\\.]{1}[a-z0-9]+)*\\.[a-z]{2,5}(:[0-9]{1,5})?(\\/.*)?$|^none$",
"Description": "URL of the Private Key used to create the below TLS Certificate. This CloudFormation template requires the TLS Private Key and Certificate (i.e. Mandatory Input). If the Private Key is located at AWS S3, ensure that this CloudFormation template can read the file. If the Private Key is located at GitHub, ensure that this CloudFormation template can read the RAW file (i.e. not a web page containing the file)."
},
"BigIPTrafficTLSCertificate": {
"Type": "String",
"Default": "https://raw.githubusercontent.com/gjwdyk/Notes-K8s/main/KeyPair/fullchain.pem",
"AllowedPattern": "^(http:\\/\\/|https:\\/\\/)?[a-z0-9]+([\\-\\.]{1}[a-z0-9]+)*\\.[a-z]{2,5}(:[0-9]{1,5})?(\\/.*)?$|^none$",
"Description": "URL of the TLS Certificate (along with chain/intermediate certificates) which Big-IP will use to encrypt or decrypt the requests and responses between users and servers. This CloudFormation template requires the TLS Private Key and Certificate (i.e. Mandatory Input). If the Private Key is located at AWS S3, ensure that this CloudFormation template can read the file. If the Private Key is located at GitHub, ensure that this CloudFormation template can read the RAW file (i.e. not a web page containing the file)."
},
"AllowPhoneHome": {
"AllowedValues": [ "Yes", "No" ],
"Default": "No",
"Description": "This deployment can send anonymous device statistics to F5 to help us determine how to improve our solutions. If you select **No**, statistics are not sent.",
"Type": "String"
},
"Lidsa": {
"Type": "String",
"NoEcho": "true",
"Default": "none",
"AllowedPattern": "^(([A-Z][0-9A-Z]{4}\\-)([0-9A-Z]{5}\\-){3}([0-9A-Z]{7})( \\-\\-add\\-on ([0-9A-Z]{7}\\-[0-9A-Z]{7}))*)(\\\\n(([A-Z][0-9A-Z]{4}\\-)([0-9A-Z]{5}\\-){3}([0-9A-Z]{7})( \\-\\-add\\-on ([0-9A-Z]{7}\\-[0-9A-Z]{7}))*))*$|^none$",
"Description": "Lorem Ipsum Dolor Sit Amet string. Proposed format are Lorem\\nIpsum\\nDolor\\nSit\\nAmet. Leave the field as it is for default."
}
},
"Metadata": {
"AWS::CloudFormation::Interface": {
"ParameterGroups": [
{
"Label": {
"default": "CloudFormation Stack Tag Parameters"
},
"Parameters": [
"TagPreFix",
"TagOwnerEmail"
]
},
{
"Label": {
"default": "Common CloudFormation Parameters"
},
"Parameters": [
"K8sNodeImageID",
"K8sNodeImageType",
"K8sNodeInstanceType",
"NumberOfK8sWorkerNode",
"EC2SSHKeyPair",
"ParentDomainName"
]
},
{
"Label": {
"default": "Common Operating System Parameters"
},
"Parameters": [
"K8sSSHPrivateKey",
"K8sSSHPublicKey",
"TimeZone"
]
},
{
"Label": {
"default": "Kubernetes Parameters"
},
"Parameters": [
"OSPreparationScript",
"DockerPreparationScript",
"CommonK8sPreparationScript",
"K8sMasterPreparationScript",
"ClusterNetworkConfiguration",
"K8sWorkerPreparationScript",
"K8sServicePreparationScript"
]
},
{
"Label": {
"default": "NGINX+ Parameters"
},
"Parameters": [
"CompileNGINXPlusScript",
"SkipNGINXPlusCompilation",
"NGINXRepositoryCertificate",
"NGINXRepositoryPrivateKey",
"DockerHubUserID",
"DockerHubPassword",
"DockerHubRepositoryName",
"NGINXPlusVersion",
"NGINXPlusIngressScript"
]
},
{
"Label": {
"default": "Application Service(s) Parameters"
},
"Parameters": [
"ApplicationServiceScript"
]
},
{
"Label": {
"default": "Big-IP CIS Parameters"
},
"Parameters": [
"BigIPCISScript",
"BigIPCISNodeTemplate",
"BigIPCISClusterDeploymentTemplate"
]
},
{
"Label": {
"default": "Big-IP Parameters"
},
"Parameters": [
"BigIPImageID",
"BigIPImageType",
"BigIPInstanceType",
"BigIPRegistrationKeyLicense",
"BigIPModules",
"NTPServer",
"BigIPManagementGUIPort",
"BigIPAdminPassword",
"ConfigurationMethod",
"AS3URL",
"BigIPTMSHConfiguration",
"SSMTPConfiguration",
"SMTPUserID",
"SMTPUserPassword",
"eMailNotificationRecipient",
"UserAlertConfiguration",
"UpgradeBigIP",
"UpgradeImageURLPath",
"UpgradeImageFileName",
"BigIPTrafficTLSKey",
"BigIPTrafficTLSCertificate",
"AllowPhoneHome",
"Lidsa"
]
}
],
"ParameterLabels": {
"TagPreFix": {
"default": "PreFix for Name Tags"
},
"TagOwnerEmail": {
"default": "Email Address of the Owner of all resources created by this CloudFormation Stack"
},
"K8sNodeImageID": {
"default": "K8s Nodes' Image ID"
},
"K8sNodeImageType": {
"default": "K8s Nodes' Image Type"
},
"K8sNodeInstanceType": {
"default": "K8s Nodes' Instance Type"
},
"NumberOfK8sWorkerNode": {
"default": "Number of K8s Worker Node(s)"
},
"EC2SSHKeyPair": {
"default": "EC2 SSH Key-Pair"
},
"ParentDomainName": {
"default": "Existing Registered Domain Name in AWS Route53"
},
"K8sSSHPrivateKey": {
"default": "K8s Nodes SSH Private Key"
},
"K8sSSHPublicKey": {
"default": "K8s Nodes SSH Public Key"
},
"TimeZone": {
"default": "Time Zone"
},
"OSPreparationScript": {
"default": "URL of OS Preparation Script"
},
"DockerPreparationScript": {
"default": "URL of Docker Preparation Script"
},
"CommonK8sPreparationScript": {
"default": "URL of Common K8s Preparation Script"
},
"K8sMasterPreparationScript": {
"default": "URL of K8s Master Preparation Script"
},
"ClusterNetworkConfiguration": {
"default": "URL of Cluster Networking (flannel) YAML File"
},
"K8sWorkerPreparationScript": {
"default": "URL of K8s Worker Preparation Script"
},
"K8sServicePreparationScript": {
"default": "URL of K8s Fundamental Services Script"
},
"CompileNGINXPlusScript": {
"default": "URL of NGINX+ Compilation Script"
},
"SkipNGINXPlusCompilation": {
"default": "Skip NGINX+ Compilation ?"
},
"NGINXRepositoryCertificate": {
"default": "NGINX+ Repository Certificate"
},
"NGINXRepositoryPrivateKey": {
"default": "NGINX+ Repository Private Key"
},
"DockerHubUserID": {
"default": "Repository (Docker Hub) User ID"
},
"DockerHubPassword": {
"default": "Repository (Docker Hub) Password"
},
"DockerHubRepositoryName": {
"default": "NGINX+'s Repository (Docker Hub) Name"
},
"NGINXPlusVersion": {
"default": "NGINX+ Version"
},
"NGINXPlusIngressScript": {
"default": "URL of NGINX+ KIC Script"
},
"ApplicationServiceScript": {
"default": "URL of Application Service(s) Script"
},
"BigIPCISScript": {
"default": "URL of Big-IP CIS Script"
},
"BigIPCISNodeTemplate": {
"default": "URL of Big-IP CIS Node Template"
},
"BigIPCISClusterDeploymentTemplate": {
"default": "URL of Big-IP CIS Cluster Deployment Template"
},
"BigIPImageID": {
"default": "Big-IP Image ID"
},
"BigIPImageType": {
"default": "Big-IP Image Type"
},
"BigIPInstanceType": {
"default": "Big-IP Instance Type"
},
"BigIPRegistrationKeyLicense": {
"default": "Big-IP Registration Key License"
},
"BigIPModules": {
"default": "Big-IP Modules to be Provisioned"
},
"NTPServer": {
"default": "NTP Server used by Big-IP"
},
"BigIPManagementGUIPort": {
"default": "Big-IP Management Port"
},
"BigIPAdminPassword": {
"default": "Big-IP's Admin Password"
},
"ConfigurationMethod": {
"default": "Select the Method to Configure Big-IP"
},
"AS3URL": {
"default": "AS3 Declaration URL"
},
"BigIPTMSHConfiguration": {
"default": "URL of the Big-IP TMSH Commands File"
},
"SSMTPConfiguration": {
"default": "URL of the SSMTP Configuration File"
},
"SMTPUserID": {
"default": "User ID to access the SMTP Server"
},
"SMTPUserPassword": {
"default": "Password of the User ID"
},
"eMailNotificationRecipient": {
"default": "Big-IP Notification Recipient's eMail Address"
},
"UserAlertConfiguration": {
"default": "URL of the additional user_alert configuration"
},
"UpgradeBigIP": {
"default": "Upgrade Big-IP ?"
},
"UpgradeImageURLPath": {
"default": "Upgrade Image's URL Path, of the .iso file used to upgrade the Big-IP image"
},
"UpgradeImageFileName": {
"default": "Upgrade Image's File Name, of the .iso file used to upgrade the Big-IP image"
},
"BigIPTrafficTLSKey": {
"default": "URL of the Private Key (of the SSL/TLS Certificate)"
},
"BigIPTrafficTLSCertificate": {
"default": "URL of the SSL/TLS Certificate"
},
"AllowPhoneHome": {
"default": "Send Anonymous Device Statistics to F5"
},
"Lidsa": {
"default": "Lorem Ipsum Dolor Sit Amet"
}
}
}
},
"Resources": {