Deployment

Stop Deployment

Overview

Stop an active deployment in Arcee to free up resources and ensure efficiency. You can do this either by clicking the Stop Deployment button in the interface or using the arcee.stop_deployment function in the Arcee Python client.

Free Tier Limit

Free-tier deployments are automatically stopped after two hours.

Step-by-Step Tutorial

Step-by-step
  1. Log into the Arcee platform.

  2. Navigate to the Deployments section.

  3. Select the deployment you want to stop.

  4. Click the stop button with a red border.

  5. Confirm the action to stop the deployment.

Stopping Methods

Manual Stop via UI

The stop button in the deployment interface allows you to stop a deployment in the Arcee platform.

In the interface, you will find the stop button on the right side of the screen. It has a circular shape with a red border and a square icon in the center. When you hover over this button, a tooltip appears with the text Stop Deployment.

Clicking this button will stop the deployment, providing immediate visual feedback that the action has been successful.

Stop Your Deployment

To stop a deployment in Arcee, click the circular button with a red border and square icon on the right side of the deployment screen. When you hover over it, a tooltip saying 'Stop Deployment' will appear.

Stop via Python Client

To stop a deployment using the Arcee Python client, use the arcee.stop_deployment function. This function requires the name of the deployment you want to stop.

Here is how you can use it:

First, install the Arcee Python client:

!pip install -q arcee-py

Next, set your API key:

%env ARCEE_API_KEY=[MY-ARCEE-API-KEY]

Here is an example of stopping a deployment using the Arcee Python client:

plaintext
import arcee
arcee.stop_deployment("mydeploy")

Stopping deployments when no longer needed helps save resources in your environment. It ensures that your Virtual Private Cloud (VPC) is efficiently utilized and prevents unnecessary costs.

Video Walkthrough

This video demonstrates model deployment with the Arcee UI and the Arcee Python SDK. The video description includes a link to the companion notebook.

Frequently Asked Questions

  • On the free tier, deployment endpoints in Arcee are automatically closed within two hours after deployment.

  • You can check the status of your deployment in the Arcee platform's deployment interface. Look for the current status under the deployment details.