Prerequisites:
- Python 3.12 and Poetry
- AWS credentials configured in
~/.aws/credentials
- Learner Lab's private SSH key copied to
labsuser.pem
at the project root (+chmod 600
)
# Create the venv
poetry install
# Copy and edit secrets
cp src/common/secrets.example.py src/common/secrets.py
$EDITOR src/common/secrets.py
# Deploy one of the three architectures
poetry run python3 -m standalone
poetry run python3 -m cluster
poetry run python3 -m patterns
Prerequisites:
- standalone or cluster deployment
- sysbench
./tools/benchmark.sh <mysql_host> <mysql_user> <mysql_password> <mysql_db>
Terminate all project AWS resources.
poetry run tools/cleanup.py