Show Categories

How to Deploy MariaDB with Cloudzy’s One-Click App

Deploying MariaDB on your Cloudzy VPS is straightforward with the One-Click App. This guide will walk you through the process step by step, ensuring you have your database server up and running quickly. Whether you’re a beginner or an experienced user, this tutorial will help you get started with MariaDB efficiently.

Prerequisites

Before you start deploying MariaDB on your Cloudzy VPS, ensure you have the following prerequisites:

Enough Credit: Ensure your Cloudzy account has sufficient credit to set up and use the MariaDB OCA.

Active Account: Your Cloudzy account should be active and ready for use.

Operating System Compatibility: The MariaDB One-Click App is compatible with Ubuntu. You can choose from Ubuntu Server 20.04, Ubuntu Server 22.04, and Ubuntu Server 24.04 versions.

Step 1: Selecting the MariaDB Application

  1. Navigate to the Applications section: On your Cloudzy dashboard, go to the “Applications” section.

  2. Choose MariaDB: Find and select the “MariaDB” option from the list of available applications.

Applications page
  1. Click on Deploy Service: Click the “DEPLOY SERVICE” button to proceed.
Applications page

Step 2: Configure Your Service

  1. Select Server Location:

Choose the region where you want your server to be hosted. For example, you can select “Miami”.

  1. Choose Operating System:

MariaDB server. You can choose from Ubuntu Server 20.04, Ubuntu Server 22.04, and Ubuntu Server 24.04.

Applications page
  1. Choose Server Configuration:

Under the “Plan” section, select the server configuration that suits your needs. For example, you can choose a plan with 2 vCPUs, 2 GB memory, and 50 GB storage.

Applications page
  1. Add SSH Key:

If you want to use SSH keys for secure login, add your SSH key. Refer to these guides about how to configure and use SSH keys Cloudzy SSH Key Guide.

ssh keys
If you want to use SSH keys for secure login, add your SSH key. Refer to these guides about how to configure and use SSH keys: Cloudzy SSH Key Guide. Once all configurations are confirmed to your satisfaction, click on the ‘Deploy Now’ button to start the VPS provisioning process.

  1. Set Hostname:

Enter a hostname for your MariaDB server. For instance, “MariaDB-US-Miami-2gb”.

Step 3: Deploy Your Service

  1. Deploy the Service:

Click the “Deploy Now” button to start the deployment process.

  1. Wait for Deployment:

The deployment process will begin, and you will see status updates as your VPS is being set up.

initializing
  1. Service Ready:

Once the deployment is complete, you will see a confirmation message indicating that your VPS has been created successfully. Note down the IP address, username, and password for your MariaDB server.

success

Note down these details carefully. You will need them to access your MongoDB server.

Completing these steps ensures that your MongoDB server is up and running. You can now connect to your server using the provided credentials to start using MongoDB for your applications.

Step 4: Access Your MariaDB Server

  1. Connect to Your Server:

Use the provided IP address, username, and password to connect to your MariaDB server via SSH. If you need help connecting via SSH, refer to this guide.

  1. Initial Configuration:

Once logged in via SSH, you will be prompted to enter the following details:

Username for Database: Enter the username for the admin user, such as “cloudzy”.

Name of Database: Enter the name of the database, for example, “cloudzy”.

Host for Database: Press Enter to select the current server as the host.

Terminal
  1. Access Database Credentials:

To view your database admin credentials, access the file located at

/root/.maria-env

on your server. Use the command

cat /root/.maria-env

to see the credentials.

Terminal

By following these steps, your MariaDB server will be configured with an admin user and prepared for database operations. This setup ensures that your server is fully operational and secure for immediate use.

cloudzy
© 2008-2024 Cloudzy. All rights reserved.
75 Reviews|4.9 Average