How can I use the ScyllaDB Cloud API to manage Cloud and X Cloud clusters?

Specifically, how do I generate an API token? Also, I’m interested if it’s possible to do things like create a cluster, decommission a cluster, change the scaling policy, view existing clusters, and so on.

Hi Guy,

That’s a great question. To get the API Token, you need a Scylla Cloud account and Click on your Name’s drop down and open Settings → Personal Token → Generate Token

The next screen will let you name and save the token and the only time you will see the token value to copy and save locally in a text file. This API token will not be shown again, so it’s important to copy it out at this stage.

This token is then used for all the API calls to create a cluster, scale the cluster, decommission the cluster, list the cluster nodes, list all the cluster under your account and much more.

For complete reference: Scylla Cloud API Reference | Scylla Docs

On a side note, I have been working on a wrapper to the Scylla cloud API to make it simple enough to manage Scylla Cloud / X Cloud clusters without worrying about many of the details that are required when using the API. This wrapper is still a beta but works well, free to try it out :slight_smile:

Enjoy.

A detailed reference is also available within proteus that explains step by step Cloud / X Cloud API usage