Σημείωμα
Η πρόσβαση σε αυτήν τη σελίδα απαιτεί εξουσιοδότηση. Μπορείτε να δοκιμάσετε να εισέλθετε ή να αλλάξετε καταλόγους.
Η πρόσβαση σε αυτήν τη σελίδα απαιτεί εξουσιοδότηση. Μπορείτε να δοκιμάσετε να αλλάξετε καταλόγους.
Create a Databricks app quickly by starting from a template. The UI guides you through selecting a framework, naming your app, and configuring required resources. Once you create the app, Azure Databricks deploys it with example code and setup instructions to help you begin development locally.
Create the app
To create an app from a template in the Azure Databricks UI, do the following:
In your Databricks workspace, click the
app switcher and select Databricks Apps.
Click + Create app.
Under Install from templates, click the tab for your use case, and select a template from the list.
Note
If your workspace admin enforces Git-only deployments, you can't install apps from templates. Instead, create a custom app from a Git repository. See Enforce Git-only deployments.
Configure the required resources that your app needs to function properly. See Add resources to a Databricks app.
(Optional) Select an Instance size for the app. See Configure compute resources for a Databricks app.
(Optional) Enable horizontal scaling. See Horizontal scaling for Databricks apps.
Click Next. If the template uses resources or user authorization scopes, review the app and user authorization settings, and then click Next.
Enter an app name and optional description.
Note
- App names must be unique within the workspace and can only contain lowercase letters, numbers, and hyphens. Names must start and end with a letter or number.
- Don't include sensitive information in app names.
- You can't change the app name after you create it.
- App names and deployment history are visible to all workspace users.
(Optional) Select a Serverless usage policy to attribute the app's usage. See Attribute usage with serverless usage policies.
(Optional) Under Connect to your Git repo, enter a Git repository URL, select a Git provider, and enter the Directory in repo where Azure Databricks places the template code. Leave the directory empty to use the repository root. To create a workspace-backed app instead, leave the repository URL empty. See Deploy from a Git repository.
Click Create app.
Databricks Apps creates and deploys your app, including example code from the template and necessary configuration.
The app details page shows the following:
- The status of the app creation and deployment.
- Instructions for continuing development locally in the Edit in your IDE section, including copying app artifacts to your environment and syncing changes back to the Azure Databricks workspace.
Azure Databricks generates the app URL automatically based on your app name and workspace ID. You can't change the URL after you create the app. If you need a different URL, create a new app with a different name. For more information, see App URL.
Copy artifacts to your local environment
To copy app artifacts from your workspace to your local development environment, use the Databricks CLI:
databricks workspace export-dir <workspace-path> <target-path>
Replace the following in the command:
<workspace-path>with the path to the workspace files directory that contains your app code and artifacts.<target-path>with a path in your local environment to copy the files to.
To learn how to update app code, see Develop Databricks apps.