> ## 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  **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.png?fit=max&auto=format&n=ZgqdN7i1L1qurUKy&q=85&s=806de5f0c3d23225b64fc0a8d0433871" alt="" width="1922" height="585" data-path="images/ae5_view_all_deployments.png" />
</Frame>

## Viewing a project’s deployments

To view the deployments specific to a project:

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

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

## Deploying a project

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

1. From the 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**.

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

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:

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

  <Tab title="Public access">
    Opens access to non-authenticated users.
  </Tab>
</Tabs>

11. Click **Deploy**.

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

<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 [Scheduling deployments](./schedule-deploy).

## 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.png?fit=max&auto=format&n=ZgqdN7i1L1qurUKy&q=85&s=8e13597d65a9fe60174f96d5da420d21" alt="" width="1922" height="785" data-path="images/ae5_deployment_interact.png" />
</Frame>
