Skip to main content

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

Project description

Agent

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’

Application

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

Configuration

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.

MAKEFILE

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

Documentation

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

spotinst-agent-beta-1.1.25502.tar.gz (18.9 kB view details)

Uploaded Source

File details

Details for the file spotinst-agent-beta-1.1.25502.tar.gz.

File metadata

  • Download URL: spotinst-agent-beta-1.1.25502.tar.gz
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.2

File hashes

Hashes for spotinst-agent-beta-1.1.25502.tar.gz
Algorithm Hash digest
SHA256 18af2984327dc66725db67027d6ed7690fa17b779915f62788c241ae97161e88
MD5 81f3b8a7d80c9eea7b3a1874fb8acde4
BLAKE2b-256 91d34ed71acafae34f4d5e22c56fdb65aa0dfbee6a036acd6273cb325b8d5e77

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page