checkspot-一個簡單的CLI工具來檢查AWS實例的現貨價格。-Joey Sham
發佈:2020-12-23 11:27:36.199043
做者:Joey Sham
### 做者郵箱:sham.joey@gmail.com ### 首頁:http://www.joeyism.com ### 文檔:None ### 下載連接
CheckSpot
A simple CLI tool to check the spot prices of AWS instances. Available for Python3 onlyhtml
Installation
To install, use pip such thatbash
.. code:: bashide
pip3 install --user checkspot
Setup
Since checkspot
uses boto3, you’ll have to setup the same way. You can view the docs here <http://boto3.readthedocs.io/en/latest/guide/quickstart.html>
__工具
Usage
To use, runui
.. code:: bashspa
checkspot
and a series of questions will be prompted..net
Repeatable Usage ~~~~~~~~~~~~~~~~code
If you don’t want to enter the CLI every time, you can run the CLI with the optionshtm
::ip
checkspot --InstanceType=t2.micro --ProductDescription=Linux/UNIX --StartTime=$(date -d "3 days ago" +"%Y-%m-%d") --EndTime=$(date +"%Y-%m-%d")
Version
1.0.0
First publish
Copy from pypi.org
查詢時間:6.071ms
渲染時間:6.206ms
本文同步分享在 博客「zhenruyan」(other)。
若有侵權,請聯繫 support@oschina.cn 刪除。
本文參與「OSC源創計劃」,歡迎正在閱讀的你也加入,一塊兒分享。