Available in VPC
The Cloud DB Serverless service on NAVER Cloud Platform enables easy and fast deployment of DB clusters in a serverless cloud environment, automatically optimizing specifications and capacity. The detailed usage can be found in Cloud DB Serverless Usage, but it is recommended to first review the overall scenario of using the Cloud DB Serverless service. By learning the usage scenarios first and then reviewing the usage methods, you can make smoother use of the Cloud DB Serverless service. After that, you can create DB clusters in the NAVER Cloud Platform console and easily operate databases.
The overall procedure for using Cloud DB Serverless and the description of each step are as follows.
1. Create application server
2. Set access environment
3. Test application server connection
4. Create DB Clusters
5. Set ACG
6. Test DB Cluster connection
1. Create application server
First, create an application server that will communicate with DB Cluster to be created from Cloud DB Serverless on NAVER Cloud Platform console. The application server can be created from the VPC environment of the NAVER Cloud Platform console
> Services > Compute > Server.
You can refer to the following user guides:
In this section, we will briefly introduce how to create an application server. For more information on full creation methods, see the following guides:
- In the VPC environment of the NAVER Cloud Platform console, navigate to
> Services > Compute > Server. - Click [Create server].
- Select the server image and click [Next].
- Enter the required information, and then click [Next].
- If you do not have an existing authentication key, then create a new authentication key and click [Next].
- If you do not have any ACG, create a new one.
- After the final confirmation, click [Create server].
The ACG name of the application server from step 7 is used when adding ACG to the MySQL Server later on.
2. Set access environment
To set up a server access environment in the VPC environment of the NAVER Cloud Platform console, you need to set up a public IP.
In this section, we will briefly introduce how to set up the access environment. For more information on setting up the access environment, see the following guide:
3. Test application server connection
Once you complete setting up the access environment, use the terminal program to test if you can connect to the application server properly.
To test connectivity to the application server using the PuTTY terminal program:
- Run PuTTY.
- Enter the IP address and port number acquired from the access environment settings for Host Name (or IP address) and Port.

- Click [Open].
- When the PuTTY Security Alert popup window appears, click [Accept].

- When the cmd window for server access appears, enter the password you got from Get admin password.

You can change the password through the passwd commands.
4. Create DB Clusters
After you complete testing the application server connection, create DB Cluster that will communicate with the application server. The DB Cluster can be created from the Services > Database > Cloud DB Serverless menu on the NAVER Cloud Platform console without a separate service subscription request.
You can refer to the following user guides:
5. Set ACG
To set up Access Control Group (ACG) for DB clusters of Cloud DB Serverless from NAVER Cloud Platform console:
In this section, we will briefly introduce how to set up ACG. For more information on how to set ACG, see ACG user guides.
- In the VPC environment of the NAVER Cloud Platform console, navigate to
> Services > Database > Cloud DB Serverless . - Click the ACG menu.
- Click and select the ACG to set up, and then click [Set ACG].
- Select the ACG of the DB cluster automatically created
- Enter the ACG name of the application server in Access source.
- Enter the port number in Allowed port.
- Click the [Add] button.
- Click the [Apply] button.
6. Test DB Cluster connection
To test if you can connect properly to the created MySQL Client by installing the DB cluster:
-
Access the application server, run the following commands, and install MySQL.
- Rocky 8.x - 9.x version
[root@localhost ~] # sudo dnf install -y mysql-server [root@localhost ~] # sudo systemctl start mysqld -
Access the DB cluster by executing the following commands.
- You can check port number, user ID, and password required for DB access from the DB Cluster menu of the NAVER Cloud Platform console.
[root@localhost ~] # mysql -h ① Private domain name -u ②user_id -p --port ③DB access port -- Access success examples [root@localhost ~] # mysql -h db-gmcp.beta-cdb.ntruss.com -umysql_dba -p --port 3306 Enter password: ********** Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 17199 Server version: 5.7.19-log MySQL Community Server (GPL) Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql>