11.8 C
London
Friday, February 9, 2024

Execute Code Utilizing Azure Automation Service With out Getting Charged




Execute code inside Azure Automation service with out getting charged

Description

CloudMiner is a device designed to get free computing energy inside Azure Automation service. The device makes use of the add module/bundle circulate to execute code which is completely free to make use of. This device is meant for instructional and analysis functions solely and ought to be used responsibly and with correct authorization.

  • This circulate was reported to Microsoft on 3/23 which determined to not change the service habits because it’s thought-about as “by design”. As for 3/9/23, this device can nonetheless be used with out getting charged.

  • Every execution is restricted to three hours

Necessities

  1. Python 3.8+ with the libraries talked about within the file necessities.txt
  2. Configured Azure CLI – https://study.microsoft.com/en-us/cli/azure/install-azure-cli
    • Account should be logged in earlier than utilizing this device

Set up

pip set up .

Utilization

utilization: cloud_miner.py [-h] --path PATH --id ID -c COUNT [-t TOKEN] [-r REQUIREMENTS] [-v]

CloudMiner - Free computing energy in Azure Automation Service

non-obligatory arguments:
-h, --help present this assist message and exit
--path PATH the script path (Powershell or Python)
--id ID id of the Automation Account - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/suppliers/Microsoft.Automation/a
utomationAccounts/{automationAccountName}
-c COUNT, --count COUNT
variety of executions
-t TOKEN, --token TOKEN
Azure entry token (non-obligatory). If not supplied, token shall be retrieved utilizing the Azure CLI
-r REQUIREMENTS, --requirements REQUIREMENTS
Path to necessities file to be put in and use by the script (related to Python scripts solely)
-v, --verbose Allow verbose mode

Instance utilization

Python

Powershell

License

CloudMiner is launched beneath the BSD 3-Clause License. Be happy to change and distribute this device responsibly, whereas adhering to the license phrases.

Writer – Ariel Gamrian



Latest news
Related news

LEAVE A REPLY

Please enter your comment!
Please enter your name here