For the complete documentation index, see llms.txt. This page is also available as Markdown.

Connect to Redshift

Configure Redshift connections for local development and DataOS Depot deployments.

With roles and grants in place, this is the connect stage. Configure the gateway that lets Vulcan reach Redshift, then validate it before writing models.

Flagged for review: the source manual had a generic "install Vulcan" step here (pip install vulcan-<version>-py3-none-any.whl) with an unresolved placeholder for the wheel link ("TBD: attach the wheel link from your DataOS distribution channel"). That step isn't Redshift-specific and doesn't appear on any other converted engine page, so it's left out here. The broken link is still unresolved wherever the shared install/prerequisites doc lives and worth fixing there.

Connection options

Set these options under gateways.<name>.connection in config.yaml.

Option
Description
Type
Required

type

Engine type name. Must be redshift.

string

Yes

host

The Redshift cluster or Serverless endpoint.

string

Yes

port

The port number (default 5439).

int

Yes

database

The database to connect to. Must already exist.

string

Yes

user

The username for authentication.

string

Yes

password

The password for authentication.

string

Yes

ssl

Enable SSL for the connection.

bool

No

sslmode

Connection security level (for example, require).

string

No

Authentication methods

  • Username and password (required): set user and password.

  • SSL (required for production): set ssl: true and sslmode: require.

Example gateway config

Local direct connection:

state_connection is strongly recommended for Redshift, the same pattern as Databricks. Vulcan's plan/interval state lives in Postgres; isolate projects with state_schema.

Local development

Unlike PostgreSQL, Redshift has no official local container. You cannot run a full Redshift stack end to end on your laptop. Point local development at a small dev cluster or a low-RPU Serverless workgroup, and keep only the Vulcan state store local.

Bring up a local Postgres container for Vulcan state:

Then validate against your Redshift target:

Production deployment

DataOS Depot is recommended for production. Configure a gateway with type: depot and address: dataos://<depot-name>?purpose=rw. The depot manages the Redshift credential and access purpose.

1

Apply the Redshift instance secret

Apply the Redshift instance secret.

2

Apply the Redshift depot

Apply the Redshift depot.

3

Apply the Git secret

Apply the Git secret.

4

Add config.yaml to the repository

Configure the depot-backed gateway in config.yaml.

5

Apply the Vulcan domain resource

Apply the Vulcan domain resource in deploy.yaml.

Manifest
Purpose
Key fields

redshift-secret.yaml

DB credentials

host, user, password, etc.

redshift-depot.yaml

Registers the cluster; binds secrets to rw / query / scan

spec.type: redshift, spec.spec.host, secrets[].id

secret-git-sync.yaml

Repo credentials

Git sync keys

config.yaml

Gateway type: depot, address: dataos://<depot>?purpose=rw

See example above

deploy.yaml

Workflow + API

engine: redshift, depots, repo.*, workflow, api

Depot purposes

Bind the correct purpose to each secret. A query credential cannot create tables. Do not give consumers an rw credential.

Purpose
Who uses it
What it allows

rw

Vulcan workflow

Read/write schemas for materialization

scan

Metadata scanner

Catalog / lineage

query

Consumers

Read-only SQL path

Before you deploy checklist

Next step

After connection configuration is ready, choose a model strategy in Materialization Behavior.

Last updated

Was this helpful?