Skip to main content

Create a new Database

Databases can be created from the StateMesh Console or using the CLI.

Using the StateMesh Console

To create a new database, follow these steps:

  1. Log in to the StateMesh Console.
  2. Click on the Create... link in the sidebar under Databases
  3. Provide a Name and an optional description for your database
  4. Choose the project
  5. Hit Continue button
  6. Your database resource is now created and waits to be published.
  1. Configure the number of replicas, volume for data storage and resource requirements (advanced settings).
  2. Choose if you want to expose your database publicly.
  3. Deploy your configured database by clicking the Publish button.
  4. Follow the next section to see how you can access your database.

Using the CLI

Install the latest version of the StateMesh CLI and run the following command:

smcli database create

The CLI will prompt you to provide the required information for creating your database.