Test task

The goal of this task is the tool which compares prices on running on-demand and spot EC2 instances

Setup

  1. Setup AWS credentials with environment variables:
export AWS_ACCESS_KEY_ID=<access key id>
export AWS_SECRET_ACCESS_KEY=<secret access key>
  1. Setup virtual environment with python -m venv env
  2. Initial virtual environment with source env/bin/activate
  3. Install necessary libraries with pip install -r requirements.txt

Run

Simply run script with python ./test_tool.py