Convox Community

[20191015110402]

Notes

  • Adds convox restart and convox services restart to the CLI

Pull Requests

Hi @ddollar ,

  • Adds convox restart and convox services restart to the CLI

Sadly the docs doesn’t say much about either of these commands, thus trying to understand from the PR, I understand that it uses ECS’s forceNewDeployment to make this happen…

So, I have few questions in mind:

  1. How’s this different, than say, convox ps stop, which in return would create a new process based on scale value of the app-service?
  2. Is it correct to assume that convox restart would “restart” all services of an app, whilst convox services restart would only restart a specific one?
  3. In case convox restart restarts all services, is there any control over order in which services are “restarted”?
  4. How this all relates to restart being whether a zero downtime operation or not?

Thanks.

1 Like

Hi @ali,
To answer your question in brief:

  1. This uses the AWS API to essentially do a redeploy, but just of the same state of your app, rather than killing a process and allowing the autoscaler to bring up another one in its place.
  2. That is correct yes :blush:
  3. There isn’t a way to control the order, just like in a regular deployment.
  4. As it is essentially a redeployment, it would still be zero downtime.

Hope that helps!
Ed

1 Like

Thanks.