Home

Awesome

santa

Deploying to the cloud with your flying sleigh.

Installation

npm -g install santa

Usage

Configuration

santa expects a .santaconf file in your home directory:

{
  "provider": {
    "provider": "<pkgcloud-provider-name>",
    // other provider-specific options
  }
}

provider key is simply passed to pkgcloud.compute.createClient.

You can configure santa easily from command line:

santa config set provider:provider <pkgcloud-provider-name>
# ...

Deployment

santa expects 3 files in your application:

Scripts

scripts/install

Install all your software.

scripts/configure

Configure all your software.

scripts/start

Start all your software.

Once you set up the structure, simply execute santa deploy in your application directory.

Listing servers

santa servers list

Destroying servers

santa servers destroy <id>

Listing server flavors

santa flavors list

Listing images

santa images list