Depot
#CI #GitHub Actions
https://depot.dev/products/github-actions
https://depot.dev/docs/github-actions/overview
GitHub Actionsのマネージドランナーサービス。元々はDockerのリモートビルドのサービスか。
AWSのEC2で動いている。
価格はGitHub-hosted runnersの半額
https://depot.dev/pricing
table:Pricing
Label CPUs Memory Minute Multiple Price per minute
depot-ubuntu-22.04-small 2 2 GB 0.5x $0.002
depot-ubuntu-22.04 2 8GB 1x $0.004
depot-ubuntu-22.04-4 4 16 GB 2x $0.008
depot-ubuntu-22.04-8 8 32 GB 4x $0.016
depot-ubuntu-22.04-16 16 64 GB 8x $0.032
depot-ubuntu-22.04-32 32 128 GB 16x $0.064
depot-ubuntu-22.04-64 64 258 GB 32x $0.128
depot-ubuntu-22.04-small という2コア・2GBの最小のランナーで$0.002 / minに抑えられるのが良さそう
また秒単位での計測を月次でまとめてそこで初めて分単位で課金するとなっている
Per second billing: We track builds by the second and only bill for whole minutes used at the end of the month and don't enforce a one minute minimum
つまり10秒のジョブを10回実行した場合
1分x10で10分の課金ではなく
10秒x10で100秒を分単位で切り上げて120秒・2分の課金になるということ
これはいいね
ベースのプランの価格
Startup: $200 / month
ユーザー数とプロジェクト数の制限なし
プランに含まれるもの
5,000 Docker build minutes
20,000 GitHub Actions minutes
250 GB cache storage
並列数制限
Build concurrencyはUnlimitedとなっている(制限なし)
https://gyazo.com/18f57983fb0e103a6cced97b51cee87f
パフォーマンス
30% faster compute: For Intel runners, we launched with 4th Gen AMD EPYC Genoa CPUs and for Arm runners, we launched with AWS Graviton2 CPUs
ということなので、Hetzner OnlineのゲーミングCPUを使っている BuildJet や Blacksmith.sh ほどのシングルコアパフォーマンスは出ない気がする?
その他の機能
Dockerのリモートビルド
https://depot.dev/
https://depot.dev/docs/container-builds/overview
When using the Depot remote container build service, a given Docker image build is routed to a fast builder instance with a persistent layer cache.
永続的なレイヤーキャッシュが使えるのはいいよね
ビルダーのスペック
Builder instances come with 16 CPUs, 32GB of memory, and an SSD disk for layer caching (the default size is 50GB, but you can expand this up to 500GB). A builder instance runs an optimized version of BuildKit, the advanced build engine that backs Docker.
コスト: $0.04 / minute