Available in VPC
In Cloud DB Serverless service, you can create or delete DB clusters, as well as check the list of clusters in operation.
This section explains how to create and manage DB clusters. To access the DB Cluster menu, navigate to Services > Database > Cloud DB Serverless on the NAVER Cloud Platform portal.
To create DB Clusters:
Cluster creation
To create DB clusters in VPC environments:
- In the VPC environment of the NAVER Cloud Platform console, navigate to
> Services > Database > Cloud DB Serverless. - Click the DB Cluster menu.
- Click [Create DB Cluster].
- In the Create page, enter Cluster setting information and click the [Next] button.
- In the DB setting step, enter the required information and click the [Next] button.
- In the Connection setting step, enter the required information and click the [Next] button.
- In the final confirmation step, check the entered information.
- Click [Create].
1. Cluster setting
To create DB clusters by entering settings:
- When the cluster settings interface appears, view the DBMS type to install on the server and the DB information.
- DBMS type: Type of DBMS to be installed on the DB cluster (currently only MySQL is provided)
- DB engine version: Information of the MySQL version that can be created on NAVER Cloud Platform
- DB license: Open-source license information of MySQL that can be created on NAVER Cloud Platform.
- Support high availability: Function for automatic recovery in case of failure, with two instances created and additional charges incurred
- Enter the configuration values for the instance to be installed.
- Instance specification settings: You can enter the minimum and maximum units from 1 to 165, but the maximum value cannot be smaller than the minimum.
- Auto Scaling policy settings: Select whether to use Auto Scaling policy settings
- To use auto scaling policy settings, enter the minimum and maximum number of Replicas from 1 to 15.
- Replica expansion criteria: Enter the threshold value for either average CPU usage or average number of Connections.
- Configure the data storage options and set the DB cluster name.
- Data storage type: Type of storage for DB data (currently only CB2 is provided)
- Data storage capacity: Storage capacity for DB data storage
- 10 GB is assigned upon initial creation.
- The capacity is automatically added in 10 GB units and charged as data increases.
- Automatically expandable up to 16,000GB
- Pricing plan: For detailed information on fees, click Pricing information in the NAVER Cloud Platform portal.
- DB Cluster name: Enter between 3 and 30 characters.
- Enter the required information and click the [Next] button.
The Cloud DB Serverless service is provided as a CBT (Closed Beta Test) and can be used free of charge without limitations during the CBT period. After the CBT period ends, usage will be charged according to the pricing policy. The service provided during the CBT period is not covered by an SLA.
2. Set DB
To set the information for DBMS to be installed:
- When the Set DB page appears, set items needed for the creation.
- USER_ID: Enter the account ID of the MySQL admin.
- Enter between 4 and 16 characters using English letters, numbers, and special characters such as _ and -.
- The first character must be an English letter.
- You cannot use predefined reserved words.
- USER password: Enter the account password of the MySQL admin.
- Enter 8 to 20 characters using at least 1 English letter, number, and special character.
- The special characters ` & + \ " ' / or spaces can't be used.
- DB access port: Enter a number between 10,000 to 20,000 as a TCP port number to allow access to the MySQL server that will be created
- Default: 3306
- The port number can't be changed after it is specified.
- Default DB name: Enter the default DB name.
- Enter between 1 and 30 characters using English letters, numbers, and special characters such as _ and -.
- The first character must be an English letter.
- DB Config settings: View the optimized basic settings provided by NAVER.
- View details > you can view and change the content from DB Config.
- Collect DB log: View the provision of log collection and viewer features for error logs and slow query logs.
- USER_ID: Enter the account ID of the MySQL admin.
- Set whether to use backup for the DB cluster.
- Backup settings: Set whether to use the backup, backup file retention period, and backup time.
- Use the Backup settings of Cloud DB Serverless.: Fixed to Enabled by default
- Backup file retention period: Enter the period to store the backup file in a separate backup storage.
- Backup files can be stored for up to 30 days.
- Only backups for tables created with the InnoDB engine are supported.
- Backup time: Select the backup time between automatic and user-defined.
- If you select this, additional fees will be incurred depending on the storage capacity used.
- Automatic: Backup is automatically started every day.
- User-defined: The backup is started every day within 15 minutes from the time specified by the user
- Backup settings: Set whether to use the backup, backup file retention period, and backup time.
- Click the [Next] button.
3. Connection setting
- Make VPC and Subnet settings required to access a DB cluster.
- VPC: Select the VPC to be used when accessing a DB cluster.
- [Refresh] button: Click to refresh the list of the created VPC list.
- [Create VPC] button: Click if you haven't created any VPC and need to create one.
- Subnet: Select a subnet to be used when accessing the VPC.
Cloud DB Serverless does not assign a Public domain to the DB cluster, and only a Private Subnet can be selected.- [Refresh] button: Click to refresh the list of the created Subnet list.
- [Create Subnet] button: Click if you haven't created any subnet and need to create one.
- Set ACG: Access Control Group (ACG) is created automatically.
- The detailed settings for the ACG are available from Server > ACG in the console.
- If you need to subscribe to Cloud Log Analytics, click the service subscription popup window.
- VPC: Select the VPC to be used when accessing a DB cluster.
- Click the [Next] button.
- To view the latest status from step 3, click [Refresh].
- It may take several minutes or longer until it enters the Running status, and is available for actual use, after going through Creating and Configuring statuses.
4. Final confirmation
- When the final confirmation page appears, check the configured cluster information, DB information, and connection settings information.
- Click [Previous] to edit the settings.
- Click [Create].
- **Maintenance downtime consent window for service provision ** window appears, check “Agree to maintenance downtime for service provision.”
- Click [OK].
- Check the status of the cluster that was created from the DB Cluster page.
- Starting: Status in which the DB cluster is created with the information you entered.
- Configuring: Status in which the DB cluster is created and configured with the information you entered.
- Running: Status in which the creation and setting of the DB cluster have been completed based on user input data, and access is available.
- To view the latest status from step 5, click [Refresh].
- It may take several minutes or longer until it enters the Starting status, and is available for actual use, after going through Creating and Configuring statuses.
Instance restart
You can easily and conveniently restart DB instances. You can't access DB instances while they're being restarted. To restart:
- In the VPC environment of the NAVER Cloud Platform console, navigate to
> Services > Database > Cloud DB Serverless. - Click the DB Cluster menu.
- Click the DB instance you want to restart from the DB cluster, and then click the [Restart] button.
- When the Restart DB Instance popup window appears, check the name of the DB Instance to restart, and click the [OK] button.
- In the DB Cluster interface, check the Status of the DB instance from the DB cluster list.
- Stopping: Status in which the DB instance is being stopped.
- Restarting: Status in which the DB instance is restarting.
The process may take a few minutes as the system progresses through stopping and restarting states before reaching the running status where actual usage becomes available.
Cluster deletion
You can delete a cluster in operation. If you delete a cluster, the backup files are also deleted.
To delete a DB cluster:
- In the VPC environment of the NAVER Cloud Platform console, navigate to
> Services > Database > Cloud DB Serverless . - Click the DB Cluster menu.
- Click the cluster you want to delete, and then click the [Delete] button.
- When the Delete DB Cluster popup window appears, enter the name of the DB Cluster to delete, and then click [OK].
- Check the status of the DB cluster from the DB Cluster page.
- Deleting: Status in which a DB cluster is being deleted.
The actual deletion from the list after going through the Deleting status may take several minutes.
Monitoring
NAVER Cloud Platform's Cloud DB Serverless provides a monitoring service through the dashboard on each DB instance. This allows you to check the status of operating instance and its data and effectively manage them.
For more information on Monitoring, see Monitoring.
To go to the monitoring page of the DB Cluster in operation:
- In the VPC environment of the NAVER Cloud Platform console, navigate to
> Services > Database > Cloud DB Serverless. - Click the DB Cluster menu.
- Click the DB instance you want to monitor, and then click the [Monitoring] button.
- Click and select the dashboard you want to monitor.
- DB Dashboard
- OS Dashboard
- DB Logs
- Query Timeline
DB management
If you need to change the configuration values or options of a created cluster, Cloud DB Serverless allows you to easily modify a few DB Config settings or adjust the auto-scaling policy.
- By default, DB management features are available when the DB instance status is running.
- The available menus for DB management features differ depending on the cluster and instance.
To use DB management features:
- In the VPC environment of the NAVER Cloud Platform console, navigate to
> Services > Database > Cloud DB Serverless. - Click the DB Cluster menu.
- Click the DB cluster and DB instance you want to manage, and then click the [Manage DB] button.
- Click and select the menu for the management feature you need.