You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cloudformation/dle_cf_template.yaml
+73-157
Original file line number
Diff line number
Diff line change
@@ -101,62 +101,31 @@ Parameters:
101
101
InstanceType:
102
102
Description: DLE EC2 instance type
103
103
Type: String
104
-
Default: t2.small
104
+
Default: m5.4xlarge
105
105
AllowedValues:
106
-
- t1.micro
107
-
- t2.nano
108
-
- t2.micro
109
-
- t2.small
110
-
- t2.medium
111
-
- t2.large
112
-
- m1.small
113
-
- m1.medium
114
-
- m1.large
115
-
- m1.xlarge
116
-
- m2.xlarge
117
-
- m2.2xlarge
118
-
- m2.4xlarge
119
-
- m3.medium
120
-
- m3.large
121
-
- m3.xlarge
122
-
- m3.2xlarge
123
-
- m4.large
124
-
- m4.xlarge
125
-
- m4.2xlarge
126
-
- m4.4xlarge
127
-
- m4.10xlarge
128
-
- c1.medium
129
-
- c1.xlarge
130
-
- c3.large
131
-
- c3.xlarge
132
-
- c3.2xlarge
133
-
- c3.4xlarge
134
-
- c3.8xlarge
135
-
- c4.large
136
-
- c4.xlarge
137
-
- c4.2xlarge
138
-
- c4.4xlarge
139
-
- c4.8xlarge
140
-
- g2.2xlarge
141
-
- g2.8xlarge
142
-
- r3.large
143
-
- r3.xlarge
144
-
- r3.2xlarge
145
-
- r3.4xlarge
146
-
- r3.8xlarge
147
-
- i2.xlarge
148
-
- i2.2xlarge
149
-
- i2.4xlarge
150
-
- i2.8xlarge
151
-
- d2.xlarge
152
-
- d2.2xlarge
153
-
- d2.4xlarge
154
-
- d2.8xlarge
155
-
- hi1.4xlarge
156
-
- hs1.8xlarge
157
-
- cr1.8xlarge
158
-
- cc2.8xlarge
159
-
- cg1.4xlarge
106
+
- r5.large
107
+
- r5.xlarge
108
+
- r5.2xlarge
109
+
- r5.4xlarge
110
+
- r5.8xlarge
111
+
- r5.12xlarge
112
+
- r5.16xlarge
113
+
- r5.24xlarge
114
+
- m5.large
115
+
- m5.xlarge
116
+
- m5.2xlarge
117
+
- m5.4xlarge
118
+
- m5.8xlarge
119
+
- m5.12xlarge
120
+
- m5.16xlarge
121
+
- m5.24xlarge
122
+
- t3.nano
123
+
- t3.micro
124
+
- t3.small
125
+
- t3.medium
126
+
- t3.large
127
+
- t3.xlarge
128
+
- t3.2xlarge
160
129
ConstraintDescription: must be a valid EC2 instance type.
161
130
SSHLocation:
162
131
Description: CIDR in format x.x.x.x/32 to allow one specific IP address access, 0.0.0.0/0 to allow all IP addresses access, or another CIDR range
@@ -170,13 +139,13 @@ Parameters:
170
139
Type: Number
171
140
Default: 40
172
141
CertificateSubdomain:
173
-
Description: Subdomain to obtain a TLS certificate for (for example, dle)
142
+
Description: Subdomain to obtain a TLS certificate for (for example, dle). Leave it empty if you don't need SSL connection or don't have Route 53 hosted zone.
174
143
Type: String
175
144
CertificateHostedZone:
176
-
Description: Hosted zone to obtain a TLS certificate for (for example, example.com)
145
+
Description: Hosted zone to obtain a TLS certificate for (for example, example.com). Leave it empty if you don't need SSL connection or don't have Route 53 hosted zone.
177
146
Type: String
178
147
CertificateEmail:
179
-
Description: Email address for important account notifications about the issued TLS certificate
148
+
Description: Email address for important account notifications about the issued TLS certificate. Leave it empty if you don't need SSL connection or don't have Route 53 hosted zone.
180
149
Type: String
181
150
AllowedPattern: '^$|[^\s@]+@[^\s@]+\.[^\s@]+'
182
151
Default: ''
@@ -205,7 +174,7 @@ Parameters:
205
174
SourcePostgresVersion:
206
175
Description: Source database Postgres version
207
176
Type: String
208
-
Default: 12
177
+
Default: 14
209
178
AllowedValues:
210
179
- 9.6
211
180
- 10
@@ -246,144 +215,87 @@ Parameters:
246
215
Default: ''
247
216
Mappings:
248
217
AWSInstanceType2Arch:
249
-
t1.micro:
218
+
r5.large:
250
219
Arch: HVM64
251
-
t2.nano:
220
+
r5.xlarge:
252
221
Arch: HVM64
253
-
t2.micro:
222
+
r5.2xlarge:
254
223
Arch: HVM64
255
-
t2.small:
224
+
r5.4xlarge:
256
225
Arch: HVM64
257
-
t2.medium:
226
+
r5.8xlarge:
258
227
Arch: HVM64
259
-
t2.large:
228
+
r5.12xlarge:
260
229
Arch: HVM64
261
-
m1.small:
230
+
r5.16xlarge:
262
231
Arch: HVM64
263
-
m1.medium:
232
+
r5.24xlarge:
264
233
Arch: HVM64
265
-
m1.large:
234
+
m5.large:
266
235
Arch: HVM64
267
-
m1.xlarge:
236
+
m5.xlarge:
268
237
Arch: HVM64
269
-
m2.xlarge:
238
+
m5.2xlarge:
270
239
Arch: HVM64
271
-
m2.2xlarge:
240
+
m5.4xlarge:
272
241
Arch: HVM64
273
-
m2.4xlarge:
242
+
m5.8xlarge:
274
243
Arch: HVM64
275
-
m3.medium:
244
+
m5.12xlarge:
276
245
Arch: HVM64
277
-
m3.large:
246
+
m5.16xlarge:
278
247
Arch: HVM64
279
-
m3.xlarge:
248
+
m5.24xlarge:
280
249
Arch: HVM64
281
-
m3.2xlarge:
250
+
t3.nano:
282
251
Arch: HVM64
283
-
m4.large:
252
+
t3.micro:
284
253
Arch: HVM64
285
-
m4.xlarge:
254
+
t3.small:
286
255
Arch: HVM64
287
-
m4.2xlarge:
256
+
t3.medium:
288
257
Arch: HVM64
289
-
m4.4xlarge:
258
+
t3.large:
290
259
Arch: HVM64
291
-
m4.10xlarge:
260
+
t3.xlarge:
292
261
Arch: HVM64
293
-
c1.medium:
294
-
Arch: HVM64
295
-
c1.xlarge:
296
-
Arch: HVM64
297
-
c3.large:
298
-
Arch: HVM64
299
-
c3.xlarge:
300
-
Arch: HVM64
301
-
c3.2xlarge:
302
-
Arch: HVM64
303
-
c3.4xlarge:
304
-
Arch: HVM64
305
-
c3.8xlarge:
306
-
Arch: HVM64
307
-
c4.large:
308
-
Arch: HVM64
309
-
c4.xlarge:
310
-
Arch: HVM64
311
-
c4.2xlarge:
312
-
Arch: HVM64
313
-
c4.4xlarge:
314
-
Arch: HVM64
315
-
c4.8xlarge:
316
-
Arch: HVM64
317
-
r3.large:
318
-
Arch: HVM64
319
-
r3.xlarge:
320
-
Arch: HVM64
321
-
r3.2xlarge:
322
-
Arch: HVM64
323
-
r3.4xlarge:
324
-
Arch: HVM64
325
-
r3.8xlarge:
326
-
Arch: HVM64
327
-
i2.xlarge:
328
-
Arch: HVM64
329
-
i2.2xlarge:
330
-
Arch: HVM64
331
-
i2.4xlarge:
332
-
Arch: HVM64
333
-
i2.8xlarge:
334
-
Arch: HVM64
335
-
d2.xlarge:
336
-
Arch: HVM64
337
-
d2.2xlarge:
338
-
Arch: HVM64
339
-
d2.4xlarge:
340
-
Arch: HVM64
341
-
d2.8xlarge:
342
-
Arch: HVM64
343
-
hi1.4xlarge:
344
-
Arch: HVM64
345
-
hs1.8xlarge:
346
-
Arch: HVM64
347
-
cr1.8xlarge:
348
-
Arch: HVM64
349
-
cc2.8xlarge:
262
+
t3.2xlarge:
350
263
Arch: HVM64
351
264
AWSRegionArch2AMI:
352
265
eu-north-1:
353
-
HVM64: ami-034e4aed1f3ca0c3c
266
+
HVM64: ami-0665ae2cfbd4e342d
354
267
ap-south-1:
355
-
HVM64: ami-0e659eacedfb041d7
268
+
HVM64: ami-0e374efc30e300f09
356
269
eu-west-3:
357
-
HVM64: ami-08e35ca54e9190c97
270
+
HVM64: ami-0efda6ea87e5c4d96
358
271
eu-west-2:
359
-
HVM64: ami-0ecae7aba70abc116
272
+
HVM64: ami-0687cbc11ebc16691
360
273
eu-west-1:
361
-
HVM64: ami-042f1da51ef5fd484
274
+
HVM64: ami-0d50368f3e8f1ccc0
362
275
ap-northeast-3:
363
-
HVM64: ami-01e9e9d567c32dd8f
276
+
HVM64: ami-0e65633c1b72de22f
364
277
ap-northeast-2:
365
-
HVM64: ami-090fe41b7122583e1
278
+
HVM64: ami-02f4e02a76c68579d
366
279
ap-northeast-1:
367
-
HVM64: ami-071b0fe046bc270b3
280
+
HVM64: ami-04603eedf1f55b4cb
368
281
sa-east-1:
369
-
HVM64: ami-07a47547657f8dc18
282
+
HVM64: ami-05267d11294fbeb12
370
283
ca-central-1:
371
-
HVM64: ami-0578cffaf594ab219
284
+
HVM64: ami-0504c9f745022749a
372
285
ap-southeast-1:
373
-
HVM64: ami-0f151d9dcf524c7c2
286
+
HVM64: ami-0fdf327ea5e077df4
374
287
ap-southeast-2:
375
-
HVM64: ami-005263d8988e47a47
288
+
HVM64: ami-01e5c77c1fbc46669
376
289
eu-central-1:
377
-
HVM64: ami-0b32ee6d741554a21
290
+
HVM64: ami-0793f98b004f79c42
378
291
us-east-1:
379
-
HVM64: ami-088b2214cd2a232dc
292
+
HVM64: ami-07ed8ca1867e9803a
380
293
us-east-2:
381
-
HVM64: ami-033774769e0f3cfc7
294
+
HVM64: ami-042693a1c63d12800
382
295
us-west-1:
383
-
HVM64: ami-07215a5d464906c4c
296
+
HVM64: ami-0484ba45ecb22a99e
384
297
us-west-2:
385
-
HVM64: ami-05b2a489e553d9f0c
386
-
298
+
HVM64: ami-04859f68862a8bcfd
387
299
Conditions:
388
300
CreateSubDomain:
389
301
!Not [!Equals [!Ref CertificateHostedZone, '']]
@@ -430,6 +342,10 @@ Resources:
430
342
set -ex
431
343
432
344
sleep 30
345
+
346
+
347
+
# This code tested and works on Ubuntu 20.04 (current base AMI)
0 commit comments