Digital Ocean
Please note that these are instructions for installing a Rack via the command line. The easiest way to install a Rack is with the Convox Web Console
Initial Setup
Terraform
- Install Terraform
Convox CLI
Environment
The following environment variables are required:
DIGITALOCEAN_ACCESS_IDDIGITALOCEAN_SECRET_KEYDIGITALOCEAN_TOKEN
Create Token
Go to https://cloud.digitalocean.com/account/api/tokens and generate a new Personal Access Token.
DIGITALOCEAN_TOKENis the token you just created
Create Spaces Access Key
Go to https://cloud.digitalocean.com/account/api/tokens and generate a new Spaces Access Key.
DIGITALOCEAN_ACCESS_IDis the resulting KeyDIGITALOCEAN_SECRET_KEYis the Secret
Install Rack
$ convox rack install do <name> [param1=value1]...
Available Parameters
| Name | Default | Description |
|---|---|---|
| cert_duration | 2160h | Certification renew period |
| node_type | s-2vcpu-4gb | Node instance type |
| region | nyc3 | Digital Ocean region |
| registry_disk | 50Gi | Registry disk size |
| syslog | Forward logs to a syslog endpoint (e.g. tcp+tls://example.org:1234) |