forked from aliyun/ros-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kingdee-windows-server-on-cloud.yml
271 lines (271 loc) · 9.68 KB
/
kingdee-windows-server-on-cloud.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
ROSTemplateFormatVersion: '2015-09-01'
Description:
zh-cn: 部署金蝶云星空7.5企业版至新VPC单节点,需外部提供许可证,含ECS、VPC、安全组设置。
en: Deploying Kingdee Cloud Star 7.5 Enterprise Edition to a new single-node VPC
requires externally provided licenses, including setup of ECS (Elastic Compute
Service), VPC (Virtual Private Cloud), and security groups.
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,which is recommended to be different from other VSwitch Availability
Zone</font></b>
zh-cn: 可用区ID。<br><b>注: <font color='blue'>选择前请确认该可用区是否支持创建ECS资源的规格,建议与其他交换机可用区不同</font></b>
AssociationProperty: ALIYUN::ECS::Instance:ZoneId
InstanceImageId:
Type: String
Label:
en: ECS Image ID
zh-cn: ECS镜像ID
Description:
en: Please upload a custom image to the Shenzhen region, the current application
for non-production environment stand-alone deployment, this custom image includes
Kingdee Cloud Star 7.5 Enterprise app, SQLServer 2016 SP2 app, users need
to provide the Kingdee Cloud Star license, SQL Server license separately.
zh-cn: 请上传自定义镜像,目前该应用适用于非生产环境单机版部署,此自定义镜像需要包含金蝶云星空7.5企业版应用、SQLServer 2016 SP2应用,使用者需要单独提供金蝶云星空许可、SQLServer许可。
InstanceType:
Type: String
Label:
en: Instance Type
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.c5.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.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
Default: ecs.g5.xlarge
InstancePublicIP:
Type: Boolean
Label:
en: Allocate Public IP
zh-cn: 分配公网IP
Description:
en: Whether to assign a common IP.
zh-cn: 是否分配公网IP。
Default: false
InstanceHostName:
Type: String
Label:
en: ECS Hostname
zh-cn: ECS主机名
Description:
en: The minimum length is 2 characters. English periods (.) and dashes (-) cannot
be used as the first and last characters of the host name and cannot be used
continuously, and the maximum length of the <br> Windows platform is 15 characters,
supporting English letters, numbers, or dashes (-). English periods (.) are
not supported, they cannot be all numbers, and the maximum length of the <br>
Linux platform is 30 characters, at intervals between English periods (.),
each segment consisting of English letters, numbers, and dashes (-).
zh-cn: 最小长度为2个字符。英文句点(.)和短划线(-)不能作为主机名的首尾字符,且不能连续使用;<br>Windows平台最大长度为15个字符,支持英文字母、数字或短划线(-)。不支持英文句点(.),不能全是数字;<br>Linux平台最大长度为30个字符,以英文句点(.)间隔,每段可以由英文字母、数字和短划线(-)组成。
MinLength: 2
MaxLength: 30
InstancePassword:
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
Confirm: true
SystemDiskSize:
Type: Number
Label:
en: System Disk Space
zh-cn: 系统盘空间
Description:
en: 'System disk size, range of values: 100-500, units: GB.'
zh-cn: 系统盘大小, 取值范围:[100, 500], 单位:GB。
Default: 100
SystemDiskCategory:
Type: String
Label:
en: System 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:
EcsVpc:
Type: ALIYUN::ECS::VPC
Properties:
CidrBlock: 192.168.0.0/16
VpcName:
Fn::Join:
- '-'
- - StackId
- Ref: ALIYUN::StackId
Metadata:
ALIYUN::ROS::Designer:
id: 92c6daaa-0978-4925-bb6b-188340507d5c
EcsSecurityGroup:
Type: ALIYUN::ECS::SecurityGroup
Properties:
VpcId:
Ref: EcsVpc
SecurityGroupEgress:
- DestCidrIp: 0.0.0.0/0
IpProtocol: all
NicType: intranet
PortRange: -1/-1
Priority: 1
SecurityGroupIngress:
- IpProtocol: all
NicType: intranet
PortRange: -1/-1
Priority: 1
SourceCidrIp: 0.0.0.0/0
Metadata:
ALIYUN::ROS::Designer:
id: c8c8e38d-cf9a-4023-92f4-b0df10654e28
EcsVSwitch:
Type: ALIYUN::ECS::VSwitch
Properties:
ZoneId:
Ref: VSwitchZoneId
VpcId:
Ref: EcsVpc
CidrBlock: 192.168.0.0/24
Metadata:
ALIYUN::ROS::Designer:
id: c53d1e62-1f8d-4a15-962e-49ebe0deab92
KingSeeServer:
Type: ALIYUN::ECS::Instance
Properties:
VpcId:
Ref: EcsVpc
VSwitchId:
Ref: EcsVSwitch
SecurityGroupId:
Ref: EcsSecurityGroup
ImageId:
Ref: InstanceImageId
AllocatePublicIP:
Ref: InstancePublicIP
HostName:
Ref: InstanceHostName
InstanceType:
Ref: InstanceType
IoOptimized: optimized
Password:
Ref: InstancePassword
SystemDiskCategory:
Ref: SystemDiskCategory
SystemDiskSize:
Ref: SystemDiskSize
Metadata:
ALIYUN::ROS::Designer:
id: acec6d25-1a3d-4305-bb5c-45c6858aaa70
Outputs:
EcsHostName:
Value:
Fn::GetAtt:
- KingSeeServer
- HostName
EcsInstanceId:
Value:
Fn::GetAtt:
- KingSeeServer
- InstanceId
EcsPrivateIp:
Value:
Fn::GetAtt:
- KingSeeServer
- PrivateIp
Metadata:
ALIYUN::ROS::Interface:
ParameterGroups:
- Parameters:
- VSwitchZoneId
- InstanceImageId
- InstanceType
- InstancePublicIP
- InstanceHostName
- InstancePassword
- SystemDiskSize
- SystemDiskCategory
Label:
default:
en: KingdeeServer Configuration
zh-cn: 金蝶主机配置
TemplateTags:
- acs:solution:企业软件上云:金蝶云星空应用部署上云(新建专有网络)-单机服务器部署
ALIYUN::ROS::Designer:
8d11b979-5df1-4538-8ab1-5043295900a3:
source:
id: acec6d25-1a3d-4305-bb5c-45c6858aaa70
target:
id: c8c8e38d-cf9a-4023-92f4-b0df10654e28
z: 1
92c6daaa-0978-4925-bb6b-188340507d5c:
embeds:
- c8c8e38d-cf9a-4023-92f4-b0df10654e28
- c53d1e62-1f8d-4a15-962e-49ebe0deab92
position:
x: 485
y: 205
size:
height: 344
width: 486.5244140625
z: 0
acec6d25-1a3d-4305-bb5c-45c6858aaa70:
position:
x: 601
y: 341
size:
height: 60
width: 60
z: 2
c53d1e62-1f8d-4a15-962e-49ebe0deab92:
embeds:
- acec6d25-1a3d-4305-bb5c-45c6858aaa70
position:
x: 544
y: 279
size:
height: 180
width: 171
z: 1
c8c8e38d-cf9a-4023-92f4-b0df10654e28:
position:
x: 860
y: 341
size:
height: 60
width: 60
z: 1