Service Management

services

List services for an application.

$ convox cloud services -a <app> -i <machine>

Options:

  • --watch: Watch for updates

Example:

$ convox cloud services -a myapp -i production
SERVICE  DOMAIN                              PORTS
web      web.myapp.cloud.convox.com            443:3000
api      api.myapp.cloud.convox.com            443:8080

services restart

Restart a service.

$ convox cloud services restart <service> -a <app> -i <machine>

Example:

$ convox cloud services restart web -a myapp -i production
Restarting web... OK

restart

Restart an entire application.

$ convox cloud restart -a <app> -i <machine>

Example:

$ convox cloud restart -a myapp -i production
Restarting app... OK

scale

Scale a service.

$ convox cloud scale <service> -a <app> -i <machine>

Options:

  • --count: Number of processes
  • --cpu: CPU per process (millicores)
  • --memory: Memory per process (MB)
  • --watch: Watch scaling progress

Example:

$ convox cloud scale web --count 3 --cpu 500 --memory 1024 -a myapp -i production
Scaling web...
OK