Test task
The goal of this task is the tool which compares prices on running on-demand and spot EC2 instances
Setup
- Setup AWS credentials with environment variables:
export AWS_ACCESS_KEY_ID=<access key id>
export AWS_SECRET_ACCESS_KEY=<secret access key>
- Setup virtual environment with
python -m venv env
- Initial virtual environment with
source env/bin/activate
- Install necessary libraries with
pip install -r requirements.txt
Run
Simply run script with python ./test_tool.py