Table of contents

Deploy an asset as an app

An app deployment generates a URL that runs the asset code as an interactive UI session.

The following asset types can be deployed as an app:

  • Jupyter notebooks
  • Shiny servers

Deploy a Jupyter notebook as an app

Important: Ensure that you run your notebook before you deploy it as an app. Otherwise, cell results such as graphs do not appear.

Open the Assets tab in the Project release details page. Select a Jupyter notebook from the left side of the assets table, and then, in the right side, click the button to create an app. The Create app deployment window opens.

Create app deployment

You are prompted with the following fields:
Name
Specify a name for the asset that will be deployed. Use only lowercase alphanumeric characters and hyphens, up to 26 characters.
URL
View the generated URL for the app.
Shared with
Specify who can interact with the app after it is deployed.

When an app deployment is created and the project is live, you can view the app by going to the Deployments tab on the Release details page and clicking the app.

Deploy a Shiny server as an app

You can navigate to the Assets tab in the Project release details page. When a Shiny Server is selected in the left panel of the assets table, the right panel of the assets table provides the button to create an app, which brings you to the Create app deployment screen.

You are prompted with the following fields.

Name
Specify a name for the asset that will be deployed. Use only lowercase alphanumeric characters and hyphens, up to 26 characters.
URL
View the generated URL for the app.
Worker
The worker for the deployment is shown.
Reserve resources
  • If you do not enable Reserve resources, the deployment uses resources only as required, but there is no guarantee that these resources will be available at the time of need.
  • If you enable Reserve resources, specify a reserved set of CPU and memory from the available pool to allocate to the deployment. No other deployments can use these resources when they are reserved.
Shared with
Specify who can interact with the app after it is deployed. When you change permissions for a deployed app that is currently enabled, you will need to disable then re-enable the app for the new permissions to take effect.

When an app deployment is created and the project is live, you can view the app by going to the Deployments tab on the Release details page and clicking the app.