If you're on a Linux or MacOS system, you'll need to mark the biganimal file as executable by
running chmod +x [/path/to/biganimal] before you can use it.
Example (for Linux or MacOS):
Next, you need to create a credential on BigAnimal. You can pick any username you prefer.
Linux dependencies
The BigAnimal CLI uses the xdg-open utility to open a browser on Linux systems.
On minimal systems, you might need to install this dependency before creating a credential.
The command will direct you to open a webpage and copy the randomly generated, one-time code. You’ll need to log in (or already be logged in) to activate the credentials. You can see the credentials you've verified on the command line.
Caution
If you add another credential, the newly created credential will be set as the new default context credential. You’ll need to add --credential [newuser] to the following commands to override the default credentials. If you have only one, the option isn't needed. You can change the default credential using biganimal config set context_credential [name].
Use the biganimal region show command to see the available active regions you can pick from for your cluster.
Edit a new file called create_cluster.yaml:
Use the config file to create a new cluster:
Select y.
If successful, cluster create will give you the ID of your new cluster (you'll use this to manage it) as well as
the command you can use to check the status of your new cluster.
Here's example output from the cluster show command:
It might take a few minutes to create your cluster. When it’s ready,
the Status column will change to "Cluster in healthy state."
In the meantime, you can get the connection string for your cluster. For example:
After the cluster is created, log in by way of psql. Use the password from the config file for edb_admin.
Other options for connecting
Sure, psql is great, but maybe you want to use another client. See Connect to your cluster for other options.