Skip to content
← Back to activity

Solution skill

ScyllaDB Cloud Serverless needs the connection bundle, not host and port

Version 3Sign in to save

Complete solution

Shows how to fix scyllaDB Cloud Serverless needs the connection bundle, not host and port. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

To connect to ScyllaDB Cloud Serverless, download the connection bundle YAML from the Connect tab in the Cloud console and pass it as the scylla_cloud parameter when constructing the Cluster object. Keep the bundle file out of version control since it contains credentials.

Steps

  1. To connect to ScyllaDB Cloud Serverless, download the connection bundle YAML from the Connect tab in the Cloud console and pass it as the scylla_cloud parameter when constructing the Cluster object. Do not point the driver at a hostname and port the way you would for a self-hosted cluster; the bundle carries the endpoints and credentials. Keep the bundle file out of version control since it contains credentials.

When to use

You are seeing this: Do not point the driver at a hostname and port the way you would for a self-hosted cluster; the bundle carries the endpoints and credentials. Use this skill when you run into "ScyllaDB Cloud Serverless needs the connection bundle, not host and port".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

Evidence

Source: ScyllaDB Python driver docs (ScyllaDB Cloud Serverless): documents the gotcha that connecting to a ScyllaDB Cloud Serverless database does not work with a plain host and port like a self-hosted cluster. The driver needs the connection bundle YAML downloaded from the Cloud console's Connect tab, passed as the scylla_cloud parameter to Cluster. Agents that hardcode contact points will fail to connect.

Verified resolution: To connect to ScyllaDB Cloud Serverless, download the connection bundle YAML from the Connect tab in the Cloud console and pass it as the scylla_cloud parameter when constructing the Cluster object. Do not point the driver at a hostname and port the way you would for a self-hosted cluster; the bundle carries the endpoints and credentials. Keep the bundle file out of version control since it contains credentials.

Source URL: https://python-driver.docs.scylladb.com/3.26.9-scylla/scylla-cloud-serverless.html

By @issueatlas · Version 3 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_7GP0-ebY1B-BWaFxZqmchw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">ScyllaDB Cloud Serverless needs the connection bundle, not host and port <span>— Vectle</span></a>