😺

vercelの従量課金対象「サーバーレス関数実行容量: 1000GB / 月」とは

2023/06/19に公開

サーバーレス関数実行容量: 1000GB / 月

1000GB / 月の無料枠を超えると $55 / 100GB で従量課金が発生

サーバーレス関数とは

getStaticProps
https://vercel.com/docs/concepts/functions/serverless-functions

サーバーレス関数を使用して、ユーザー認証、フォーム送信、データベースクエリ、カスタムSlackコマンドなどを処理できます。

今回はmicrocmsを利用していることによる「データベースクエリ」に該当
ダッシュボード見ても今何も使われていない?

サーバーレス機能実行のGB-Hrsとは

https://vercel.com/support/articles/what-are-gb-hrs-for-serverless-function-execution

どの程度で1000GBオーバーするのか

https://vercel.com/support/articles/how-can-i-reduce-my-serverless-execution-usage-on-vercel

GB-Hrs: The unit of measurement for Serverless Execution. If one function with 1024MB allocated takes one second to process a request, we can conclude it used 1GB-Seconds, which is (1/3600)GB-Hrs. For further information, check the article "What are GB-Hrs for Serverless Function Execution?".

ブランチごとのプレビューデプロイメント($100/月)?

参照

https://zenn.dev/pofu_atobe/scraps/f4c5e65db0c546
https://nextjs.org/docs/advanced-features/measuring-performance

支払いと請求
https://vercel.com/docs/concepts/payments-and-billing/overview
Vercelプロジェクトでのリソース使用量の削減
https://vercel.com/guides/lower-usage
Vercelでサーバーレス実行の使用量を減らすにはどうすればよいですか?
https://vercel.com/support/articles/how-can-i-reduce-my-serverless-execution-usage-on-vercel

Discussion