-
Notifications
You must be signed in to change notification settings - Fork 198
Expand file tree
/
Copy path3.FSxLustre.yaml
More file actions
102 lines (89 loc) · 2.41 KB
/
Copy path3.FSxLustre.yaml
File metadata and controls
102 lines (89 loc) · 2.41 KB
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
AWSTemplateFormatVersion: '2010-09-09'
Description: This template deploys an FSx for Luster File System
Metadata:
AWS::CloudFormation::Interface:
ParameterGroups:
- Label:
default: Filesystem Options
Parameters:
- Capacity
- PerUnitStorageThroughput
- Compression
- LustreVersion
- Label:
default: Networking Options
Parameters:
- SecurityGroup
- Subnet
Parameters:
Capacity:
Description: Storage capacity in GiB (1200 or increments of 2400)
Type: Number
Default: 1200
PerUnitStorageThroughput:
Description: Provisioned Read/Write (MB/s/TiB)
Type: Number
Default: 250
AllowedValues:
- 125
- 250
- 500
- 1000
Compression:
Description: Data compression type
Type: String
AllowedValues:
- "LZ4"
- "NONE"
Default: "LZ4"
LustreVersion:
Description: Lustre software version
Type: String
AllowedValues:
- "2.15"
- "2.12"
Default: "2.15"
SecurityGroup:
Description: Security group ID
Type: String
Default: ""
Subnet:
Description: Subnet ID
Type: String
Default: ""
Resources:
FSxLFilesystem:
Type: AWS::FSx::FileSystem
DeletionPolicy: Delete
UpdateReplacePolicy: Delete
Properties:
FileSystemType: LUSTRE
StorageType: SSD
FileSystemTypeVersion: !Ref LustreVersion
StorageCapacity: !Ref Capacity
SecurityGroupIds:
- !Ref SecurityGroup
SubnetIds:
- !Ref Subnet
LustreConfiguration:
DataCompressionType: !Ref Compression
DeploymentType: PERSISTENT_2
PerUnitStorageThroughput: !Ref PerUnitStorageThroughput
MetadataConfiguration:
Mode: AUTOMATIC
Outputs:
FSxLustreFilesystemMountname:
Description: The ID of the FSxL filesystem that has been created
Value: !GetAtt FSxLFilesystem.LustreMountName
Export:
Name: !Sub ${AWS::StackName}-FSxLustreFilesystemMountname
FSxLustreFilesystemDNSname:
Description: The DNS of the FSxL filesystem that has been created
Value: !GetAtt FSxLFilesystem.DNSName
Export:
Name: !Sub ${AWS::StackName}-FSxLustreFilesystemDNSname
FSxLustreFilesystemId:
Description: The ID of the FSxL filesystem that has been created
Value: !Ref FSxLFilesystem
Export:
Name: !Sub ${AWS::StackName}-FSxLustreFilesystemId