Skip to content

Instance Types

Python tasks in Datablast can be configured with different instance types to match your workload requirements.

Instance TypeCPU LimitMemory LimitCPU RequestMemory RequestUse Case
d1.nano250m512Mi250m256MiLightweight tasks, testing (Default)
d1.small500m1200Mi500m1GiSmall data processing
d1.medium750m2400Mi750m2GiMedium workloads
d1.large14400Mi14GiLarge data processing
d1.xlarge26600Mi26GiHeavy workloads, ML training

Default Instance: d1.nano - No need to specify unless you need more resources.

⚠️ Important: Using instance types other than d1.nano may incur additional charges. Please consult with your Datablast representative for pricing details before upgrading instance types.

name: "ml_models.churn_prediction"
type: "python"
description: "Generate churn predictions using trained model"
run: "churn_prediction.py"
instance: "d1.large" # Specify instance type
ml_models.churn_prediction
# @blast.type: python
# @blast.description: Generate churn predictions using trained model
# @blast.instance: d1.large
import os
import pandas as pd
import numpy as np
# Your Python logic here
execution_date = os.getenv('BLAST_START_DATE')
result = process_data(execution_date)
print(f"Successfully processed data for {execution_date}")
name: "data.validation"
type: "python"
instance: "d1.nano" # Default, can be omitted
run: "validate_data.py"
name: "data.aggregation"
type: "python"
instance: "d1.small"
run: "aggregate_data.py"
name: "data.transformation"
type: "python"
instance: "d1.medium"
run: "transform_data.py"
name: "ml.model_training"
type: "python"
instance: "d1.large"
run: "train_model.py"
name: "ml.deep_learning"
type: "python"
instance: "d1.xlarge"
run: "train_deep_model.py"
  • name: Unique task identifier
  • type: Must be python
  • run: Python file to execute
  • description: Human-readable description
  • instance: Instance type (defaults to d1.nano)
  • depends: Task dependencies
  • secrets: Secret management
  • connections: Database connections