# Using the Portal

The MariaDB Cloud database deployment time varies: a Serverless instance is ready in seconds, while a Provisioned database may take a few minutes to complete. You can deploy on AWS, GCP, or Azure across nearly 50 global regions.

You can provision a database in four ways:

* MariaDB Cloud Portal: Use a web browser to launch services with a few clicks.
* DBaaS API: Use a REST client for programmatic control.
* Terraform Provider: Use infrastructure-as-code to manage your database.
* Python Scripts: Use Python code to connect to the DBaaS API for provisioning and managing services.

This QuickStart guide will help you get started with the Portal.

## Step 1: Register for MariaDB Cloud

Go to [app.skysql.com](https://app.skysql.com) to sign up. You can sign up using your Google, GitHub, or LinkedIn credentials. Or just use your Email address to sign up.

<figure><img src="https://3360768873-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvPz15Lz0Iw3P3yKR3Prd%2Fuploads%2FooyLKeyUWWKEGfPhHxy8%2Fimage.png?alt=media&#x26;token=07560f95-2ba9-46ee-b07c-1daae20a1b33" alt="Login form for MariaDB Cloud, showing information about the service in the left panel, and the login form itself in the right panel."><figcaption><p>MariaDB Cloud login form</p></figcaption></figure>

## Step 2: Launch a Service

1. [Log in to the MariaDB Cloud Portal](https://app.skysql.com/) and, from the Dashboard, click the [+ Launch New Service](https://app.skysql.com/launch-service) button.
2. From the launch interface, select one of the following service types:
   * Provisioned:
     * MariaDB Server with Replicas
     * MariaDB Server Single Node
     * MariaDB Enterprise Cluster

       <div data-gb-custom-block data-tag="hint" data-style="warning" class="hint hint-warning"><p><strong>Tech Preview Limitation</strong></p><p>MariaDB Enterprise Cluster is currently available as a <em>Tech Preview</em>. They are exclusively available on the <strong>PowerPlus</strong> tier and require a minimum of 3 nodes to maintain quorum.</p></div>
   * Serverless:&#x20;
     * MariaDB Serverless Single Node.
3. Select your cloud provider and region:\
   Choose AWS, Google Cloud, or Azure, and then select one of the supported regions for the chosen provider.\
   Examples:

   * `AWS` with `Ohio, USA (us-east-2)`
   * `Google Cloud` with `Iowa, USA (us-central1)`
   * `Azure` with `Virginia, USA (eastus2)`

   \
   **Note:** Available regions vary by cloud provider and service type.
4. Service Name: Enter a name to identify your database service, such as `quickstart-1` or keep the automatically suggested service name.
5. Click the `Launch Service` button.\
   For additional information on available selections, see "[Service Launch](https://mariadb.com/docs/mariadb-cloud/cloud-usage/launch-page)".

<figure><img src="https://3360768873-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvPz15Lz0Iw3P3yKR3Prd%2Fuploads%2FZ5jgeSSlsid80ZEpoEvK%2Fservice-attribute.png?alt=media&#x26;token=1c7529b1-45de-4599-9fea-ad7d362397d2" alt="Provide a unique service name for the database service."><figcaption><p>Service Name Identifier</p></figcaption></figure>

6. After launching, you will then be redirected to the Dashboard. \
   **Note**: If you choose a Serverless deployment, your service will be in a 'Healthy' state and ready for use. For Provisioned deployment types, the service will initially be in a 'Creating' state. Please wait until it transitions to a 'Healthy' state before proceeding to the next step. Typically, launching a new Provisioned database takes about 5 minutes or less.

## Step 3: Observe, Scale

### Monitoring

You can monitor all the important database and OS metrics from the Dashboard. The monitoring UI also allows you to view, download any/all logs, including error, info, or Audit logs.

Basic status is shown on the Dashboard.

To see expanded status and metrics information:

1. From the Dashboard, click on the service name (for example, `sales-demo`).
2. From the Monitoring Dashboard, use the navigation tabs to view either the Service Overview or individual server details.
3. Specific metric views are available and can be accessed using the buttons in the upper-right corner of the service overview. These views include `Status`, `Lags`, `Queries`, `Database`, and `System`.<br>

<figure><img src="https://3360768873-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvPz15Lz0Iw3P3yKR3Prd%2Fuploads%2F20H37swG5ndk1heIaruP%2Fmonitoring.png?alt=media&#x26;token=92fb2da4-6fe1-4fa2-8515-788d8d7c398e" alt="Monitoring dashboard showing service status, database, and operating system metrics, log access, and navigation tabs for service and server-level views."><figcaption></figcaption></figure>

*Monitoring Dashboard*

### Scaling

MariaDB Cloud features automatic rule-based scaling (Autonomous) and manual on-demand scaling.

**Note:** Scaling does not apply to Serverless deployments.

With automatic scaling, node count (horizontal) and node size (vertical) changes can be triggered based on load. Additionally, storage capacity expansion can be triggered based on usage. These Autonomous features are opt-in. For additional information, see "[Autonomous](https://mariadb.com/docs/mariadb-cloud/cloud-management/autonomously-scale-compute-storage)".

<figure><img src="https://3360768873-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvPz15Lz0Iw3P3yKR3Prd%2Fuploads%2Fth6uEaGkRODqN1DCQBmU%2Fautonomous-settings.png?alt=media&#x26;token=6b3f036a-c2e8-4f08-86d1-0b480cb55e6c" alt="Autonomous Settings enables automatic scaling of node count, node size, and storage capacity based on workload and usage."><figcaption></figcaption></figure>

*Autonomous Settings for automatic scaling and storage management*

With manual scaling, you can perform horizontal scaling (In/Out), vertical scaling (Up/Down), and storage expansion on demand using Self-Service Operations. For additional information, see "[Self-Service Operations](https://mariadb.com/docs/mariadb-cloud/cloud-usage/manage-your-service)".

<figure><img src="https://3360768873-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvPz15Lz0Iw3P3yKR3Prd%2Fuploads%2FmxwjvwdGFK8owZm7bENB%2Fself-scaling.png?alt=media&#x26;token=56f7dc69-48ef-414b-bb34-a4cd0b68bf28" alt="Self-service operations allow on-demand horizontal scaling, vertical scaling, and storage expansion."><figcaption></figcaption></figure>

*Self-Service Scaling of Nodes and storage*

## Step 4: Tear-Down

When you are done with your testing session, you can stop the service. When a service is stopped, storage charges continue to accrue, but compute charges pause until the service is started again.

When you are done with testing, you can delete the service.

Stopping, starting, and deleting a service are examples of Self-Service Operations that you can perform through the Portal.

## See Also

[Self-Service Operations](https://mariadb.com/docs/mariadb-cloud/cloud-usage/manage-your-service)

[Launch DB using the REST API](https://mariadb.com/docs/mariadb-cloud/quickstart/launch-db-using-the-rest-api)

[Launch DB using the Terraform Provider](https://mariadb.com/docs/mariadb-cloud/quickstart/launch-db-using-the-terraform-provider)

[Launch DB using Python](https://mariadb.com/docs/mariadb-cloud/quickstart/launch-db-using-python)
