Create a database
To create a database, you must have one of the following roles:
Create a Serverless (Vector) database
-
In the Astra Portal, select Databases in the main navigation.
-
Select Create Database.
-
In the Create Database dialog, select the Serverless (Vector) deployment type.
-
In Configuration, enter a meaningful Database name.
You can’t change database names. Make sure the name is human-readable and meaningful. Database names must start and end with an alphanumeric character, and can contain the following special characters:
& + - _ ( ) < > . , @
. -
Select your preferred Provider and Region.
You can select from a limited number of regions if you’re on the Free plan. Regions with a lock icon require that you upgrade to a Pay As You Go plan.
-
Click Create Database.
You are redirected to your new database’s Overview screen. Your database starts in Pending status before transitioning to Initializing. You’ll receive a notification once your database is initialized.
Once your database is initialized, you can start loading data and connect with a client or driver.
If your database must satisfy additional availability or locality requirements, you can configure additional regions.
Create a Serverless (Non-Vector) database
-
In the Astra Portal, select Databases in the main navigation.
-
Click Create Database.
-
In the Create Database dialog, select the Serverless (Non-Vector) deployment type.
-
In Configuration, enter a meaningful Database name.
You can’t change database names. Make sure the name is human-readable and meaningful. Database names must start and end with an alphanumeric character, and can contain the following special characters:
& + - _ ( ) < > . , @
. -
Enter a name for your first keyspace in the Keyspace name field.
A keyspace stores your group of tables, like a schema in a relational database. This helps keep related tables of information in a single place within your database.
Name your keyspace to reflect your data model. Use only alphanumeric characters and underscores. Keyspace names have a maximum of 48 total characters and cannot be named
dse
orsystem
. -
Select your preferred Provider and Region.
You can select from a limited number of regions if you’re on the Free plan. Regions with a lock icon require that you upgrade to a Pay As You Go plan.
-
Click Create Database.
You are redirected to your new database’s Overview screen. Your database starts in Pending status before transitioning to Initializing. You’ll receive a notification once your database is initialized.
Once your database is initialized, you can start loading data and connect with a client or driver.
If your database must satisfy additional availability or locality requirements, you can configure additional regions.