> ## Documentation Index
> Fetch the complete documentation index at: https://anaconda.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Deployments

Deployments are methods for sharing parts of your data science projects and machine learning models with other users. You can create deployments for microservices such as interactive dashboard visualizations, web applications, REST APIs, or Jupyter Notebooks.

When you deploy a project, Data Science & AI Workbench finds and builds all of the software dependencies (the packages and libraries the project needs to operate properly) and encapsulates them into a self-contained artifact.

You can create multiple deployments from a single project. Each deployment can be a different version and can be [shared with others](./share).

## Deployment commands

Deployments are defined as commands in your `anaconda-project.yml` file. Each project in Workbench can define any number of deployable commands. See [Adding deployment commands to a project](../projects/project-config#configuring-project-commands) for more information.

## Viewing all deployments

Select <Icon icon="chart-network" iconType="light" /> **Deployments** from the left-hand navigation to view a list of deployments across all projects you own or that have been shared with you.

<Frame>
  <img src="https://mintcdn.com/anaconda-29683c67/ZgqdN7i1L1qurUKy/images/ae5_view_all_deployments_2.png?fit=max&auto=format&n=ZgqdN7i1L1qurUKy&q=85&s=1fd6d601348947334d4fc21eb6d9690d" alt="" width="1922" height="444" data-path="images/ae5_view_all_deployments_2.png" />
</Frame>

## Viewing a project’s deployments

To view the deployments specific to a project:

1. From the <Icon icon="file-code" iconType="light" /> **Projects** page select your project.
2. Select  <Icon icon="chart-network" iconType="light" /> **Deployments** from the left-hand navigation.

## Deploying a project

Deployments are run independently of development sessions for projects, and can be deployed to different hardware resource profiles.

1. From the <Icon icon="file-code" iconType="light" /> **Projects** page, select the project you want to deploy.

2. Select <Icon icon="chart-network" iconType="light" /> **Deployments** from the left-hand menu.

3. Click **Deploy**.

4. Enter a name for your deployment.

5. Select a resource profile to run your deployment.

   <Note>
     The configurations present in this dropdown are controlled by your Administrator. Check with them if you are unsure which profile to choose.
   </Note>

6. Select the project version associated with the deployment command you are running.

7. Select a deployment command.

   <Warning>
     If there is no deployment command listed, you cannot deploy your project.
   </Warning>

8. Set the URL for your deployment.

   <Note>
     This is the URL you’ll use to access your deployment from a web browser, and therefore *it must be unique*. Toggle **Static URL** `OFF` if you want Workbench to automatically generate a URL for your deployment.
   </Note>

9. Share your deployment with any other users or groups.

10. Set your deployment to private or public access:

    * **Private access**: Restricts access to authenticated platform users only. Private deployments display a <Icon icon="lock" iconType="solid" /> lock to indicate their secure status.

    * **Public access**: Opens access to non-authenticated users.

11. Click **Deploy**.

<Note>
  It can take several minutes to obtain and build all the dependencies for the project deployment.
</Note>

You can also schedule a project to be deployed on a regular basis or at a specific time. For more information, see [Schedules](../schedules).

## Interacting with deployments

To interact with your deployment, select it from the list of project deployments, or navigate to its URL in a web browser.

<Frame>
  <img src="https://mintcdn.com/anaconda-29683c67/ZgqdN7i1L1qurUKy/images/ae5_deployment_interact_2.png?fit=max&auto=format&n=ZgqdN7i1L1qurUKy&q=85&s=9daf6cb48bf839e40a86b18817db64bf" alt="" width="1922" height="753" data-path="images/ae5_deployment_interact_2.png" />
</Frame>

## Terminating a deployment

Deployments that are no longer needed should be terminated to remove them from the server and free up cluster resources. Terminating a deployment does not affect the project that was used to create the deployment.

<Warning>
  Terminating a deployment makes it unavailable to [any users you shared it with](./share).
</Warning>

To terminate a deployment:

1. From the  <Icon icon="file-code" iconType="light" /> **Projects** page, select  <Icon icon="chart-network" iconType="light" /> **Deployments** from the left-hand navigation.
2. Select the deployment you want to terminate.
3. Click  <Icon icon="stop" iconType="solid" /> **Stop deployment** at the top of the page.
4. Click **Terminate** to confirm that you want to terminate the deployment.

<Note>
  You can also terminate a deployment from its <Icon icon="gears" iconType="light" /> **Settings** page.
</Note>
