Skip to main content

Spectrum instance spotinst-agent that is able to run remote scripts, collect data, deploy applications and more.

Project description


Spotinst Agent executor provides a mechanism to run remote shutdown scripts on machine using polling architecture.

Note: The agent must have token to communicate with spotinst API. The credentials ini that holds the token file must be located at: ‘/root/.spotinst/credentials’


Manual Executing

The simplest way to run the agent is by ‘./agent’ that start and write basic logs to /var/log/messages/agent.log

Otherwise, you can use the following options:

Usage: ./agent [options]

-c –config Use alternate configuration yml file. -l –log Use alternate Log file for output. -t –test Test run. Do not run remote script. -v –verbose verbose log –stdout redirect output to stdout –debug run with dummy credentials for debug purposes


There are two levels of configuration representing in yml files. The global configuration ‘agent.yml’ is responsible of the agent framework and necessary params. The worker configuration, located at the workers folder is responsible of the specific workers parameters.


run ‘make release’ output file is located in the /dist folder


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for spotinst-agent, version 1.1.257
Filename, size File type Python version Upload date Hashes
Filename, size spotinst-agent-1.1.257.tar.gz (17.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page