
Azure Automation サービスを使用して、課金されずにコードを実行する
Azure Automationサービス内でコードを実行し、課金されない
CloudMinerは、Azure Automationサービス内で無料の計算リソースを取得するために設計されたツールです。このツールは、モジュール/パッケージアップロードフローを利用してコードを実行します。これは完全に無料で利用できます。このツールは教育および研究目的のみを意図しており、責任を持って適切な許可を得た上で使用する必要があります。
このフローは3月23日にMicrosoftに報告されましたが、同社は「仕様の範囲内」と判断し、サービスの動作を変更しないことにしました。2023年3月9日現在、このツールは課金されずに引き続き使用できます。
各実行は3時間に制限されています
requirements.txtファイルに記載されているライブラリを備えたPython 3.8+pip install .
usage: cloud_miner.py [-h] --path PATH --id ID -c COUNT [-t TOKEN] [-r REQUIREMENTS] [-v]
CloudMiner - Free computing power in Azure Automation Service
optional arguments:
-h, --help show this help message and exit
--path PATH the script path (Powershell or Python)
--id ID id of the Automation Account - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/a
utomationAccounts/{automationAccountName}
-c COUNT, --count COUNT
number of executions
-t TOKEN, --token TOKEN
Azure access token (optional). If not provided, token will be retrieved using the Azure CLI
-r REQUIREMENTS, --requirements REQUIREMENTS
Path to requirements file to be installed and use by the script (relevant to Python scripts only)
-v, --verbose Enable verbose mode


CloudMinerはBSD 3-Clause Licenseの下でリリースされています。ライセンス条件に従い、責任を持ってこのツールを自由に変更・配布してください。