[ec2] add gp3 support to EbsDeviceVolumeType
See original GitHub issueThe newly released gp3 volumes are supported by Cloudformation. But aws_cdk.aws_ec2.EbsDeviceVolumeType
does not support it yet.
Ref: https://docs.aws.amazon.com/cdk/api/latest/python/aws_cdk.aws_ec2/EbsDeviceVolumeType.html#aws_cdk.aws_ec2.EbsDeviceVolumeType
Work-around:
perf_server = ebs_gp3_perf_server.node.default_child
# Assuming the gp3 volume is the first device in the list, accessed by index '0'
perf_server.add_property_override("BlockDeviceMappings.0.Ebs.VolumeType", "gp3")
Cdk gives you a warning
[Warning at /stack/Ec2Server] iops will be ignored without volumeType: EbsDeviceVolumeType.IO1
But gp3 allows your to have provisioned IOPS
Issue Analytics
- State:
- Created 3 years ago
- Reactions:9
- Comments:10 (6 by maintainers)
Top Results From Across the Web
enum EbsDeviceVolumeType · AWS CDK
Provisioned IOPS SSD - IO2. GP2, General Purpose SSD - GP2. GP3, General Purpose SSD - GP3. ST1, Throughput Optimized HDD.
Read more >gp3 For AWS EBS Volumes: Why, When and How To Switch.
Changing via the AWS Console. In the AWS console, navigate to the EC2 service and find the volume. Click Actions -> Modify Volume,...
Read more >EbsDeviceVolumeType (software.amazon.awscdk:monocdk ...
(experimental) Supported EBS volume types for blockDevices. Example: Domain domain = Domain.Builder.create(this, "Domain") ...
Read more >Amazon EBS volume types - Amazon Elastic Compute Cloud
Volume type, gp3, gp2, io2 Block Express ‡, io2, io1 ... Amazon EBS Multi-attach, Not supported, Supported. Boot volume, Supported ...
Read more >AWS CDKでスタック内の全てのEC2インスタンスをEBS最適 ...
EBS最適化インスタンスにすることで、EC2インスタンスとEBSボリューム間に ... id: 'SsmParameterValue:--aws--service--ami-amazon-linux-latest-- ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Don’t forget about supporting the Throughput and IOPS configuration for GP3 volumes. It probably makes sense also add in IO2 support at the same time too.
There are three topics mentioned in this issue:
troughput
. @peterwoodworth To keep it clean: should we add a new feature request (low priority) for this property and close this issue?