[Feature] Check instance pricing for On-Demand

オープン
#683 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 4 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
aws, go

調査の方向性

まず、既存のSpotインスタンスの料金ロジックと、On-Demandインスタンスの選択経路を見つけます。CPUとメモリが一致するインスタンスから選択する際に、料金をどのように適用すべきかを比較し、ハードコードされたコンピュートサイズを必要とせずに、d3en.12xlargeとm5a.12xlargeの例で結果を検証します。

索引モデルが issue の本文から書いたものです。

説明

We were using the cpus and memory arguments to match our computing needs.
However, we noticed that mapt regularly launched expensive, workload-specific instance types (GPU accelerated, network optimised, large local storage, etc).
While these instances indeed had the specified cpu/memory configuration, there are plenty of cheaper, more generic alternatives and we don't require the extra technologies the expensive ones provide.
Example: both d3en.12xlarge and m5a.12xlarge have the same vCPU/Memory amount but the former is about 3 times more expensive.

As a workaround, we're now using the compute-sizes argument, but it would be great not having to hardcode specific instance types.

Would it be possible for mapt to do a cost comparison before selecting an On-Demand instance type, same as it does with Spot instances?

主要言語
Go
スター
25
フォーク
41
平均マージ
5日 3時間
マージ済み PR(30日)
16

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

redhat-developer/mapt のほかの issue

redhat-developer/mapt の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。