Skip to content

Commit 10a5f28

Browse files
Switch CI bucket to intelligent tiering
We currently upload approximately 166 GB/day into this bucket (estimate based on duration of storage and total current size). My estimate is that this change should decrease our costs (which are currently in credits) and is in the worst case (if all objects are brought into hot storage due to unanticipated frequent access) only going to add an additional ~$4 to the monthly bill. If access is rare (as expected) to most objects then we expect to save approximately ~$350/month (after this change takes full effect in ~168 days).
1 parent 6846164 commit 10a5f28

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ci/scripts/upload-artifacts.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,5 @@ if [[ "${DEPLOY_ALT-0}" -eq "1" ]]; then
3838
fi
3939
deploy_url="s3://${DEPLOY_BUCKET}/${deploy_dir}/$(ciCommit)"
4040

41-
retry aws s3 cp --no-progress --recursive --acl public-read "${upload_dir}" "${deploy_url}"
41+
retry aws s3 cp --storage-class INTELLIGENT_TIERING \
42+
--no-progress --recursive --acl public-read "${upload_dir}" "${deploy_url}"

0 commit comments

Comments
 (0)