diff --git a/lib/infra/infra-stack.ts b/lib/infra/infra-stack.ts index 9d6b11cb255..6dad4a5347f 100644 --- a/lib/infra/infra-stack.ts +++ b/lib/infra/infra-stack.ts @@ -514,7 +514,7 @@ export class InfraStack extends Stack { volume: BlockDeviceVolume.ebs(this.dataNodeStorage, { deleteOnTermination: true, volumeType: this.storageVolumeType, - iops: (this.storageVolumeType === EbsDeviceVolumeType.IO1) ? this.dataNodeStorage * 50 : 3000, + iops: (this.storageVolumeType === EbsDeviceVolumeType.IO1) ? 5000 : 3000, }), }], init: CloudFormationInit.fromElements(...this.getCfnInitElement(this, clusterLogGroup, 'single-node')), @@ -617,7 +617,7 @@ export class InfraStack extends Stack { : BlockDeviceVolume.ebs(this.dataNodeStorage, { deleteOnTermination: true, volumeType: this.storageVolumeType, - iops: (this.storageVolumeType === EbsDeviceVolumeType.IO1) ? this.dataNodeStorage * 50 : 3000, + iops: (this.storageVolumeType === EbsDeviceVolumeType.IO1) ? 5000 : 3000, }), }], requireImdsv2: true, @@ -651,7 +651,7 @@ export class InfraStack extends Stack { volume: BlockDeviceVolume.ebs(this.dataNodeStorage, { deleteOnTermination: true, volumeType: this.storageVolumeType, - iops: (this.storageVolumeType === EbsDeviceVolumeType.IO1) ? this.dataNodeStorage * 50 : 3000, + iops: (this.storageVolumeType === EbsDeviceVolumeType.IO1) ? 5000 : 3000, }), }], requireImdsv2: true, @@ -726,7 +726,7 @@ export class InfraStack extends Stack { volume: BlockDeviceVolume.ebs(this.mlNodeStorage, { deleteOnTermination: true, volumeType: this.storageVolumeType, - iops: (this.storageVolumeType === EbsDeviceVolumeType.IO1) ? this.mlNodeStorage * 50 : 3000, + iops: (this.storageVolumeType === EbsDeviceVolumeType.IO1) ? 5000 : 3000, }), }], requireImdsv2: true, diff --git a/test/opensearch-cluster-cdk.test.ts b/test/opensearch-cluster-cdk.test.ts index 6de9df4ef07..e01ee5ab156 100644 --- a/test/opensearch-cluster-cdk.test.ts +++ b/test/opensearch-cluster-cdk.test.ts @@ -282,7 +282,7 @@ test('Test Resources with security enabled multi-node with existing Vpc with use Ebs: { VolumeSize: 200, VolumeType: 'io1', - Iops: 10000, + Iops: 5000, }, }, ],