enum LustreDeploymentType
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.FSx.LustreDeploymentType |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsfsx#LustreDeploymentType |
Java | software.amazon.awscdk.services.fsx.LustreDeploymentType |
Python | aws_cdk.aws_fsx.LustreDeploymentType |
TypeScript (source) | aws-cdk-lib » aws_fsx » LustreDeploymentType |
The different kinds of file system deployments used by Lustre.
Example
import { aws_s3 as s3 } from 'aws-cdk-lib';
declare const vpc: ec2.Vpc;
declare const bucket: s3.Bucket;
const lustreConfiguration = {
deploymentType: fsx.LustreDeploymentType.SCRATCH_2,
exportPath: bucket.s3UrlForObject(),
importPath: bucket.s3UrlForObject(),
autoImportPolicy: fsx.LustreAutoImportPolicy.NEW_CHANGED_DELETED,
};
const fs = new fsx.LustreFileSystem(this, "FsxLustreFileSystem", {
vpc: vpc,
vpcSubnet: vpc.privateSubnets[0],
storageCapacityGiB: 1200,
lustreConfiguration,
});
Members
Name | Description |
---|---|
SCRATCH_1 | Original type for shorter term data processing. |
SCRATCH_2 | Newer type for shorter term data processing. |
PERSISTENT_1 | Long term storage. |
PERSISTENT_2 | Newer type of long term storage with higher throughput tiers. |
SCRATCH_1
Original type for shorter term data processing.
Data is not replicated and does not persist on server fail.
SCRATCH_2
Newer type for shorter term data processing.
Data is not replicated and does not persist on server fail. Provides better support for spiky workloads.
PERSISTENT_1
Long term storage.
Data is replicated and file servers are replaced if they fail.
PERSISTENT_2
Newer type of long term storage with higher throughput tiers.
Data is replicated and file servers are replaced if they fail.