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, you’ll need to add --credential [newuser] to the following commands. If you have only one, the option isn't needed. You can change the default credential using biganimal config set context_credential [name] You can remove unneeded credentials using biganimal delete-credential [olduser]. Most users don't need to add multiple credentials.
In the free trial, the range of cluster options is somewhat limited but should be more than sufficient for demonstrating the capabilities of BigAnimal.
Pick the region closest to you from the list provided by BigAnimal:
Other options can be queried by using the CLI, but the only value we need to set for this demo is the region Id.
Edit a new file called create_cluster.yaml:
Use the config file to create a new cluster:
If successful, create-cluster 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:
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:
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.