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.
Connection options
Set these options under gateways.<name>.connection in config.yaml.
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
userandpassword.SSL (required for production): set
ssl: trueandsslmode: require.
Example gateway config
Local direct connection:
Local development
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.
Apply the Redshift instance secret
Apply the Redshift instance secret.
Apply the Redshift depot
Apply the Redshift depot.
Apply the Git secret
Apply the Git secret.
Add config.yaml to the repository
Configure the depot-backed gateway in config.yaml.
Apply the Vulcan domain resource
Apply the Vulcan domain resource in deploy.yaml.
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.
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?