Create a Deployment with the Roboflow CLI
You can create, manage, and delete Dedicated Deployments from the Roboflow CLI.
The minimum version supporting this feature is 1.1.41. You can install the CLI using:
Once you have installed the CLI, authenticate with:
Create a Dedicated Deployment
To provision a Dedicated Deployment, run:
Above, replace:
DEPLOYMENT_NAME
: deployment name, 5~15 lower case alphanumeric characters and dash (a-z, 0-9, -), the first character must be a letter (a-z), must be unique within your workspace.MACHINE_TYPE
: machine type, runroboflow deployment machine_type
to get available options.DURATION
: how long you want this deployment to be active (unit: hour), must be within 0.1~6, the default value is 3.WAIT_ON_PENDING
: wait for the deployment to be ready (or failed), default is false.NO_DELETE_ON_EXPIRATION
: not delete the deployment when expired, default is false.
List Dedicated Deployments
To list all Dedicated Deployments associated with your Roboflow Workspace, run:
Check Dedicated Deployment Status
To check the status of a Dedicated Deployment, run
Above, set:
DEPLOYMENT_NAME
: deployment name.WAIT_ON_PENDING
: wait for the deployment to be ready (or failed), default is false.
This command will return information such as:
The URL associated with your Dedicated Deployment;
The status of the Deployment, and;
The instance type.
Delete a Dedicated Deployment
You can delete a Dedicated Deployment at any time. You cannot recover deleted deployments.
To delete a Deployment, run:
Above, replace:
DEPLOYMENT_NAME
: deployment name.
Last updated