DigitalOcean

Get started

Step 1: Get your DigitalOcean credentials

See Get DigitalOcean credentials.

Remember your token.

Step 2: Create a SSH key for the project

See Create a SSH key.

Remember your SSH key name (mykey).

Step 3: Create an image

See Create an image.

Remember your image name (forward-proxy).

Step 4: Update configuration

Open conf.json:

{
  "providers": [
    "type": "digitalocean",

    "token": "YOUR PERSONAL TOKEN",
    "region": "YOUR REGION (could be: lon1)",
    "size": "s-1vcpu-1gb (previous: 512mb)",
    "sshKeyName": "YOUR SSH KEY (could be: mykey)",
    "imageName": "YOUR SNAPSHOT NAME (could be: forward-proxy)",
    "tags": "YOUR TAGS SEPARATED BY A COMMA (could be: proxy,instance)"
  ]
},

And update config with your parameters.

Configure Scrapoxy

Options: digitalocean

Option Default value Description
type none Must be digitalocean
token none Credentials for DigitalOcean
region none DigitalOcean region (example: lon1)
sshKeyName none Name of the SSH key
size none Type of droplet
name Proxy Name of the droplet
imageName none Name of the image (for the proxy droplet)
tags none Tags separated by a comma (example: proxy,instance)
max none Maximum number of instances for this provider. If empty, there is no maximum.