Skip to content

(ec2): support throughput option in EBS volume #16213

@jumic

Description

@jumic

For EBS volumes with volume type GP3, the throughput in MiB/s can be configured. This is currently not supported in CDK.

Workaround: use escape hatches

Use Case

Set custom value for throughput, impacts performance and pricing.

Proposed Solution

The property is available in ebs volume and launchtemplate blockdevicemaping. It should be supported in both constructs.

Check if the property can be added to EbsDeviceOptionsBase or only to one of its subclasses (EbsDeviceOptions and EbsDeviceSnapshotOptions). Nothing specific is mentioned in the documentation.

Display a warning if throughput is defined for a volume type that does not support specifying a throughput. Display an error if a throughput value is specified that is not supported.

Other

Originally mentioned as comment in issue #12020.

  • 👋 I may be able to implement this feature request
  • ⚠️ This feature might incur a breaking change

This is a 🚀 Feature Request

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-ec2Related to Amazon Elastic Compute Cloudeffort/smallSmall work item – less than a day of effortfeature-requestA feature should be added or improved.p1

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions