amazonImage: Upload disks as GP3 for cheaper & faster IO (#109027)
GP3 is always faster and cheaper than GP2, so sticking to GP2 is leaving money on the table. https://cloudwiry.com/ebs-gp3-vs-gp2-pricing-comparison/
This commit is contained in:
parent
e3961ff41f
commit
7092dd52f8
@ -219,7 +219,7 @@ upload_image() {
|
|||||||
log "Registering snapshot $snapshot_id as AMI"
|
log "Registering snapshot $snapshot_id as AMI"
|
||||||
|
|
||||||
local block_device_mappings=(
|
local block_device_mappings=(
|
||||||
"DeviceName=/dev/xvda,Ebs={SnapshotId=$snapshot_id,VolumeSize=$image_logical_gigabytes,DeleteOnTermination=true,VolumeType=gp2}"
|
"DeviceName=/dev/xvda,Ebs={SnapshotId=$snapshot_id,VolumeSize=$image_logical_gigabytes,DeleteOnTermination=true,VolumeType=gp3}"
|
||||||
)
|
)
|
||||||
|
|
||||||
local extra_flags=(
|
local extra_flags=(
|
||||||
|
Loading…
Reference in New Issue
Block a user