Quick start for the BigAnimal free trial
Follow this quick walk-through to configure a PostgreSQL 15 cluster on BigAnimal running against AWS with a free trial account.
Step 1: Create an account and sign into the portal
If you haven't done so already, you'll need to create your EDB account.
Then, use your newly created account to access the BigAnimal free trial portal.
Note
Continue to use the portal at freetrial.biganimal.com to access BigAnimal for the duration of your free trial.
Step 2: Create an AWS cluster
Select the Clusters link on the left to navigate to the Clusters page.
Select Create New Cluster.
You should now find yourself at the Create Cluster page.
Select Single Node as your cluster type.
For Provider, select AWS.
Select Next: Cluster Settings.
In the Cluster Name field, enter
AWS PostgreSQL cluster
.In the Password field, enter a strong, memorable password.
This is the admin password for the cluster.
For Database Type, select PostgreSQL.
This selection gives you an official build of PostgreSQL.
For Postgres Version, select 15.
For Region, select US East 1.
For Instance Type and Storage, only one set of options is available in the trial. Select each option.
Select Create Cluster. You'll be brought back to the Clusters page with your newly configured cluster now populating the list. It usually takes a minute or two for your cluster to be ready but can take up to an hour. A progress bar is shown near the right.
Managing your cluster
After you select Create Cluster, you'll be brought back to the Clusters page with your newly configured cluster now populating the list. In the free trial, you can provision only one cluster at a time. That said, you can delete your cluster, start a new cluster, and even restore a deleted cluster. BigAnimal automatically backs up clusters.
Once your first cluster is fully provisioned, your 14-day free trial officially starts, and a countdown appears telling you how many days are left in your trial.
Step 3: Connect to your new cluster
Select your cluster to get an overview of how it has been configured. Select the Connect tab to see more information about how to connect to your cluster.
Select the Overview tab and copy the Quick Connect command. Paste it into a terminal where psql is installed. It will prompt for your password and put you on a SQL command line.
Note
While psql is a good all-around option for working with Postgres databases, you can use the client of your choice. See Connect to a cluster for more ideas.
Things to try
Create a new database
We're going to create some sample math data, so we're going to create a database called math
. We could use the default edb_admin
database, but best practice is to isolate data.
Create a new
math
database.Note
Normally, we would also create a separate, limited-privilege user to own this database. However, the free trial user can't create users, so we can only create the database.
Connect to the
math
database. You're prompted for theedb_admin
password you provided in Step 2 above.
Populate a table and query it
We're going to use temporary tables to calculate prime numbers using a Sieve of Eratosthenes.
Create a table called
primes
for storing prime numbers.Populate the table with all prime numbers up to 1000. (This code is based on code from David Fetter.)
Select the largest prime number less than 1000.
Further reading
Now that you've got the basics, see what else BigAnimal offers: