Skip to content

Commit 698cd3d

Browse files
authored
chore: lower throughput of ebs disks (#9997)
Reverts #9996
1 parent fbe1128 commit 698cd3d

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/spot-runner-action/dist/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -281,8 +281,8 @@ class Ec2Instance {
281281
Ebs: {
282282
VolumeSize: 64,
283283
VolumeType: 'gp3',
284-
Throughput: 1000,
285-
Iops: 5000
284+
Throughput: 125,
285+
Iops: 3000
286286
},
287287
},
288288
],

.github/spot-runner-action/src/ec2.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,8 @@ export class Ec2Instance {
200200
Ebs: {
201201
VolumeSize: 64,
202202
VolumeType: 'gp3',
203-
Throughput: 1000,
204-
Iops: 5000
203+
Throughput: 125,
204+
Iops: 3000
205205
},
206206
},
207207
],

scripts/ci/attach_ebs_cache.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
set -eu
33

4-
EBS_CACHE_TAG=$1
4+
EBS_CACHE_TAG=$1-v2
55
SIZE=$2
66
REGION="us-east-2"
77
AVAILABILITY_ZONE="us-east-2a"
@@ -83,8 +83,8 @@ if [ "$EXISTING_VOLUME" == "None" ]; then
8383
--availability-zone $AVAILABILITY_ZONE \
8484
--size $SIZE \
8585
--volume-type gp3 \
86-
--throughput 1000 \
87-
--iops 5000 \
86+
--throughput 125 \
87+
--iops 3000 \
8888
--tag-specifications "ResourceType=volume,Tags=[{Key=username,Value=$EBS_CACHE_TAG-$SIZE-gp3}]" \
8989
--query "VolumeId" \
9090
--output text)

0 commit comments

Comments
 (0)