DAB multiple workspaces
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2025 03:05 PM
Hi,
We have 3 regional workspaces. Assume that we keep seperate folder for notebook say amer/xx , apac/xx, emea/xx and sepeate job/pipeline configrations for each region in git how to make sure during deploy appropriate job/pipleines are deployed in resepctive workspaces.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2025 09:04 AM
Hi @samtech,
- Define separate bundle configuration files for each region. These configuration files will specify the resources (notebooks, jobs, pipelines) and their respective paths. For example, you can have amer_bundle.yml, apac_bundle.yml, and emea_bundle.yml.1
- In each bundle configuration file, define the resources specific to that region. Here is an example for the amer region:
bundle:
targets:
amer:
workspace:
host: https://<amer-workspace-url>
profile: amer_profile
apac:
workspace:
host: https://<apac-workspace-url>
profile: apac_profile
emea:
workspace:
host: https://<emea-workspace-url>
profile: emea_profile
- Use the Databricks CLI to deploy the bundles to the respective workspaces. For example, to deploy the amer bundle:
databricks bundle deploy --bundle-file amer_bundle.yml --target amer