forked from aliyun/ros-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vmware-on-elastic-bare-metal-server.yml
1879 lines (1879 loc) · 53.1 KB
/
vmware-on-elastic-bare-metal-server.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
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
ROSTemplateFormatVersion: '2015-09-01'
Description:
en: This template migrates a VMware environment to Alibaba Cloud ECS Bare Metal
Instances. The template uses the elastic infrastructure provided by the cloud
computing platform to smoothly migrate offline services to the cloud.
zh-cn: 本文介绍将传统企业VMware迁移到阿里云弹性裸金属,利用云计算平台提供的弹性基础设施,实现线下业务平滑迁移上云。
Parameters:
VSwitchZoneId:
Type: String
Label:
en: VSwitch Availability Zone
zh-cn: 交换机可用区
Description:
en: Availability Zone ID,<br><b>note: <font color='blue'>Before selecting, please
confirm that the Availability Zone supports the specification of creating
ECS resources.</font></b>
zh-cn: 可用区ID。<br><b>注: <font color='blue'>选择可用区前请确认该可用区是否支持创建ECS资源的规格。</font></b>
AssociationProperty: ALIYUN::ECS::Instance:ZoneId
VpcCidrBlock:
Type: String
Label:
en: VPC CIDR Block
zh-cn: 专有网络网段
Description:
en: The IP address range of the VPC in the CIDR Block form.
zh-cn: 专有网络IP地址段范围。
Default: 192.168.0.0/16
AllowedValues:
- 10.0.0.0/8
- 172.16.0.0/12
- 192.168.0.0/16
VSwitch1CidrBlock:
Type: String
Label:
en: VSwitch 1 CIDR Block
zh-cn: 交换机1网段
Description:
en: Must be a sub-network segment of the proprietary network and is not occupied
by other v-switches.
zh-cn: 必须是所属专有网络的子网段,并且没有被其他交换机占用。
Default: 192.168.10.0/24
VSwitch2CidrBlock:
Type: String
Label:
en: VSwitch 2 CIDR Block
zh-cn: 交换机2网段
Description:
en: Must be a sub-network segment of the proprietary network and is not occupied
by other v-switches.
zh-cn: 必须是所属专有网络的子网段,并且没有被其他交换机占用。
Default: 192.168.20.0/24
VSwitch4CidrBlock:
Type: String
Label:
en: VSwitch 3 CIDR Block
zh-cn: 交换机3网段
Description:
en: Must be a sub-network segment of the proprietary network and is not occupied
by other v-switches.
zh-cn: 必须是所属专有网络的子网段,并且没有被其他交换机占用。
Default: 192.168.40.0/24
VSwitch5CidrBlock:
Type: String
Label:
en: VSwitch 4 CIDR Block
zh-cn: 交换机4网段
Description:
en: Must be a sub-network segment of the proprietary network and is not occupied
by other v-switches.
zh-cn: 必须是所属专有网络的子网段,并且没有被其他交换机占用。
Default: 192.168.50.0/24
VSwitch6CidrBlock:
Type: String
Label:
en: VSwitch 5 CIDR Block
zh-cn: 交换机5网段
Description:
en: Must be a sub-network segment of the proprietary network and is not occupied
by other v-switches.
zh-cn: 必须是所属专有网络的子网段,并且没有被其他交换机占用。
Default: 192.168.60.0/24
SecondaryPrivateIpAddressCount:
Type: Number
Label:
en: The Number of IPv4
zh-cn: IPv4数量
Description:
en: 'The number of private IP addresses assigned to elastic network CARDS, range
of values: 1~19.'
zh-cn: 为弹性网卡分配的私有IP地址数量,取值范围:1~19。
ConstraintDescription:
en: 'The number of private IP addresses assigned to an elastic network card,
range of values: 1~19.'
zh-cn: 为弹性网卡分配的私有IP地址数量,取值范围:1~19。
Default: 9
MinValue: 1
MaxValue: 19
WindowsVCenterInstanceType:
Type: String
Label:
en: Instance Specification
zh-cn: 实例规格
Description:
en: 'Fill in the specifications that can be used under the VSwitch availability
zone;</b></font><br>general specifications:<font color=''red''><b>ecs.g5.xlarge</b></font><br>note:
a few zones do not support general specifications<br>see detail: <a href=''https://www.alibabacloud.com/help/en/doc-detail/25378.html''
target=''_blank''><b><font color=''blue''>Instance Specification Family</font></a></b>'
zh-cn: 填写VSwitch可用区下可使用的规格;<br>通用规格:<font color='red'><b>ecs.g5.xlarge</b></font><br>注:可用区可能不支持通用规格<br>规格详见:<a
href='https://help.aliyun.com/document_detail/25378.html' target='_blank'><b><font
color='blue'>实例规格族</font></a></b>
AssociationProperty: ALIYUN::ECS::Instance::InstanceType
AssociationPropertyMetadata:
ZoneId: VSwitchZoneId
WindowsVCenterImageId:
Type: String
Label:
en: Image
zh-cn: 镜像
Description:
en: 'Data center ECS instance Image ID. Default:Windows Sever 2016, <br>see
detail: <b><a href=''https://www.alibabacloud.com/help/doc-detail/112977.html''
target=''_blank''><font color=''blue''>Find the mirror</font></a></b>'
zh-cn: '数据中心ECS实例镜像ID,默认使用Windows Sever 2016,<br>详情请参考: <a href=''https://help.aliyun.com/document_detail/112977.html''
target=''_blank''><font color=''blue''><b>公共镜像</b></font></a>'
Default: win2016_64_dtc
WindowsVCenterAllocatePublicIP:
Type: Boolean
Label:
en: Public IP
zh-cn: 公网IP
Description:
en: Whether to allocate public network IP.
zh-cn: 是否分配公网IP
Default: true
WindowsVCenterDiskCategory:
Type: String
Label:
en: Disk Type
zh-cn: 磁盘类型
Description:
en: '<font color=''blue''><b>Optional values:</b></font><br>[cloud_efficiency:
<font color=''green''>Efficient Cloud Disk</font>]<br>[cloud_ssd: <font color=''green''>SSD
Cloud Disk</font>]<br>[cloud_essd: <font color=''green''>ESSD Cloud Disk</font>]<br>[cloud:
<font color=''green''>Cloud Disk</font>]<br>[ephemeral_ssd: <font color=''green''>Local
SSD Cloud Disk</font>]'
zh-cn: '<font color=''blue''><b>可选值:</b></font><br>[cloud_efficiency: <font
color=''green''>高效云盘</font>]<br>[cloud_ssd: <font color=''green''>SSD云盘</font>]<br>[cloud_essd:
<font color=''green''>ESSD云盘</font>]<br>[cloud: <font color=''green''>普通云盘</font>]<br>[ephemeral_ssd:
<font color=''green''>本地SSD盘</font>]'
Default: cloud_efficiency
AllowedValues:
- cloud_efficiency
- cloud_ssd
- cloud
- cloud_essd
- ephemeral_ssd
WindowsVCenterSystemDiskSize:
Type: Number
Label:
en: System Disk Space
zh-cn: 系统盘空间
Description:
en: 'System disk size, range of values: 40-500, units: GB.'
zh-cn: 系统盘大小, 取值范围:[40, 500], 单位:GB。
ConstraintDescription:
en: 'Value range: 40~500. Unit: GB'
zh-cn: 取值范围:40~500。单位:GB
Default: 40
MinValue: 40
MaxValue: 500
WindowsVCenterDataDiskSize:
Type: Number
Label:
en: Disk Space
zh-cn: 数据盘空间
Description:
en: 'Disk space size, range of values: 20~32768, units: GB.'
zh-cn: 数据盘空间, 取值范围:20~32768,单位:GB。
ConstraintDescription:
en: 'Value range: 20~32768. Unit: GB'
zh-cn: 取值范围:20~32768, 单位:GB。
Default: 20
MinValue: 20
MaxValue: 32768
WindowsVCenterInternetMaxBandwidthIn:
Type: Number
Label:
en: The Peak Bandwidth
zh-cn: 带宽峰值
Description:
en: 'range of values: 1~100, units: MB.'
zh-cn: 取值范围:1~100。单位:MB
ConstraintDescription:
en: 'Value range: 1~100. Unit: MB'
zh-cn: 取值范围:1~100。单位:MB
Default: 10
MinValue: 1
MaxValue: 100
EcsPassword:
Type: String
Label:
en: Instance Password
zh-cn: 实例密码
Description:
en: Server login password, Length 8-30, must contain three(Capital letters,
lowercase letters, numbers, ()`~!@#$%^&*_-+=|{}[]:;'<>,.?/ Special symbol
in).
zh-cn: 服务器登录密码,长度8-30,必须包含三项(大写字母、小写字母、数字、 ()`~!@#$%^&*_-+=|{}[]:;'<>,.?/ 中的特殊符号)。
ConstraintDescription:
en: Length 8-30, must contain three(Capital letters, lowercase letters, numbers,
()`~!@#$%^&*_-+=|{}[]:;'<>,.?/ Special symbol in).
zh-cn: 长度8-30,必须包含三项(大写字母、小写字母、数字、 ()`~!@#$%^&*_-+=|{}[]:;'<>,.?/ 中的特殊符号)。
AllowedPattern: '[0-9A-Za-z\_\-\&:;''<>,=%`~!@#\(\)\$\^\*\+\|\{\}\[\]\.\?\/]+$'
MinLength: 8
MaxLength: 30
NoEcho: true
InstanceGroupAmount:
Type: Number
Label:
en: Number of Instances
zh-cn: 实例数量
Description:
en: 'Number of instances, range of values: [1,100].'
zh-cn: 创建的实例数量,范围:1~100。
ConstraintDescription:
en: 'Number of instances, range of values: [1,1000].'
zh-cn: 创建的ECS数量,范围:1~100。
Default: 2
MinValue: 1
MaxValue: 100
ImageId:
Type: String
Label:
en: Custom Image ID
zh-cn: 自定义镜像ID
Description:
en: Customize the ID of VMware mirror esxi-xdragon-date.
zh-cn: 自定义VMware镜像esxi-xdragon-date的ID。
InstanceType:
Type: String
Label:
en: Instance Specification
zh-cn: 实例规格
Description:
en: 'ECS Bare Metal Instance;fill in the specifications that can be used under
the VSwitch availability zone;</b></font><br>recommended specifications:<font
color=''red''><b>ecs.ebmc5s.24xlarge</b></font><br>note: a few zones do not
support recommended specifications<br>see detail: <a href=''https://www.alibabacloud.com/help/en/doc-detail/25378.html''
target=''_blank''><b><font color=''blue''>Instance Specification Family</font></a></b>'
zh-cn: 弹性裸金属服务器,填写VSwitch可用区下可使用的规格;<br>推荐规格:<font color='red'><b>ecs.ebmc5s.24xlarge</b></font><br>注:可用区可能不支持推荐规格<br>规格详见:<a
href='https://help.aliyun.com/document_detail/25378.html' target='_blank'><b><font
color='blue'>实例规格族</font></a></b>
AssociationProperty: ALIYUN::ECS::Instance::InstanceType
AssociationPropertyMetadata:
ZoneId: VSwitchZoneId
DiskCategory:
Type: String
Label:
en: Disk Type
zh-cn: 磁盘类型
Description:
en: '<font color=''blue''><b>Optional values:</b></font><br>[cloud_efficiency:
<font color=''green''>Efficient Cloud Disk</font>]<br>[cloud_ssd: <font color=''green''>SSD
Cloud Disk</font>]<br>[cloud_essd: <font color=''green''>ESSD Cloud Disk</font>]<br>[cloud:
<font color=''green''>Cloud Disk</font>]<br>[ephemeral_ssd: <font color=''green''>Local
SSD Cloud Disk</font>]'
zh-cn: '<font color=''blue''><b>可选值:</b></font><br>[cloud_efficiency: <font
color=''green''>高效云盘</font>]<br>[cloud_ssd: <font color=''green''>SSD云盘</font>]<br>[cloud_essd:
<font color=''green''>ESSD云盘</font>]<br>[cloud: <font color=''green''>普通云盘</font>]<br>[ephemeral_ssd:
<font color=''green''>本地SSD盘</font>]'
Default: cloud_efficiency
AllowedValues:
- cloud_efficiency
- cloud_ssd
- cloud
- cloud_essd
- ephemeral_ssd
DiskSize:
Type: Number
Label:
en: Disk Space
zh-cn: 数据盘空间
Description:
en: 'Disk space size, range of values: 20~500, units: GB.'
zh-cn: 数据盘空间, 取值范围:20~500,单位:GB。
ConstraintDescription:
en: 'Value range: 20~500. Unit: GB'
zh-cn: 取值范围:20~500, 单位:GB。
Default: 20
MinValue: 20
MaxValue: 500
SystemDiskSize:
Type: Number
Label:
en: System Disk Space
zh-cn: 系统盘空间
Description:
en: 'System disk size, range of values: 40-500, units: GB.'
zh-cn: 系统盘大小, 取值范围:[40, 500], 单位:GB。
ConstraintDescription:
en: 'Value range: 40~500. Unit: GB'
zh-cn: 取值范围:40~500。单位:GB
Default: 40
MinValue: 40
MaxValue: 500
PublicIP:
Type: Boolean
Label:
en: Public IP
zh-cn: 公网IP
Description:
en: Whether to allocate public network IP.
zh-cn: 是否分配公网IP
Default: true
InternetMaxBandwidthIn:
Type: Number
Label:
en: The Peak Bandwidth
zh-cn: 带宽峰值
Description:
en: 'Range of values: 1~100.'
zh-cn: 取值范围:1~100。
ConstraintDescription:
en: 'Value range: 1~100. Unit: MB'
zh-cn: 取值范围:1~100。单位:MB
Default: 10
MinValue: 1
MaxValue: 100
TestImageId:
Type: String
Label:
en: Image
zh-cn: 镜像
Description:
en: 'Test connection with ECS instance Image ID,<br>see detail: <b><a href=''https://www.alibabacloud.com/help/doc-detail/112977.html''
target=''_blank''><font color=''blue''>Find the mirror</font></a></b>'
zh-cn: '测试连接用ECS实例镜像ID,<br>详情请参考: <a href=''https://help.aliyun.com/document_detail/112977.html''
target=''_blank''><font color=''blue''><b>公共镜像</b></font></a>'
Default: centos_7.6
TestInstanceType:
Type: String
Label:
en: Instance Specification
zh-cn: 实例规格
Description:
en: 'Fill in the specifications that can be used under the VSwitch availability
zone;</b></font><br>general specifications:<font color=''red''><b>ecs.g5.large</b></font><br>note:
a few zones do not support general specifications<br>see detail: <a href=''https://www.alibabacloud.com/help/en/doc-detail/25378.html''
target=''_blank''><b><font color=''blue''>Instance Specification Family</font></a></b>'
zh-cn: 填写VSwitch可用区下可使用的规格;<br>通用规格:<font color='red'><b>ecs.g5.large</b></font><br>注:可用区可能不支持通用规格<br>规格详见:<a
href='https://help.aliyun.com/document_detail/25378.html' target='_blank'><b><font
color='blue'>实例规格族</font></a></b>
AssociationProperty: ALIYUN::ECS::Instance::InstanceType
AssociationPropertyMetadata:
ZoneId: VSwitchZoneId
TestSystemDiskCategory:
Type: String
Label:
en: Disk Type
zh-cn: 磁盘类型
Description:
en: '<font color=''blue''><b>Optional values:</b></font><br>[cloud_efficiency:
<font color=''green''>Efficient Cloud Disk</font>]<br>[cloud_ssd: <font color=''green''>SSD
Cloud Disk</font>]<br>[cloud_essd: <font color=''green''>ESSD Cloud Disk</font>]<br>[cloud:
<font color=''green''>Cloud Disk</font>]<br>[ephemeral_ssd: <font color=''green''>Local
SSD Cloud Disk</font>]'
zh-cn: '<font color=''blue''><b>可选值:</b></font><br>[cloud_efficiency: <font
color=''green''>高效云盘</font>]<br>[cloud_ssd: <font color=''green''>SSD云盘</font>]<br>[cloud_essd:
<font color=''green''>ESSD云盘</font>]<br>[cloud: <font color=''green''>普通云盘</font>]<br>[ephemeral_ssd:
<font color=''green''>本地SSD盘</font>]'
Default: cloud_efficiency
AllowedValues:
- cloud_efficiency
- cloud_ssd
- cloud
- cloud_essd
- ephemeral_ssd
TestSystemDiskSize:
Type: Number
Label:
en: System Disk Space
zh-cn: 系统盘空间
Description:
en: 'System disk size, range of values: 40-500, units: GB.'
zh-cn: 系统盘大小, 取值范围:[40, 500], 单位:GB。
ConstraintDescription:
en: 'Value range: 40~500. Unit: GB'
zh-cn: 取值范围:40~500。单位:GB
Default: 40
MinValue: 40
MaxValue: 500
TestAllocatePublicIP:
Type: Boolean
Label:
en: Public IP
zh-cn: 公网IP
Description:
en: Whether to allocate public network IP.
zh-cn: 是否分配公网IP
Default: true
SystemDiskCategory:
Type: String
Label:
en: Disk Type
zh-cn: 磁盘类型
Description:
en: '<font color=''blue''><b>Optional values:</b></font><br>[cloud_efficiency:
<font color=''green''>Efficient Cloud Disk</font>]<br>[cloud_ssd: <font color=''green''>SSD
Cloud Disk</font>]<br>[cloud_essd: <font color=''green''>ESSD Cloud Disk</font>]<br>[cloud:
<font color=''green''>Cloud Disk</font>]<br>[ephemeral_ssd: <font color=''green''>Local
SSD Cloud Disk</font>]'
zh-cn: '<font color=''blue''><b>可选值:</b></font><br>[cloud_efficiency: <font
color=''green''>高效云盘</font>]<br>[cloud_ssd: <font color=''green''>SSD云盘</font>]<br>[cloud_essd:
<font color=''green''>ESSD云盘</font>]<br>[cloud: <font color=''green''>普通云盘</font>]<br>[ephemeral_ssd:
<font color=''green''>本地SSD盘</font>]'
Default: cloud_efficiency
AllowedValues:
- cloud_efficiency
- cloud_ssd
- cloud
- cloud_essd
- ephemeral_ssd
Resources:
EcsVpcEbm:
Type: ALIYUN::ECS::VPC
Properties:
CidrBlock:
Ref: VpcCidrBlock
VpcName:
Fn::Join:
- '-'
- - StackId
- Ref: ALIYUN::StackId
Metadata:
ALIYUN::ROS::Designer:
id: 65b62caa-68dc-46dc-8034-726890b39960
EcsSecurityGroupEbm:
Type: ALIYUN::ECS::SecurityGroup
Properties:
VpcId:
Ref: EcsVpcEbm
SecurityGroupIngress:
- IpProtocol: tcp
Policy: accept
PortRange: 5900/5900
Priority: 1
SourceCidrIp: 0.0.0.0/0
- IpProtocol: tcp
Policy: accept
PortRange: 5901/5901
Priority: 1
SourceCidrIp: 0.0.0.0/0
SecurityGroupName:
Fn::Join:
- '-'
- - Ebm
- StackId
- Ref: ALIYUN::StackId
Tags:
- Key: best_practice
Value: '054'
Metadata:
ALIYUN::ROS::Designer:
id: 49195fe9-79a0-439e-a31a-b40c1d127f66
EcsVSwitch1Management:
Type: ALIYUN::ECS::VSwitch
Properties:
ZoneId:
Ref: VSwitchZoneId
VpcId:
Ref: EcsVpcEbm
CidrBlock:
Ref: VSwitch1CidrBlock
VSwitchName:
Fn::Join:
- '-'
- - VSwitch1
- Management
- StackId
- Ref: ALIYUN::StackId
Metadata:
ALIYUN::ROS::Designer:
id: 5df5c713-f1c8-436c-80f3-30ec8448403e
EcsInstanceGroupEbm:
Type: ALIYUN::ECS::InstanceGroup
Properties:
ZoneId:
Ref: VSwitchZoneId
VpcId:
Ref: EcsVpcEbm
VSwitchId:
Ref: EcsVSwitch1Management
SecurityGroupId:
Ref: EcsSecurityGroupEbm
ImageId:
Ref: ImageId
AllocatePublicIP:
Ref: PublicIP
DiskMappings:
- Category:
Ref: DiskCategory
Size:
Ref: DiskSize
InstanceName: ebm-[1,2]
InstanceType:
Ref: InstanceType
InternetChargeType: PayByTraffic
InternetMaxBandwidthIn:
Ref: InternetMaxBandwidthIn
IoOptimized: optimized
MaxAmount:
Ref: InstanceGroupAmount
MinAmount:
Ref: InstanceGroupAmount
SystemDiskCategory:
Ref: DiskCategory
SystemDiskSize:
Ref: SystemDiskSize
Tags:
- Key: '054'
Value: best_practice
Metadata:
ALIYUN::ROS::Designer:
id: a2834a9a-e98e-4300-aec3-fa724ac7b7a5
EcsEni1NsxManagement:
Type: ALIYUN::ECS::NetworkInterface
Properties:
VSwitchId:
Ref: EcsVSwitch1Management
SecurityGroupId:
Ref: EcsSecurityGroupEbm
NetworkInterfaceName: nsx-management
DependsOn:
- EcsInstanceGroupEbm
Metadata:
ALIYUN::ROS::Designer:
id: 997025a3-d942-4c38-a96e-01a1e1fea2f0
VpcEip1NsxManager:
Type: ALIYUN::VPC::EIP
Properties:
Bandwidth: 10
InstanceChargeType: Postpaid
InternetChargeType: PayByTraffic
Metadata:
ALIYUN::ROS::Designer:
id: 94ed0ced-a935-4597-beb8-a0db8e9f1c57
VpcEip1Association1NsxManagement:
Type: ALIYUN::VPC::EIPAssociation
Properties:
InstanceId:
Ref: EcsEni1NsxManagement
AllocationId:
Ref: VpcEip1NsxManager
DependsOn:
- EcsEni1NsxManagement
- VpcEip1NsxManager
Metadata:
ALIYUN::ROS::Designer:
id: 89ce39c3-b1ae-4e72-949e-6f2c4a4b1c51
EcsAssignPrivateIpAddresses1NsxManagement:
Type: ALIYUN::ECS::AssignPrivateIpAddresses
Properties:
NetworkInterfaceId:
Ref: EcsEni1NsxManagement
SecondaryPrivateIpAddressCount:
Ref: SecondaryPrivateIpAddressCount
DependsOn:
- EcsEni1NsxManagement
- VpcEip1Association1NsxManagement
Metadata:
ALIYUN::ROS::Designer:
id: abb8bc2b-bc3f-4dc5-9aaf-31a923b0bde7
EcsEni2NsxController:
Type: ALIYUN::ECS::NetworkInterface
Properties:
VSwitchId:
Ref: EcsVSwitch1Management
SecurityGroupId:
Ref: EcsSecurityGroupEbm
NetworkInterfaceName: nsx-controller
DependsOn:
- EcsInstanceGroupEbm
Metadata:
ALIYUN::ROS::Designer:
id: 37c4d2fa-f505-449c-a2ca-ae70e9aa7702
EcsAssignPrivateIpAddresses2NsxController:
Type: ALIYUN::ECS::AssignPrivateIpAddresses
Properties:
NetworkInterfaceId:
Ref: EcsEni2NsxController
SecondaryPrivateIpAddressCount:
Ref: SecondaryPrivateIpAddressCount
DependsOn:
- EcsEni2NsxController
Metadata:
ALIYUN::ROS::Designer:
id: ee475046-0e3d-4448-81aa-36b8a3aaa186
EcsEni3NsxEdge:
Type: ALIYUN::ECS::NetworkInterface
Properties:
VSwitchId:
Ref: EcsVSwitch1Management
SecurityGroupId:
Ref: EcsSecurityGroupEbm
NetworkInterfaceName: nsx-edge
DependsOn:
- EcsInstanceGroupEbm
Metadata:
ALIYUN::ROS::Designer:
id: 0e9e1ea9-e3fb-4176-b465-ca40c0ab72f5
EcsAssignPrivateIpAddresses3NsxEdge:
Type: ALIYUN::ECS::AssignPrivateIpAddresses
Properties:
NetworkInterfaceId:
Ref: EcsEni3NsxEdge
SecondaryPrivateIpAddressCount:
Ref: SecondaryPrivateIpAddressCount
DependsOn:
- EcsEni3NsxEdge
Metadata:
ALIYUN::ROS::Designer:
id: 91456691-d2d4-452f-8033-d1cef562ac6d
EcsVSwitch4Overlay:
Type: ALIYUN::ECS::VSwitch
Properties:
ZoneId:
Ref: VSwitchZoneId
VpcId:
Ref: EcsVpcEbm
CidrBlock:
Ref: VSwitch4CidrBlock
VSwitchName:
Fn::Join:
- '-'
- - VSwitch4
- Overlay
- StackId
- Ref: ALIYUN::StackId
Metadata:
ALIYUN::ROS::Designer:
id: 23edb64c-a671-4ea9-9eac-ac4c499cdfc6
EcsEni4VTepNetwork:
Type: ALIYUN::ECS::NetworkInterface
Properties:
VSwitchId:
Ref: EcsVSwitch4Overlay
SecurityGroupId:
Ref: EcsSecurityGroupEbm
NetworkInterfaceName: vtep-network
DependsOn:
- EcsInstanceGroupEbm
Metadata:
ALIYUN::ROS::Designer:
id: c498a6e5-37fe-4bc1-9797-3eb57858ae1f
EcsAssignPrivateIpAddresses4VTepNetwork:
Type: ALIYUN::ECS::AssignPrivateIpAddresses
Properties:
NetworkInterfaceId:
Ref: EcsEni4VTepNetwork
SecondaryPrivateIpAddressCount:
Ref: SecondaryPrivateIpAddressCount
DependsOn:
- EcsEni4VTepNetwork
Metadata:
ALIYUN::ROS::Designer:
id: 5762992b-f4d1-4604-bce5-b264a587facc
EcsEni5VTepEdge:
Type: ALIYUN::ECS::NetworkInterface
Properties:
VSwitchId:
Ref: EcsVSwitch4Overlay
SecurityGroupId:
Ref: EcsSecurityGroupEbm
NetworkInterfaceName: vtep-edge
DependsOn:
- EcsInstanceGroupEbm
Metadata:
ALIYUN::ROS::Designer:
id: e20570fb-4439-4c14-a923-880f09dfd160
EcsAssignPrivateIpAddresses5VTepEdge:
Type: ALIYUN::ECS::AssignPrivateIpAddresses
Properties:
NetworkInterfaceId:
Ref: EcsEni5VTepEdge
SecondaryPrivateIpAddressCount:
Ref: SecondaryPrivateIpAddressCount
DependsOn:
- EcsEni5VTepEdge
Metadata:
ALIYUN::ROS::Designer:
id: b81a9e53-c086-4afc-b06f-2ada26b8809c
EcsVSwitch5External:
Type: ALIYUN::ECS::VSwitch
Properties:
ZoneId:
Ref: VSwitchZoneId
VpcId:
Ref: EcsVpcEbm
CidrBlock:
Ref: VSwitch5CidrBlock
VSwitchName:
Fn::Join:
- '-'
- - VSwitch5
- External
- StackId
- Ref: ALIYUN::StackId
Metadata:
ALIYUN::ROS::Designer:
id: 22180628-b297-4cd8-a02c-5b477b7dd364
EcsEni6ExtNetwork:
Type: ALIYUN::ECS::NetworkInterface
Properties:
VSwitchId:
Ref: EcsVSwitch5External
SecurityGroupId:
Ref: EcsSecurityGroupEbm
NetworkInterfaceName: ext-network
DependsOn:
- EcsInstanceGroupEbm
Metadata:
ALIYUN::ROS::Designer:
id: 53d5b443-f6b0-4549-a61d-ab00ab93faad
EcsAssignPrivateIpAddresses6ExtNetwork:
Type: ALIYUN::ECS::AssignPrivateIpAddresses
Properties:
NetworkInterfaceId:
Ref: EcsEni6ExtNetwork
SecondaryPrivateIpAddressCount:
Ref: SecondaryPrivateIpAddressCount
DependsOn:
- EcsEni6ExtNetwork
Metadata:
ALIYUN::ROS::Designer:
id: d0ad679c-120b-4047-9be5-74b5dfa690ad
EcsVSwitch2VMotion:
Type: ALIYUN::ECS::VSwitch
Properties:
ZoneId:
Ref: VSwitchZoneId
VpcId:
Ref: EcsVpcEbm
CidrBlock:
Ref: VSwitch2CidrBlock
VSwitchName:
Fn::Join:
- '-'
- - VSwitch2
- VMotion
- StackId
- Ref: ALIYUN::StackId
Metadata:
ALIYUN::ROS::Designer:
id: bd676f3a-0a26-4621-be51-d05fbfdf244f
EcsEni7VMotionNetwork:
Type: ALIYUN::ECS::NetworkInterface
Properties:
VSwitchId:
Ref: EcsVSwitch2VMotion
SecurityGroupId:
Ref: EcsSecurityGroupEbm
NetworkInterfaceName: vmotion-network
DependsOn:
- EcsInstanceGroupEbm
Metadata:
ALIYUN::ROS::Designer:
id: 8518ea84-5bed-4bf4-bd6d-6adad83b5c04
EcsAssignPrivateIpAddresses7VMotionNetwork:
Type: ALIYUN::ECS::AssignPrivateIpAddresses
Properties:
NetworkInterfaceId:
Ref: EcsEni7VMotionNetwork
SecondaryPrivateIpAddressCount:
Ref: SecondaryPrivateIpAddressCount
DependsOn:
- EcsEni7VMotionNetwork
Metadata:
ALIYUN::ROS::Designer:
id: 0178781a-5f70-4d82-92d5-998e0a390776
EcsEni8VMotionCompute:
Type: ALIYUN::ECS::NetworkInterface
Properties:
VSwitchId:
Ref: EcsVSwitch2VMotion
SecurityGroupId:
Ref: EcsSecurityGroupEbm
NetworkInterfaceName: vmotion-compute
DependsOn:
- EcsInstanceGroupEbm
Metadata:
ALIYUN::ROS::Designer:
id: f68622b7-5b5e-4581-ae0b-36877db2bd61
EcsAssignPrivateIpAddresses8VMotionCompute:
Type: ALIYUN::ECS::AssignPrivateIpAddresses
Properties:
NetworkInterfaceId:
Ref: EcsEni8VMotionCompute
SecondaryPrivateIpAddressCount:
Ref: SecondaryPrivateIpAddressCount
DependsOn:
- EcsEni8VMotionCompute
Metadata:
ALIYUN::ROS::Designer:
id: d0710e9f-ee0a-4715-aa4f-a842565af2ed
EcsEni9VTepCompute:
Type: ALIYUN::ECS::NetworkInterface
Properties:
VSwitchId:
Ref: EcsVSwitch4Overlay
SecurityGroupId:
Ref: EcsSecurityGroupEbm
NetworkInterfaceName: vtep-compute
DependsOn:
- EcsInstanceGroupEbm
Metadata:
ALIYUN::ROS::Designer:
id: ba1f5a26-b88a-4bfb-aa5f-23a42cf7c8c0
EcsAssignPrivateIpAddresses9VTepCompute:
Type: ALIYUN::ECS::AssignPrivateIpAddresses
Properties:
NetworkInterfaceId:
Ref: EcsEni9VTepCompute
SecondaryPrivateIpAddressCount:
Ref: SecondaryPrivateIpAddressCount
DependsOn:
- EcsEni9VTepCompute
Metadata:
ALIYUN::ROS::Designer:
id: 4ddf7527-5778-4d11-ab12-92fd45393c8d
EcsEni1AttachmentEbmNsxM2:
Type: ALIYUN::ECS::NetworkInterfaceAttachment
Properties:
NetworkInterfaceId:
Ref: EcsEni1NsxManagement
InstanceId:
Fn::Select:
- '0'
- Fn::GetAtt:
- EcsInstanceGroupEbm
- InstanceIds
DependsOn:
- EcsAssignPrivateIpAddresses1NsxManagement
- EcsEni1NsxManagement
- EcsInstanceGroupEbm
Metadata:
ALIYUN::ROS::Designer:
id: ee5cfb12-8006-4b86-9055-7aab16c0ab20
EcsEni2AttachmentEbmNsxC2:
Type: ALIYUN::ECS::NetworkInterfaceAttachment
Properties:
NetworkInterfaceId:
Ref: EcsEni2NsxController
InstanceId:
Fn::Select:
- '0'
- Fn::GetAtt:
- EcsInstanceGroupEbm
- InstanceIds
DependsOn:
- EcsAssignPrivateIpAddresses2NsxController
- EcsEni1AttachmentEbmNsxM2
- EcsEni2NsxController
Metadata:
ALIYUN::ROS::Designer:
id: 03c19fc8-7e0c-4c54-bfbc-dce76e48336a
EcsEni3AttachmentEbmNsxE2:
Type: ALIYUN::ECS::NetworkInterfaceAttachment
Properties:
NetworkInterfaceId:
Ref: EcsEni3NsxEdge
InstanceId:
Fn::Select:
- '0'
- Fn::GetAtt:
- EcsInstanceGroupEbm
- InstanceIds
DependsOn:
- EcsAssignPrivateIpAddresses3NsxEdge
- EcsEni2AttachmentEbmNsxC2
- EcsEni3NsxEdge
Metadata:
ALIYUN::ROS::Designer:
id: a3faac40-3d62-4add-8327-26168f79012e
EcsEni4AttachmentEbmVTepN2:
Type: ALIYUN::ECS::NetworkInterfaceAttachment
Properties:
NetworkInterfaceId:
Ref: EcsEni4VTepNetwork
InstanceId:
Fn::Select:
- '0'
- Fn::GetAtt:
- EcsInstanceGroupEbm
- InstanceIds
DependsOn:
- EcsAssignPrivateIpAddresses4VTepNetwork
- EcsEni3AttachmentEbmNsxE2
- EcsEni4VTepNetwork
Metadata:
ALIYUN::ROS::Designer:
id: cc837c1a-334c-4a0e-a4a0-4c1fcb6a1615
EcsEni5AttachmentEbmVTepE2:
Type: ALIYUN::ECS::NetworkInterfaceAttachment
Properties:
NetworkInterfaceId:
Fn::GetAtt:
- EcsEni5VTepEdge
- NetworkInterfaceId
InstanceId:
Fn::Select:
- '0'
- Fn::GetAtt:
- EcsInstanceGroupEbm
- InstanceIds
DependsOn:
- EcsAssignPrivateIpAddresses5VTepEdge
- EcsEni4AttachmentEbmVTepN2
Metadata:
ALIYUN::ROS::Designer:
id: 9bdff8c2-8b99-42d3-8ed5-985f8983cf60
EcsEni6AttachmentEbmExtN2:
Type: ALIYUN::ECS::NetworkInterfaceAttachment
Properties:
NetworkInterfaceId:
Ref: EcsEni6ExtNetwork
InstanceId:
Fn::Select:
- '0'
- Fn::GetAtt:
- EcsInstanceGroupEbm
- InstanceIds
DependsOn:
- EcsAssignPrivateIpAddresses6ExtNetwork
- EcsEni5AttachmentEbmVTepE2
- EcsEni6ExtNetwork
Metadata:
ALIYUN::ROS::Designer:
id: 81a202d5-b115-4d24-a24f-28e85f040b3d
EcsEni7AttachmentEbmVMotionN2:
Type: ALIYUN::ECS::NetworkInterfaceAttachment
Properties:
NetworkInterfaceId:
Ref: EcsEni7VMotionNetwork
InstanceId:
Fn::Select:
- '0'
- Fn::GetAtt:
- EcsInstanceGroupEbm
- InstanceIds
DependsOn:
- EcsAssignPrivateIpAddresses7VMotionNetwork
- EcsEni6AttachmentEbmExtN2
- EcsEni7VMotionNetwork
Metadata:
ALIYUN::ROS::Designer:
id: 408a2fd4-9698-4db5-aa6b-35d536f4a3fc
EcsEni8AttachmentEbmVMotionC2:
Type: ALIYUN::ECS::NetworkInterfaceAttachment
Properties:
NetworkInterfaceId:
Ref: EcsEni8VMotionCompute
InstanceId:
Fn::Select:
- '0'
- Fn::GetAtt:
- EcsInstanceGroupEbm
- InstanceIds
DependsOn:
- EcsAssignPrivateIpAddresses8VMotionCompute
- EcsEni7AttachmentEbmVMotionN2
- EcsEni8VMotionCompute
Metadata:
ALIYUN::ROS::Designer:
id: 28966b70-5b4a-4a45-833a-56b968b0fe67
EcsEni9AttachmentEbmVTepC2:
Type: ALIYUN::ECS::NetworkInterfaceAttachment
Properties:
NetworkInterfaceId:
Ref: EcsEni9VTepCompute
InstanceId:
Fn::Select:
- '0'
- Fn::GetAtt:
- EcsInstanceGroupEbm
- InstanceIds
DependsOn:
- EcsAssignPrivateIpAddresses9VTepCompute
- EcsEni8AttachmentEbmVMotionC2
- EcsEni9VTepCompute
Metadata:
ALIYUN::ROS::Designer:
id: 97f21161-342d-4f5b-beb6-84418d276235
EcsVSwitch6Vm:
Type: ALIYUN::ECS::VSwitch
Properties:
ZoneId:
Ref: VSwitchZoneId
VpcId:
Ref: EcsVpcEbm
CidrBlock: