Metadata-Version: 2.1
Name: autoscaleaws
Version: 10.0.2
Summary: Auto scale AWS by spot instances to launch tasks
Home-page: https://github.com/arita37/cli_code/tree/dev
Author: arita37, Kevin Noel (Nono)
License: BSD
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: License :: OSI Approved :: BSD License
Requires-Python: >=3.5
Requires-Dist: toml (==0.10.0)
Requires-Dist: boto (==2.49.0)
Requires-Dist: tqdm (==4.32.2)
Requires-Dist: paramiko (==2.6.0)


  Autoscale AWS allows to scale up virtual machines by invoking spot requests as per
  start and stop rules.

.. code-block::

    Create a folder of tasks.
       /tasks/mytask01/
       /tasks/mytask02/
       /tasks/mytask03/


    Autoscale will pick up those ones, launch AWS instances,
    copy the folder to remote AWS, and launch main.sh on remote instances.
    and stop them when the tasks are finished.


    The results are stored in S3 folders and it can be retrieved
    even the instances are closed on your local PC

.. code-block::


    Install process  from pip :

    cd yourenv
    pip install autoscale_aws

    Configuration is in 
    YOURHOME/.aws/

.. code-block::


    Install process  from github :

    CURDIR=`pwd`
    git clone https://github.com/arita37/autoscale_aws/
    mkdir ${CURDIR}/venvs
    Make sure virtualenv is installed
    virtualenv -p python3 ${CURDIR}/venvs/autoscaleenv
    source ${CURDIR}/venvs/autoscaleenv/bin/activate
    cd ${CURDIR}/autoscale_aws

    pip install -U pip
    pip install -r requirements.txt
    export PYTHONPATH=${CURDIR}/autoscale_aws/src:${PYTHONPATH}
    python src/autoscale_aws/batch_daemon_autoscale_cli.py --help


