Skip to content

Install and base settings

Install

Warning

Scalr is in beta.

pip install scalr-ngine

Settings

Settings can be set either by ENV vars or by providing a .env file:

Common ENV variables

SCALR_LOG_LEVEL=INFO
SCALR_CONFIG=./config.yml

Cloud ENV variables

Cloudscale.ch API token

CLOUDSCALE_API_TOKEN=<...>

CloudStack API settings

CLOUDSTACK_API_ENDPOINT=https://cloud.example.com/client/api
CLOUDSTACK_API_KEY=<...>
CLOUDSTACK_API_SECRET=<...>

DigitalOcean API access token

DIGITALOCEAN_ACCESS_TOKEN=<...>

Hetzner Cloud API token

HCLOUD_API_TOKEN=<...>

Vultr API key

VULTR_API_KEY=<...>