Skip to main content

Overview

A Datazone project is a Git repository containing your data pipelines, actions, intelligent apps, and endpoints. All project components are defined in a central config.yml file.

Project Structure

my-project
config.yml
pipelines
hello_world.py
data_processing.py
utils.py
  • Each project must have a config.yml file
  • Each pipeline should have a unique alias and be defined in separate files
  • You can organize your code with utility files for shared logic

Configuration File

The config.yml file defines all project resources:
config.yml

Configuration Reference

Project Fields

string
required
Name of your project. Used for display and identification.
string
required
Unique identifier for your project. Generated when you create a project.
array
List of data pipeline definitions. Each pipeline processes and transforms data.
array
List of serverless action functions. Actions can be triggered by endpoints or used by AI agents.
Learn more in the Actions documentation.
array
List of intelligent AI applications.
array
List of API endpoint configurations.
Learn more in the Endpoints documentation.

Pipeline Configuration

string
required
Short, unique identifier for the pipeline. Used in CLI commands and UI.
string
required
Relative path to the pipeline Python file from project root.
string
default:"SMALL"
Compute instance size for pipeline execution.Available sizes:
  • XSMALL - 2 vCPU, 8 GB RAM
  • SMALL - 4 vCPU, 16 GB RAM
  • MEDIUM - 8 vCPU, 32 GB RAM
  • LARGE - 16 vCPU, 64 GB RAM
  • XLARGE - 32 vCPU, 128 GB RAM (Enterprise only)
string
default:"local"
Spark deployment mode for distributed processing.Options:
  • local - Runs on a single machine (default)
  • client - Driver runs in the same process, executors run separately
  • cluster - Both driver and executors run in separate processes (Enterprise only)
integer
Number of Spark executors for parallel processing. Only applies when deploy_mode is client or cluster.
object
Additional Spark configuration properties. Pass any custom Spark configuration key-value pairs.
array
Python packages required by the pipeline. Installed before execution.

Python Dependency Fields

string
required
Python package name from PyPI or custom index.
string
Specific package version. If omitted, installs the latest version.
string
Custom Python package index URL. Useful for private packages or mirrors.

Action Configuration

string
required
Relative path to the action Python file containing an @action decorated function.
Each file should contain one action function. Learn more in the Actions documentation.

App Configuration

string
required
Relative path to the intelligent app Python file.

Endpoint Configuration

string
required
Relative path to the endpoint configuration YAML file.
Learn more in the Endpoints documentation.

Example Projects

Data Processing Pipeline

Multi-Component Project

Next Steps