Skip to content

ec2: change default Volume.volumeType and/or change generic EbsDeviceVolumeType #29931

@azatoth

Description

@azatoth

Describe the feature

Change Volume.volumeType default to be EbsDeviceVolumeType.GENERAL_PURPOSE_SSD_GP3, and rename EbsDeviceVolumeType.GENERAL_PURPOSE_SSD to EbsDeviceVolumeType.GENERAL_PURPOSE_SSD_GP2

Use Case

People incur extra cost because they might not know that they should change the volume type from the default GP2 which is discouraged to use.

Proposed Solution

No response

Other Information

Currently Volume.volumeType defaults to EbsDeviceVolumeType.GENERAL_PURPOSE_SSD which refers to GP2; I think it might be time to switch the default to GP3; The naming of EbsDeviceVolumeType.GENERAL_PURPOSE_SSD for GP2 is unfortunate and should probably be deprecated for a EbsDeviceVolumeType.GENERAL_PURPOSE_SSD_GP2 instead.

Acknowledgements

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

CDK version used

v2.138

Environment details (OS name and version, etc.)

Ubuntu 22.04.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-ec2Related to Amazon Elastic Compute Cloudeffort/mediumMedium work item – several days of effortfeature-requestA feature should be added or improved.p2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions