This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

How-to guides

Users can create the service by entering the required information for MariaDB (DBaaS) and selecting detailed options through the Samsung Cloud Platform Console.

Cloud Monitoring 서비스 종료 안내

According to the policy of Samsung Cloud Platform, the Cloud Monitoring service is scheduled to be discontinued.

Accordingly, services whose monitoring metrics are linked in Cloud Monitoring will no longer be able to monitor resources through Cloud Monitoring after the service improvement work in November 2026.
After that, resource monitoring can be continuously performed through the ServiceWatch service released in October 2025.

To ensure smooth service usage, proceed with the migration work according to the service termination schedule below.

  1. Resource-Specific Monitoring Service Application Guide

    • New Resources: Resources created after the service improvement work in March 2026 are provided with monitoring using the ServiceWatch service by default.
    • Existing resources: After the service improvement work in September 2026 We provide monitoring concurrently through Cloud Monitoring and ServiceWatch services.
    • During the parallel operation period, we must prepare for the Servicewatch transition. *
      Performance and log data backup, settings configured by users linked with existing Cloud Monitoring (ex. Verify the event policies, etc., and carry out tasks such as resetting the ServiceWatch service, then complete them.
  2. Cloud Monitoring Service Gradual Termination Schedule Notice

    • Console menu termination (September 2026 service improvement work)
      • You cannot access the Cloud Monitoring Console through the Console menu; you can only connect via the separate URLs for each region listed below.
  • Service termination (service improvement work in November 2026)
    • All services of Cloud Monitoring, including the API, will be permanently discontinued.
      • After the service ends in November, Cloud Monitoring data cannot be viewed. * Be sure to complete the ServiceWatch migration work within the parallel operation period**

Detailed information about ServiceWatch can be found in the ServiceWatch Overview.

MariaDB(DBaaS) Create

You can create and use the MariaDB (DBaaS) service from the Samsung Cloud Platform Console.

안내
  • Before creating the service, configure the VPC’s Subnet type as General.
    • If the subnet type is Local, the creation of the corresponding Database service is not possible.
  • When loading more than 2 TB of large data, backups may take a long time or the database’s performance may degrade. * To prevent this, it is necessary to consider operational aspects such as cleaning up unnecessary data or migrating old data to a statistical collection environment.
  • This service is provided on a Single-AZ basis.

To create a MariaDB (DBaaS), follow the steps below.

  1. Click the All Services > Database > MariaDB(DBaaS) menu. 1. Navigate to the Service Home page of MariaDB (DBaaS).
  2. On the Service Home page, click the MariaDB(DBaaS) Create button. 2. Create MariaDB (DBaaS) Navigate to the page.
  3. On the Create MariaDB (DBaaS) page, enter the information required to create the service and select detailed options.
    • In the Image and version selection area, select the required information.
      Category
      Required status
      Detailed description
      Image versionRequiredProvide version list of MariaDB (DBaaS)
      Table. MariaDB (DBaaS) Image and version selection items
    • Enter or select the required information in the Service Information Input area.
      Category
      required status
      Detailed description
      Server name PrefixRequiredServer name where the DB will be installed
      • must start with a lowercase English letter, and using lowercase letters, numbers, and the special character (-) input 3 to 13 characters
      • based on the server name, a postfix such as 001, 002 is appended to generate the actual server name
      Cluster nameRequiredCluster name of DB servers
      • Enter using English letters, 3 ~ 20 characters
      • A cluster is a unit that groups multiple servers
      Service Type > Server TypeRequiredServer type for DB installation
      • Standard: Standard specifications commonly used
      • High Capacity: Large-capacity server with 24 vCores or more
      Service Type > Planned ComputeSelectionPlanned Compute가 설정된 자원 현황
      • In Use: Number of resources with Planned Compute configured that are currently in use
      • Configured: Number of resources with Planned Compute configured
      • Coverage Preview: Amount applied per resource by Planned Compute
      Service Type > Block StorageRequiredBlock Storage settings used by the DB according to purpose
      • Basic OS: Area where the DB engine is installed
      • DATA: Storage area for table data, archive files, etc.
        • Select a storage type and then enter the capacity. (For details on each Block Storage type, refer to Create Block Storage)
          • SSD: High‑performance general volume
          • HDD: General volume
          • SSD_KMS, HDD_KMS: Additional encrypted volumes that use Samsung Cloud Platform KMS (Key Management System) encryption keys
        • The configured storage type is applied identically to additional storage
        • Enter capacity as a multiple of 8 within the range 16–5,120
        • Because executing SQL or monthly batch jobs can cause large sorts that may interrupt service, a separate TEMP storage should be allocated and used
      • Add: Storage areas for DATA, Archive, TEMP, Backup data
        • After selecting Use, enter the storage’s purpose and capacity
        • The storage type is applied the same as the type set for DATA, and capacity can be entered as a multiple of 8 within the range 16–5,120
        • Click the Add button to add storage, or the x button to delete. Up to 9 can be added
        • Temporarily store backup data in BACKUP storage before transmitting it
          • If the data to be backed up exceeds 100 GB and undergoes frequent changes, it is recommended to add a separate BACKUP storage for reliable backup. Set the backup capacity to about 60 % of the DATA capacity
          • If a BACKUP storage is not added, the /tmp area is used, and backup will fail if capacity is insufficient
        • For each service, only one Block Storage is allocated for Archive, TEMP, and BACKUP
      Redundant configurationSelectionRedundancy configuration status
      • When redundancy is used, the DB instance is configured as Active DB and Standby DB
      Network > Common SettingsRequiredNetwork settings for servers created by the service
      • Select when you want to apply the same settings to all installed servers
      • Select a pre‑created VPC, Subnet, IP, and Public NAT
        • Each server’s IP is generated automatically
        • The Public NAT feature is available only when the VPC is connected to an Internet Gateway. When Use is checked, you can select a reserved IP from the VPC product’s Public IP. For more details, see Public IP 생성하기
      Network > Server-specific SettingsRequiredNetwork settings where servers generated by the service are installed
      • Select when you want to apply different settings for each installed server
      • Select a pre‑created VPC, Subnet, IP, and Public NAT
        • Enter the IP for each server
        • The Public NAT feature is available only when the VPC is connected to an Internet Gateway. Use when checked, you can select from reserved IPs in the VPC product’s Public IP. For more details, refer to Public IP 생성하기
      IP access controlSelectionService access policy configuration
      • Since the access policy is set for the IP entered on the page, you do not need to configure a separate Security Group policy
      • Enter in IP format (example: 192.168.10.1) or CIDR format (example: 192.168.10.0/24, 192.168.10.1/32) and click the Add button
      • To delete an entered IP, click the x button next to the entered IP
      maintenance periodSelectionDB maintenance window
      • If you select Use, you can set the day of week, start time, and duration
      • The maintenance window is a feature that allows the user to set the time slot for performing patch operations, and any patch work within that period must be carried out directly by the user.
      • We ask you to set a maintenance window for the stable operation of the system, and we are not responsible for any issues arising from not setting it or from failure to perform tasks within the window.
      Table. MariaDB (DBaaS) Service Information Input Items
    • Enter required database configuration information In this area, enter or select the necessary information.
      Category
      Required status
      Detailed description
      Database nameRequiredServer name applied during DB installation
      • must start with an English letter and be entered using English letters and numbers, 3 to 20 characters long
      Database usernameRequiredDB user name
      • An account with the same name is also created on the OS
      • Enter using lowercase English letters, 2 to 20 characters
      • Restricted database user names can be viewed in the Console
      Database passwordRequiredPassword to use when accessing the DB
      • Include English letters, numbers, and special characters ( excluded) and enter 8~30 characters
      Check database passwordRequiredRe-enter the same password to use for DB access
      Database Port numberRequiredPort number required for DB connection
      • Enter the DB port within the range 1200 ~ 65535
      Backup > UseSelectionBackup usage
      • Select Use to set backup file retention period, backup start time, and Archive backup interval
      Backup > Retention PeriodSelectionBackup retention period
      • Select the backup retention period. Set the file retention period from 7 days to 35 days
      • Backup files incur additional charges based on size
      Backup > Backup Start PeriodSelectionBackup start time
      • Select backup start time
      • The minutes (minutes) at which the backup runs are set randomly, and the backup end time cannot be configured
      Backup > Archive backup scheduleSelectionArchive backup interval
      • Select the archive backup interval
      • The archive backup interval is recommended to be 1 hour. Selecting 5 minutes, 10 minutes, or 30 minutes may affect DB performance
      Audit Log configurationSelectionWhether to store Audit Log
      • Select Use to enable the Audit Log feature
        • User connection information records are stored
          • Users can specify the types of events to audit via the server_audit_events parameter, and it can be modified through the Parameter screen
        • Enabling Audit may degrade DB performance
      ServiceWatch log collectionSelectionServiceWatch log collection status
      • Select Use to configure the ServiceWatch log collection feature
      • Provided free up to 5 GB for all services within the Account, and charges apply based on storage size for usage exceeding 5 GB
      • Log groups and log streams are automatically created upon collection and cannot be deleted until the resource itself is deleted
      • To prevent exceeding 5 GB, it is recommended to delete log data directly or shorten the retention period
      ParameterRequiredParameters to be used in the DB
      • View button can be clicked to view detailed information of the parameters
      • Parameters can be modified after the DB creation is complete, and the DB must be restarted after any modifications
      DB character setRequiredCharacter encoding method to be used for the DB
      • The character set used when storing text data, which is set as the default with the selected encoding when the DB is created
      Time zoneRequiredStandard time zone used by the database
      Table. MariaDB(DBaaS) Database configuration items
    • In the Additional Information Input area, enter or select the required information.
      Category
      Required
      Detailed description
      tagSelectionAdd Tag
      • Up to 50 can be added per resource
      • After clicking the Add Tag button, enter or select Key, Value values
      Table. MariaDB(DBaaS) additional information input items
  4. Summary Review the detailed information and estimated charges generated in the panel, and click the Create button.
    • Once creation is complete, check the created resource on the Resource List page.

MariaDB(DBaaS) Check detailed information

The MariaDB (DBaaS) service lets you view and modify the complete resource list and detailed information. The MariaDB(DBaaS) Details page consists of Details, Tags, Activity History tabs, and for databases with a configured Replica, a Replica Information tab is added.

To view detailed information about the MariaDB (DBaaS) service, follow the steps below.

  1. All Services > Database > MariaDB (DBaaS) Click the menu. 1. Navigate to the Service Home page of MariaDB (DBaaS).
  2. On the Service Home page, click the MariaDB(DBaaS) menu. 2. MariaDB(DBaaS) List Navigate to the page.
  3. On the MariaDB (DBaaS) List page, click the resource to view detailed information. 3. MariaDB(DBaaS) Details Go to the page.
    • MariaDB(DBaaS) Details At the top of the page, status information and additional feature details are displayed.
      CategoryDetailed description
      Cluster statusCluster status with DB installed
      • Creating: Cluster creation in progress
      • Editing: Cluster is transitioning to an operational state
      • Error: Cluster encountered a failure while performing a task
        • If this persists, contact the administrator
      • Failed: Cluster failed during creation
      • Restarting: Restarting the cluster
      • Running: Cluster is operating normally
      • Starting: Starting the cluster
      • Stopped: Cluster is stopped
      • Stopping: Cluster is being stopped
      • Synchronizing: Synchronizing the cluster
      • Terminating: Deleting the cluster
      • Unknown: Cluster status is unknown
        • If this persists, contact the administrator
      • Upgrading: Cluster is transitioning to an upgrading state
      Cluster controlButtons to change the cluster state
      • Start: Start a stopped cluster
      • Stop: Stop a running cluster
      • Restart: Restart a running cluster
      • Switch-Over: Switch a standby cluster to Active
      View more featuresCluster management buttons
      • Service status synchronization: Real-time DB service status lookup
      • Backup history: Verify successful backup execution and view history when backup is configured
      • Database recovery: Recover the DB based on a specific point in time
      • Parameter management: View and modify DB configuration parameters
      • Replica configuration: Configure a read-only cluster as a Replica
      • Replica configuration (Other-Region): Configure a disaster recovery Replica in another region; the button is disabled if the account has no region to configure
      • DB user management: View and manage DB account (user) information registered in the DB
      • DB access control management: Register and revoke allowed IPs based on DB accounts registered in the DB
      • Archive settings management: Set archive file retention period and configure archive mode
      • DB Log export: Export stored logs to the user’s Object Storage via Audit settings
      • Migration configuration: Provides Migration functionality using a Replication method
      • Block Storage usage management: Provides usage query functionality per Block Storage type
      • OS (Kernel) upgrade: Upgrade OS Kernel version
      Service cancellationCancel Service button
      Table. MariaDB(DBaaS) status information and additional features

Detailed Information

MariaDB (DBaaS) List page allows you to view detailed information of the selected resource and, if needed, modify the information.

CategoryDetailed description
Server InformationServer information configured in this cluster
  • Category: Server type (Active, Standby, Replica)
  • Server name: Server name
  • IP Port: Server IP and port
  • Availability Zone: Server creation location
  • Status: Server status
serviceService name
Resource TypeResource Type
SRNUnique resource ID in Samsung Cloud Platform
  • In the DB service, it means the cluster SRN
Resource nameResource name
  • In the DB service, it refers to the cluster name
Resource IDUnique resource ID in the service
ConstructorUser who created the service
Creation Date/TimeService creation date and time
ModifierUser who edited the service information
Modification date and timeDate and time the service information was modified
Image versionInstalled DB image and version information
  • If a version upgrade is required, click the Edit icon to configure
Cluster typeCluster type (Master Cluster, Replica Cluster, Migration Cluster)
Cluster nameCluster name of the configured DB servers
Master cluster nameReplica’s Master cluster name
  • If it is the Replica’s detailed information, it can be verified
Database nameServer name applied during DB installation
Database usernameDB user name
Planned ComputeResource status with Planned Compute configured
Maintenance periodDB Maintenance Period Status
  • If you need to set the maintenance period, click the Edit icon to configure
BackupBackup configuration status
  • If backup configuration is required, click the Edit icon to set it
  • If an immediate backup is required, click the Immediate Backup button to set it
Audit Log configurationAudit Log configuration status
  • If Audit Log configuration is required, click the Edit icon to configure
ServiceWatch log collectionServiceWatch Log Collection Configuration Status
  • If log collection configuration is required, click the Edit icon next to Log Collection to configure
DB character setCharacter encoding to use for the DB
Time zoneStandard time zone used by the database
VIPVirtual IP information
  • can be checked only when high availability is enabled
NetworkNetwork information of the DB installation (VPC, Subnet, VIP, NAT IP(VIP))
IP access controlService access policy configuration
  • If you need to add or remove an IP, click the Edit icon to configure
Active & StandbyActive/Standby server type, default OS, additional Disk information
  • If you need to modify the server type, click the Edit icon next to the server type to configure it. See the server type modification procedure at 서버 타입 변경하기
    • Modifying the server type requires a server reboot
  • If you need to expand storage, click the Edit icon next to the storage capacity to expand it. See the storage expansion procedure at 스토리지 증설하기
  • If you need to add storage, click the Add Disk button next to the additional Disk to add it. See the storage addition procedure at 스토리지 추가하기
Table. MariaDB (DBaaS) Database detailed information items

Replica information

Replica information tab is enabled only when a Replica is configured in the cluster. Replica information tab lets you view the Master cluster name, the number of replicas, and the Replica status.

CategoryDetailed description
Master informationName of the Master cluster
Replica countNumber of Replicas created in the Master cluster
Replica statusReplica server status in the Master cluster
  • You can view the server name, status query, status details, and status check time
  • To view the Replica status, click the Status Query button
    • While the query is in progress, the cluster remains in the Synchronizing state, and once the query completes, the cluster changes to the Running state
Table. Replica information tab detailed information items

tag

MariaDB (DBaaS) List page allows you to view the tag information of the selected resource, and you can add, modify, or delete it.

CategoryDetailed description
Tag ListTag list
  • You can view the tag’s Key, Value information
  • Up to 50 tags can be added per resource
  • When entering tags, you can search and select from the list of previously created Keys and Values
Table. MariaDB (DBaaS) Tag Tab Items

Job History

MariaDB (DBaaS) List page allows you to view the operation history of the selected resource.

CategoryDetailed description
Task History ListResource change history
  • Operation date and time, resource ID, resource name, operation details, event topic, operation result, operator information verification
Table. Work History tab detailed information items

MariaDB(DBaaS) Managing Resources

If you need to change or restore the existing configuration options of a provisioned MariaDB (DBaaS) resource, or set up a replica, you can perform the task on the MariaDB (DBaaS) Details page.

Operation Control

If changes occur to a running MariaDB (DBaaS) resource, you can start, stop, or restart it. Also, when HA is configured, you can switch the Active‑Standby servers via a switch‑over.

To control the operation of MariaDB (DBaaS), follow the steps below.

  1. Click the All Services > Database > MariaDB(DBaaS) menu. 1. Navigate to the Service Home page of MariaDB (DBaaS).
  2. On the Service Home page, click the MariaDB(DBaaS) menu. 2. Go to the MariaDB(DBaaS) List page.
  3. On the MariaDB(DBaaS) List page, click the resource to control its operation. 3. MariaDB(DBaaS) Details Go to the page.
  4. Check the MariaDB (DBaaS) status and complete the change using the control button below.
    • Start: DB service is installed on the server and the DB service is running (Running).
    • Stop: The server where the DB service is installed and the DB service will be stopped (Stopped).
    • Restart: Only the DB service will be restarted.
    • Switch Over: You can switch the DB’s Active server and Standby server.

Synchronize service status

You can synchronize the real-time service status of MariaDB (DBaaS).

To view the service status of MariaDB (DBaaS), follow the steps below.

  1. Click the All Services > Database > MariaDB(DBaaS) menu. 1. Navigate to the Service Home page of MariaDB (DBaaS).
  2. On the Service Home page, click the MariaDB(DBaaS) menu. 2. MariaDB(DBaaS) List Navigate to the page.
  3. MariaDB (DBaaS) List page, click the resource to view the service status. 3. MariaDB(DBaaS) Details Go to the page.
  4. Click the Service Status Sync button. 4. While it is being queried, the cluster changes to Synchronizing state.
  5. When the query completes, the status in the server information item is updated, and the cluster changes to the Running state.

Change Server Type

You can change the configured server type.

Caution
If you modify the server type, a server restart is required. Please verify separately any software license modifications or software settings and their implementation due to server specification changes.

To change the server type, follow these steps.

  1. All Services > Database > MariaDB(DBaaS) Click the menu. 1. Go to the Service Home page of MariaDB (DBaaS).
  2. On the Service Home page, click the MariaDB(DBaaS) menu. 2. MariaDB(DBaaS) List Navigate to the page.
  3. MariaDB(DBaaS) List page, click the resource to change the server type. 3. MariaDB(DBaaS) Details Navigate to the page.
  4. Click the Edit icon for the server type you want to change at the bottom of the detailed information. 4. Edit Server Type The popup window opens.
  5. Server Type Edit After selecting the server type in the popup, click the Confirm button.

Add storage

If you need more than 5 TB of data storage space, you can add additional storage. In a redundant DB setup, all redundant servers are added simultaneously.

Caution
  • It is applied in the same way as the Storage type selected when creating the service.
  • For a DB configured with redundancy, adding storage is applied simultaneously to the storage of both the Active DB and the Standby DB.
  • The storage of a Replica cannot be larger than the storage of the primary. * Expand the Replica storage first, then expand the Master storage.
  • When adding Archive/Temp storage, the DB restarts and is temporarily unavailable.

To add storage, follow these steps.

  1. All Services > Database > MariaDB(DBaaS) Click the menu. 1. Navigate to the Service Home page of MariaDB (DBaaS).
  2. On the Service Home page, click the MariaDB(DBaaS) menu. 2. MariaDB(DBaaS) List Navigate to the page.
  3. On the MariaDB(DBaaS) List page, click the resource to add storage. 3. MariaDB(DBaaS) Details Go to the page.
  4. Click the Add Disk button at the bottom of the detailed information. 4. Additional Storage Request The popup window opens.
  5. Additional Storage Request In the popup window, after entering the purpose and capacity, click the Confirm button.

Expanding Storage

Storage added to the data area can be expanded up to a maximum of 5 TB based on the initially allocated capacity. In a redundant DB setup, all redundant servers are expanded simultaneously.

To increase storage capacity, follow the steps below.

  1. Click the All Services > Database > MariaDB(DBaaS) menu. 1. Navigate to the Service Home page of MariaDB (DBaaS).
  2. On the Service Home page, click the MariaDB(DBaaS) menu. 2. MariaDB(DBaaS) List Navigate to the page.
  3. On the MariaDB(DBaaS) List page, click the resource to change the server type. 3. MariaDB(DBaaS) Details Go to the page.
  4. Click the Edit icon of the additional Disk you want to add at the bottom of the detailed information. 4. Edit Additional Storage popup opens.
  5. Edit Additional Storage After entering the expanded capacity in the popup window, click the Confirm button.

Terminate MariaDB(DBaaS)

You can cancel unused MariaDB (DBaaS) to reduce operating costs. However, if you terminate the service, the running service may be discontinued immediately, so you should proceed with the termination only after fully considering the impact that may arise from the service interruption.

Caution
  • Replica is not deleted together. * If you delete the replica as well, please cancel it separately from the resource list.
  • If you terminate the DB, all stored data and any backup data that was configured will be deleted.

To cancel MariaDB (DBaaS), follow the steps below.

  1. Click the All Services > Database > MariaDB(DBaaS) menu. 1. Navigate to the Service Home page of MariaDB (DBaaS).
  2. On the Service Home page, click the MariaDB(DBaaS) menu. 2. MariaDB(DBaaS) List Navigate to the page.
  3. On the MariaDB(DBaaS) List page, select the resource to cancel and click the Terminate Service button.
  4. After termination is complete, check on the MariaDB(DBaaS) list page whether the resource has been terminated.

1 - Managing DB Services

Users can manage MariaDB (DBaaS) through the Samsung Cloud Platform Console.

Parameter Management

Provides a feature that allows you to easily view and modify database configuration parameters.

Parameter View

To view configuration parameters, follow these steps.

  1. Click the All Services > Database > MariaDB(DBaaS) menu. 1. Go to the Service Home page of MariaDB (DBaaS).
  2. On the Service Home page, click the MariaDB(DBaaS) menu. 2. MariaDB(DBaaS) List Navigate to the page.
  3. On the MariaDB(DBaaS) List page, click the resource whose parameters you want to view or modify. 3. MariaDB(DBaaS) Details Go to the page.
  4. Click the More button, then click the Parameter Management button. 4. Parameter Management The popup window opens.
  5. Parameter Management in the popup window, click the Search button. 5. View Notification popup window opens.
  6. When the View Notification popup appears, click the Confirm button. 6. Retrieving may take a short amount of time.

Edit Parameter

To modify the configuration parameters, follow the steps below.

  1. Click the All Services > Database > MariaDB(DBaaS) menu. 1. Navigate to the Service Home page of MariaDB (DBaaS).
  2. On the Service Home page, click the MariaDB(DBaaS) menu. 2. MariaDB(DBaaS) List Navigate to the page.
  3. MariaDB(DBaaS) List page, click the resource whose parameters you want to view or modify. 3. MariaDB(DBaaS) Details Go to the page.
  4. Click the More button and click the Parameter Management button. 4. Parameter Management The popup window opens.
  5. Parameter Management In the popup window, click the Search button. 5. View Notification The popup window opens.
  6. View Notification when the popup window opens, click the Confirm button. 6. Retrieving may take a short amount of time.
  7. If editing is required, click the Edit button and enter the changes in the custom value area of the Parameter to be edited.
  8. When the input is complete, click the Complete button.
참고

If you change the character_set_server value, first verify the collation that matches the character set using the command below.

SQL> SHOW COLLATION WHERE Charset = 'character set name';

Set the parameter values for character-set-server, collation-server, and init_connect using the verified collation.

ItemDetailed descriptionWhether to restart
character-set-serverSpecify default character setRestart required
collation-serverSpecify default collation (Collation)Restart required
init_connectSQL statement executed when the client connects to the databaseNo restart required
Table. Parameter configuration items

Managing DB Users

Provides administrative features for viewing DB user information and modifying status information.

Query DB Users

Follow these steps to query DB users.

  1. All Services > Database > MariaDB(DBaaS) Click the menu. 1. Navigate to the Service Home page of MariaDB (DBaaS).
  2. On the Service Home page, click the MariaDB(DBaaS) menu. 2. MariaDB (DBaaS) List Navigate to the page.
  3. MariaDB(DBaaS) List page, click the resource whose DB users you want to view. 3. MariaDB(DBaaS) Details Go to the page.
  4. Click the More button, then click the DB User Management button. 4. Navigate to the DB User Management page.
  5. DB User Management on the page, click the Search button. 5. Retrieving may take a short amount of time.

Change DB user status

To change the status of the retrieved DB user, follow these steps.

  1. Click the All Services > Database > MariaDB(DBaaS) menu. 1. Navigate to the Service Home page of MariaDB (DBaaS).
  2. On the Service Home page, click the MariaDB(DBaaS) menu. 2. MariaDB(DBaaS) List Navigate to the page.
  3. MariaDB(DBaaS) List On the page, click the resource you want to edit the DB user for. 3. MariaDB(DBaaS) Details Navigate to the page.
  4. Click the More button, then click the DB User Management button. 4. Navigate to the DB User Management page.
  5. On the DB User Management page, click the Search button. 5. Retrieving may take a short amount of time.
  6. If modification is required, click the Edit button, and change the status area value or enter remarks.
  7. When the input is complete, click the Done button.

Managing DB Access Control

Provides IP-based DB user access control management functionality. Users can directly specify the IP addresses that can access the database, configuring it so that only authorized IPs are allowed access.

안내
Perform a DB user lookup before setting DB access control. For DB user lookup, please refer to DB 사용자 관리하기.

View DB Access Control

To view DB users with IP access control enabled, follow these steps.

  1. Click the All Services > Database > MariaDB(DBaaS) menu. 1. Navigate to the Service Home page of MariaDB (DBaaS).
  2. On the Service Home page, click the MariaDB(DBaaS) menu. 2. MariaDB(DBaaS) List Navigate to the page.
  3. MariaDB(DBaaS) List On the page, click the resource you want to manage access control for. 3. MariaDB(DBaaS) Details Navigate to the page.
  4. Click the More button, then click the DB Access Control Management button. 4. Navigate to the DB Access Control Management page.
  5. On the DB Access Control Management page, click the Search button. 5. Retrieving may take a short amount of time.

Add DB access control

To add IP access control, follow these steps.

  1. Click the All Services > Database > MariaDB(DBaaS) menu. 1. Navigate to the Service Home page of MariaDB (DBaaS).
  2. On the Service Home page, click the MariaDB(DBaaS) menu. 2. MariaDB(DBaaS) List Navigate to the page.
  3. On the MariaDB(DBaaS) List page, click the resource for which you want to add IP access control. 3. MariaDB(DBaaS) Details Go to the page.
  4. Click the More button and then click the DB Access Control Management button. 4. Navigate to the DB Access Control Management page.
  5. Click the Search button on the DB Access Control Management page. 5. Retrieving may take a short amount of time.
  6. When the query is complete, click the Add button. 6. Add DB Access Control The popup window opens.
  7. Add DB Access Control In the popup window, select the DB username and enter the IP address.
  8. When the input is complete, click the Done button.

Delete DB Access Control

To delete IP access control, follow these steps.

  1. Click the All Services > Database > MariaDB(DBaaS) menu. 1. Navigate to the Service Home page of MariaDB (DBaaS).
  2. On the Service Home page, click the MariaDB(DBaaS) menu. 2. MariaDB(DBaaS) List Navigate to the page.
  3. MariaDB(DBaaS) List page, click the resource for which you want to delete the IP access control. 3. MariaDB(DBaaS) Details Go to the page.
  4. Click the More button, then click the DB Access Control Management button. 4. Navigate to the DB Access Control Management page.
  5. Click the Search button on the DB Access Control Management page. 5. Retrieving may take a short amount of time.
  6. When the query is complete, click the Delete button. 6. Delete popup window opens.
  7. Click the Confirm button on the Delete popup.

Configure Archive mode

Provides the ability to configure Archive mode and set the retention period for Archive logs, allowing users to flexibly configure Archive log management policies to suit their operating environment.

안내
When creating a service, the default setting is Archive mode enabled, and the retention period is 3 days.

To set the Archive mode, follow these steps.

  1. Click the All Services > Database > MariaDB(DBaaS) menu. 1. Navigate to the Service Home page of MariaDB (DBaaS).
  2. On the Service Home page, click the MariaDB(DBaaS) menu. 2. MariaDB(DBaaS) List Navigate to the page.
  3. MariaDB(DBaaS) List Click the resource on the page for which you want to set Archive mode. 3. MariaDB(DBaaS) Details Go to the page.
  4. Click the More button and then click the Archive Settings Management button. 4. Navigate to the Archive Settings Management page.
  5. On the Archive Settings Management page, click the Search button. 5. Retrieving may take a short amount of time.
  6. Click the Edit button and select the usage status and retention period.
  7. When the edit is complete, click the Complete button.

Modify Audit Settings

You can change the Audit log storage settings of MariaDB (DBaaS).

Follow these steps to change the Audit log storage settings for MariaDB (DBaaS).

  1. Click the All Services > Database > MariaDB(DBaaS) menu. 1. Navigate to the Service Home page of MariaDB (DBaaS).
  2. On the Service Home page, click the MariaDB(DBaaS) menu. 2. MariaDB(DBaaS) List Navigate to the page.
  3. MariaDB(DBaaS) List On the MariaDB(DBaaS) List page, click the resource to view the service status. 3. MariaDB(DBaaS) Details Go to the page.
  4. Click the Edit icon of the Audit settings at the bottom of the detailed information. 4. Edit Audit Settings The popup window opens.
  5. Modify Audit Settings After changing the usage status in the popup window, click the Confirm button.
    • Select Use to enable the Audit log feature. * Enabling audit logging may degrade database performance.
    • If you disable use, the Audit log storage file will be deleted. * Back up the Audit log file separately before disabling.

DB Log Export

Supports exporting log data that requires long-term retention among audit (Audit) logs to Object Storage. Users can directly configure the log types that need to be stored, the destination Bucket for export, and the log export interval. Copies logs to the designated Object Storage for retention according to the configured criteria. Additionally, to efficiently manage disk space, we also provide an option that exports logs to Object Storage while automatically deleting the original log files. By using this option, you can effectively free up storage capacity while safely retaining the necessary log data for the long term.

안내
  • To use the DB Log export feature, you need to create an Object Storage. * Please refer to the Object Storage 사용자 가이드 for creating Object Storage.
  • Please be sure to verify the authentication key’s expiration date and time. * If the authentication key expires, logs will not be stored in the Bucket.
  • Please ensure that the authentication key information is not exposed to external parties.

Setting DB Log Export Mode

Follow these steps to set the DB Log export mode.

  1. All Services > Database > MariaDB(DBaaS) Click the menu. 1. Navigate to the Service Home page of MariaDB (DBaaS).
  2. On the Service Home page, click the MariaDB(DBaaS) menu. 2. MariaDB(DBaaS) List Navigate to the page.
  3. MariaDB(DBaaS) List On the page, click the resource for which you want to export the DB Log. 3. MariaDB(DBaaS) Details Go to the page.
  4. Click the More button, then click the DB Log Export button. 4. Navigate to the DB Log Export page.
  5. On the DB Log Export page, click the Register button. 5. Navigate to the Register DB Log Export page.
  6. After entering the required information on the DB Log Export Registration page, click the Complete button.
    CategoryRequired
    Detailed description
    Log typeRequiredLog type to be saved
    Save bucket nameRequiredObject Storage bucket name to be saved
    Authentication key > Access keyRequiredAccess key for accessing the Object Storage you want to store
    Authentication key > Secret keyRequiredSecret key for accessing the Object Storage you want to store
    File creation cycleRequiredFile creation frequency in Object Storage
    Whether to delete the original logSelectionWhether to delete the original logs when exporting to Object Storage
    Table. MariaDB (DBaaS) DB Log Export Configuration Items

Manage DB Log Export

To modify, cancel, or immediately export the DB Log export settings, follow the steps below.

  1. Click the All Services > Database > MariaDB(DBaaS) menu. 1. Navigate to the Service Home page of MariaDB (DBaaS).
  2. On the Service Home page, click the MariaDB(DBaaS) menu. 2. MariaDB(DBaaS) List Navigate to the page.
  3. MariaDB(DBaaS) List On this page, click the resource for which you want to manage DB Log export. 3. MariaDB(DBaaS) Details Go to the page.
  4. Click the More button, then click the Export DB Log button. 4. Navigate to the DB Log Export page.
  5. On the DB Log Export page, depending on the log type you want to manage, click the More button and then click the Export Now, Edit, Terminate buttons.
    • Export Immediately: The selected logs are exported to the bucket of the previously configured Object Storage.
    • Edit: Modify the DB Log export mode setting.
    • Cancel: Cancel the DB Log export mode setting.

Upgrade version

If a latest patch that includes security enhancements and feature improvements is available, you can apply it using the version upgrade feature.

Caution
  • First retrieve the service status via service status synchronization, then proceed with the version upgrade.
  • It is recommended to perform an immediate backup in advance to prepare for any issues that may arise during the upgrade process. * If this is not the case, a failure may occur and some data may not be recoverable.
  • In a DB with a Replica configured, the Master DB version cannot be higher than the Replica version. * Please check the version of Replica first, and if necessary, perform a version upgrade.
  • The backed-up data is automatically deleted after the version upgrade is completed.

Major version upgrade

Caution

Major version upgrades require a pre‑upgrade simulation test.

  • Please set up a separate Replica DB, promote it to Master, and pre‑validate the Major upgrade. * Afterward, we recommend proceeding only after thoroughly reviewing the service impact with the Application manager.

To perform a Major version upgrade, follow the steps below.

  1. Click the All Services > Database > MariaDB(DBaaS) menu. 1. Navigate to the Service Home page of MariaDB (DBaaS).
  2. On the Service Home page, click the MariaDB(DBaaS) menu. 2. MariaDB(DBaaS) List Navigate to the page.
  3. On the MariaDB(DBaaS) List page, click the resource to upgrade the Major version. 3. MariaDB(DBaaS) Details Go to the page.
  4. Click the Edit icon of the Image version item. 4. Version Upgrade A popup window opens.
  5. Version Upgrade In the popup window, select the upgrade type and patch version, then click the Confirm button.
  6. Version Upgrade Notification: Click the Confirm button in the popup window.

Minor version upgrade

Supports minor version upgrades within the same major version.

To perform a minor version upgrade, follow the steps below.

  1. Click the All Services > Database > MariaDB(DBaaS) menu. 1. Navigate to the Service Home page of MariaDB (DBaaS).
  2. On the Service Home page, click the MariaDB(DBaaS) menu. 2. MariaDB(DBaaS) List Navigate to the page.
  3. On the MariaDB(DBaaS) List page, click the resource to upgrade the Minor version. 3. MariaDB(DBaaS) Details Go to the page.
  4. Click the Edit icon of the Image version item. 4. Version Upgrade A popup window opens.
  5. Version Upgrade In the popup window, select the upgrade type and the patch version, then click the Confirm button.
  6. Version Upgrade Notification In the popup window, click the Confirm button.

Configure Migration

Provides a Migration feature that synchronizes in real time with the operational database and replicates using a Replication method without service interruption.

안내
For a detailed Migration configuration guide, please refer to Architecture Center > 마이그레이션 가이드.

To configure Migration, follow these steps.

  1. Click the All Services > Database > MariaDB(DBaaS) menu. 1. Navigate to the Service Home page of MariaDB (DBaaS).
  2. On the Service Home page, click the MariaDB(DBaaS) menu. 2. MariaDB(DBaaS) List Go to the page.
  3. MariaDB(DBaaS) List page, click the resource to migrate. 3. MariaDB(DBaaS) Details Go to the page.
  4. Click the More button, then click the Configure Migration button. 4. Migration configuration The popup window opens.
  5. Migration configuration In the popup window, review the instructions and click the Confirm button. 5. Go to the Migration configuration page.
  6. Migration configuration After entering the required information on the page, click the Check Connection button.
  7. When the connection is complete, click the Done button.
    CategoryRequired
    Detailed description
    Source DB Database nameRequiredDatabase name of the source DB to be migrated
    Source DB IPRequiredIP of the Source DB that is the migration target
    Source DB PortRequiredPort of the Source DB to be migrated
    Source DB usernameRequiredUser name of the Source DB to be migrated
    Source DB passwordRequiredPassword of the source DB for migration
    Table. MariaDB (DBaaS) migration configuration items

Promote Migration Cluster to Master Cluster

You can promote a fully configured Migration Cluster to a Master Cluster.

Caution
When the master is promoted, synchronization with the source DB that is the migration target is stopped.

To promote the Migration Cluster to Master, follow the steps below.

  1. Click the All Services > Database > MariaDB(DBaaS) menu. 1. Navigate to the Service Home page of MariaDB (DBaaS).
  2. On the Service Home page, click the MariaDB(DBaaS) menu. 2. MariaDB(DBaaS) List Navigate to the page.
  3. On the MariaDB(DBaaS) List page, click the resource to promote to Master. 3. MariaDB(DBaaS) Details Go to the page.
  4. Click the More button, then click the Master Promotion button. 4. Master Promotion Notification The popup window opens.
  5. Master Promotion Notification Click the Confirm button in the popup window.

Managing Block Storage Usage

You can view the usage of Block Storage by type allocated to the DB instance.

To view Block Storage usage, follow these steps.

  1. Click the All Services > Database > MariaDB(DBaaS) menu. 1. Navigate to the Service Home page of MariaDB (DBaaS).
  2. On the Service Home page, click the MariaDB(DBaaS) menu. 2. MariaDB(DBaaS) List Navigate to the page.
  3. On the MariaDB(DBaaS) List page, click the resource to view Block Storage usage. 3. MariaDB(DBaaS) Details Go to the page.
  4. Click the More button, then click the Block Storage Usage Management button. 4. Block Storage Usage Management Navigate to the page.
  5. On the Block Storage Usage Management page, click the Search button. 5. Block Storage Usage Management The page displays usage by Block Storage type.
    • Retrieving usage by Block Storage type takes a short amount of time.

OS Kernel Upgrade

You can upgrade the OS Kernel to enhance the functionality of the operational database and apply security patches.

Caution
  • The service will be unavailable while the OS upgrade is in progress.
  • The upgrade duration may vary depending on the version, and if the upgrade fails, it will be rolled back to the previous configuration.
  • After the upgrade is complete, you cannot revert to the original OS.

Follow these steps to upgrade the OS Kernel.

  1. All Services > Database > MariaDB(DBaaS) Click the menu. 1. Navigate to the Service Home page of MariaDB (DBaaS).
  2. On the Service Home page, click the MariaDB(DBaaS) menu. 2. MariaDB(DBaaS) List Navigate to the page.
  3. On the MariaDB(DBaaS) List page, click the resource to upgrade the OS Kernel. 3. MariaDB(DBaaS) Details Navigate to the page.
  4. Click the More button, then click the OS(Kernel) Upgrade button. 4. OS (Kernel) Upgrade Notification A popup window opens.
  5. OS(Kernel) Upgrade Notification Check the instructions in the popup window and click the Confirm button.

2 - Backing up and restoring the DB

Users can set up backups for MariaDB (DBaaS) through the Samsung Cloud Platform Console and restore from the backed‑up files.

Backing up MariaDB(DBaaS)

PostgreSQL (DBaaS) provides data backup functionality based on its own backup commands. Additionally, it provides an optimized backup environment for data protection and management through backup history verification and backup file deletion features.

Configure Backup

For backup configuration of MariaDB (DBaaS), please refer to MariaDB(DBaaS) 생성하기.

To modify the backup settings of the created resource, follow the steps below.

Caution
  • For reliable backups, we recommend adding separate BACKUP storage or sufficiently expanding storage capacity. * Especially when the backup data exceeds 100 GB and experiences frequent changes, please provision additional storage equal to approximately 60 % of the data size. * For instructions on adding and expanding storage, refer to the MariaDB(DBaaS) 스토리지 추가하기, MariaDB(DBaaS) 스토리지 증설하기 guides.
  • If a backup is configured, it runs at the specified time after the set time, and additional fees are incurred based on the backup size.
  • If you change the backup setting to Unconfigured, backup execution will stop immediately, and stored backup data will be deleted and can no longer be used.
  1. Click the All Services > Database > MariaDB(DBaaS) menu. 1. Navigate to the Service Home page of MariaDB (DBaaS).
  2. On the Service Home page, click the MariaDB(DBaaS) menu. 2. MariaDB(DBaaS) List Go to the page.
  3. MariaDB(DBaaS) List Click the resource for which you want to set up a backup. 3. MariaDB(DBaaS) Details Go to the page.
  4. Click the Edit button of the backup item. 4. Backup Settings The popup window opens.
  5. When configuring a backup, click Use in the Backup Settings popup, select retention period, backup start time, and Archive backup interval, then click the Confirm button.
    • If you wish to stop the backup configuration, deselect Use in the Backup Settings popup and authenticate using the logged-in user’s mobile phone.
      Once user authentication is complete, the backup configuration is disabled and backup execution stops.

Perform backup immediately

If additional data protection is needed, you can quickly create a backup using the instant backup feature.

To perform an immediate backup, follow these steps.

  1. Click the All Services > Database > MariaDB(DBaaS) menu. 1. Navigate to the Service Home page of MariaDB (DBaaS).
  2. On the Service Home page, click the MariaDB(DBaaS) menu. 2. MariaDB(DBaaS) List Navigate to the page.
  3. On the MariaDB(DBaaS) List page, click the resource to perform an immediate backup. 3. MariaDB(DBaaS) Details Go to the page.
  4. Click the Immediate Backup button of the backup item. 4. Immediate backup settings The popup window opens.
  5. In the Immediate backup setup popup, click the Confirm button.

Check backup history

안내
To set notifications for backup success and failure, you can configure them through the Notification Manager product. For a detailed usage guide on configuring notification policies, refer to 알림 정책 생성하기.

To check the backup history, follow these steps.

  1. Click the All Services > Database > MariaDB(DBaaS) menu. 1. Navigate to the Service Home page of MariaDB (DBaaS).
  2. On the Service Home page, click the MariaDB(DBaaS) menu. 2. MariaDB(DBaaS) List Go to the page.
  3. MariaDB(DBaaS) List On the page, click the resource to view the backup history. 3. MariaDB(DBaaS) Details Go to the page.
  4. Click the Backup History button. 4. Backup History The popup window opens.
  5. Backup History In the popup window, you can view the backup status, version, backup start date and time, backup completion date and time, and size.

Delete backup file

To delete the backup file, follow these steps.

Caution
Backup files cannot be restored after deletion. Please be sure to confirm that the data is unnecessary before deleting it.
  1. All Services > Database > MariaDB(DBaaS) Click the menu. 1. Navigate to the Service Home page of MariaDB (DBaaS).
  2. On the Service Home page, click the MariaDB(DBaaS) menu. 2. MariaDB(DBaaS) List Navigate to the page.
  3. MariaDB(DBaaS) List page, click the resource to view the backup history. 3. MariaDB(DBaaS) Details Go to the page.
  4. Click the Backup History button. 4. Backup History The popup window opens.
  5. Backup History In the popup window, select the files you wish to delete, then authenticate via the logged-in user’s mobile phone.
    • When user authentication is completed, the backup file will be deleted.

Recover MariaDB(DBaaS)

If a failure or data loss requires restoration from a backup file, recovery can be performed based on a specific point in time using the recovery feature. When you perform a MariaDB(DBaaS) recovery, a new server is created using the OS image from the initial provisioning point, the database is installed with the version from the backup point, and the recovery proceeds with the database’s configuration information and data.

Caution
To perform recovery, at least twice the capacity of the Disk data type is required. If disk space is insufficient, recovery may fail.

To recover MariaDB (DBaaS), follow the steps below.

  1. Click the All Services > Database > MariaDB(DBaaS) menu. 1. Navigate to the Service Home page of MariaDB (DBaaS).
  2. On the Service Home page, click the MariaDB(DBaaS) menu. 2. MariaDB(DBaaS) List Go to the page.
  3. On the MariaDB(DBaaS) List page, click the resource you want to recover. 3. MariaDB(DBaaS) Details Go to the page.
  4. Click the Database Recovery button. 4. Database Recovery Navigate to the page.
  5. After entering information in the Database recovery configuration area, click the Complete button.
    Category
    Required
    Detailed description
    Recovery typeRequiredSet the point in time the user wants to recover
    • Backup point (recommended): Recover based on the backup file. Select from the list of backup points displayed in the list
    • Custom point: Recover to a user‑desired point within the recoverable backup time range. The recoverable period depends on the Archive backup interval setting, allowing recovery from the start of the first backup up to 1 hour/30 minutes/10 minutes/5 minutes before the current time. Select the date and time to back up
    Server name prefixRequiredRecovery DB server name
    • Start with a lowercase English letter and use lowercase letters, numbers, and special characters (-) to enter 3 to 16 characters
    • Based on the server name, a postfix such as 001, 002 is appended to generate the actual server name
    Cluster nameRequiredCluster name of the recovery DB
    • Enter using English letters, 3 ~ 20 characters
    • A cluster is a unit that groups multiple servers
    Service Type > Server TypeRequiredServer type for the recovery DB installation
    • Standard: Standard specifications commonly used
    • High Capacity: Large-capacity server of 24vCore or more (to be provided later)
    Service Type > Planned ComputeSelectionStatus of resources with Planned Compute set
    • In Use: Number of resources with Planned Compute that are currently in use
    • Configured: Number of resources with Planned Compute set
    • Coverage Preview: Amount applied per resource by Planned Compute
    Service Type > Block StorageRequiredBlock Storage settings used by the recovery DB
    • Basic OS: Area where the DB engine is installed
    • DATA: Storage area for table data, archive files, etc.
      • Apply the same storage type as set in the original cluster
      • Enter capacity as a multiple of 8 within the range 16 to 5,120
    • Add: Storage area for DATA, Archive, TEMP, Backup data
      • Apply the same storage type as set in the original cluster
      • In the recovery DB, only DATA, TEMP, and Archive purposes can be added
      • After selecting Use, enter the storage purpose and capacity
      • To add storage, click the Add button; to delete, click the x button
      • Capacity can be entered as a multiple of 8 within the range 16 to 5,120, and up to 9 can be created
    Database usernameRequiredDatabase username set in the source DB
    Database Port numberRequiredDatabase Port number set in the source DB
    IP access controlSelectionIP address for accessing the recovery DB
    • Enter in IP format (example: 192.168.10.1) or CIDR format (example: 192.168.10.1/32, 192.168.10.1/32), then click the Add button
    • To delete an entered IP, click the x button next to the entered IP
    maintenance periodSelectionDB maintenance window
    • If you select Use, you can set the day, start time, and duration
    • The maintenance window is a feature that allows the user to set the time slot for performing patch operations, and patch tasks within that time are the user’s responsibility.
    • We ask you to set a maintenance window for the stable operation of the system, and we are not responsible for any issues arising from not setting it or failing to perform tasks within the window.
    tagSelectionAdd Tag
    • Add Tag after clicking the button, enter or select Key, Value values
    Table. MariaDB (DBaaS) Recovery Configuration Items

3 - Configure Read Replica

Users can enter the required information for a Read Replica through the Samsung Cloud Platform Console and create the service using detailed options.

Configure Replica

Through replica configuration, you can create replica servers for read-only or disaster recovery purposes. You can create up to 5 replicas per database.

information
To configure a disaster recovery Replica, please create it via Replica Configuration (Other Region).

To configure a Replica, follow these steps.

  1. All Services > Database > MariaDB (DBaaS) Click the menu. 1. Go to the Service Home page of MariaDB (DBaaS).
  2. On the Service Home page, click the MariaDB(DBaaS) menu. 2. MariaDB (DBaaS) List page is accessed.
  3. On the MariaDB (DBaaS) List page, click the resource to configure a Replica. 3. MariaDB(DBaaS) Details Go to the page.
  4. Click the Replica configuration button. 4. Replica configuration Navigate to the page.
  5. After entering information in the Replica configuration area, click the Complete button.
    Category
    required status
    Detailed description
    RegionRequiredRegion to configure the Replica
    • Replica configuration (Other Region) is displayed only when selected
    Replica countRequiredNumber of Replicas to configure
    • Up to 5 can be configured per cluster
    • If you select more than one value, additionally enter the Replica name and service type information
    Replica nameRequiredReplica server name
    • must start with a lowercase English letter, and use lowercase letters, numbers, and special characters (-) to enter 3 to 19 characters
    • The entered Replica name is displayed as the cluster name in the list
    Service Type > Server TypeEssentialReplica server type
    • Standard: standard specification commonly used
    • High Capacity: large-capacity server with 24vCore or more (to be provided later)
    Service Type > Planned ComputeSelectStatus of resources with Planned Compute configured
    • In Use: Number of resources with Planned Compute configured that are currently in use
    • Configured: Number of resources with Planned Compute configured
    • Coverage Preview: Amount applied per resource by Planned Compute
    Service Type > Block StorageRequiredBlock Storage configuration using Replica DB
    • Basic OS: Area where the DB engine is installed
    • DATA: Storage area for table data, archive files, etc.
      • Applied identically with the storage type set in the source cluster
      • Capacity cannot be set
    • Additional: DATA, Archive, TEMP, Backup data storage area
      • Applied identically with the storage type set in the source cluster
      • In a Replica, only DATA and TEMP can be added
      • After selecting Use, input the storage purpose and capacity
      • To add storage, click the Add button, and to delete, click the x button
      • Capacity can be entered in multiples of 8 within the range 16–5,120, and up to a maximum of 9 can be created, including the number set in the source cluster
    IP access controlSelectionService Access Policy Configuration
    • Since the access policy is set for the IP entered on the page, a separate Security Group policy configuration is not required
    • Enter in IP format (example: 192.168.10.1) or CIDR format (example: 192.168.10.0/24, 192.168.10.1/32) and click the Add button
    • To delete an entered IP, click the x button next to the entered IP
    maintenance periodSelectDatabase maintenance window
    • If you select Use, set the day of week, start time, and duration
    • It is recommended to set a maintenance window for stable management of the DB. Patch operations will be performed at the scheduled time, causing service interruptions
    • If set to unused, we are not responsible for issues arising from patches not being applied.
    tagSelectAdd Tag
    • after clicking the Add Tag button, Key, Value enter or select
    Table. MariaDB (DBaaS) Replica configuration items

Reconfigure Replica

If a network outage or replication delay with the Master Cluster occurs, you can use the Replica reconstruction function to replicate the Master Cluster’s data again.

To reconfigure the Replica, follow these steps.

  1. Click the All Services > Database > MariaDB(DBaaS) menu. 1. Go to the Service Home page of MariaDB (DBaaS).
  2. On the Service Home page, click the MariaDB(DBaaS) menu. 2. Navigate to the MariaDB(DBaaS) List page.
  3. On the MariaDB(DBaaS) List page, click the resource to reconfigure the Replica. 3. MariaDB(DBaaS) Details Go to the page.
  4. Click the Replica Reconstruction button. 4. Replica Reconfiguration Notice A popup window opens.
  5. Replica Reconfiguration Notification In the popup window, click the OK button.

Promote Replica Cluster to Master Cluster

You can promote a fully configured Replica Cluster to a Master Cluster.

Caution
When the Master is promoted, synchronization with the existing Master Cluster is stopped.

To promote a Replica Cluster to Master, follow these steps.

  1. All Services > Database > MariaDB(DBaaS) Click the menu. 1. Navigate to the Service Home page of MariaDB (DBaaS).
  2. On the Service Home page, click the MariaDB(DBaaS) menu. 2. Navigate to the MariaDB(DBaaS) List page.
  3. On the MariaDB(DBaaS) List page, click the resource to promote to Master. 3. MariaDB(DBaaS) Details Go to the page.
  4. Click the More button and then click the Master Promotion button. 4. Master Promotion Notification The popup window opens.
  5. Master Promotion Notification in the popup window, click the Confirm button.

4 - MariaDB(DBaaS) server connection

Scenario Overview

MariaDB(DBaaS) Server Connection scenario involves creating a Bastion host (Virtual Server) and a Database service, and accessing the DB service through the Bastion host. To reliably connect to MariaDB (DBaaS) in the Samsung Cloud Platform environment, you need to create a Bastion host and establish a network connection using it. To maintain stability and a high level of security, we recommend configuring the Database service in a Private Subnet environment and setting up the Bastion host in a restricted Public Subnet environment.

This scenario primarily describes creating a Bastion host and Database service, configuring the network environment for Bastion host and Database access, and connecting through a DB client.

Architecture
Figure. MariaDB(DBaaS) server connection architecture

Scenario components

You can build the scenario using the following services.

Service group
service
Detailed description
NetworkingVPCA service that provides an isolated virtual network in a cloud environment
NetworkingVPC > SubnetA service that lets users segment the network within a VPC to match their purpose and scale
NetworkingVPC > Public IPA service that reserves a public IP and allocates and releases it to Compute resources.
NetworkingVPC > Internet GatewayA service that connects VPC resources to the Internet
NetworkingSecurity GroupVirtual firewall that controls server traffic
DatabaseMariaDB(DBaaS)A service that easily creates and manages MariaDB in a web environment
ComputeVirtual ServerVirtual server optimized for cloud computing
ComputeVirtual Server > KeypairEncryption file used to connect to the Virtual Server
Table. Scenario component list
Reference
  • Since the default policy of the Security Group is Deny All, you must register only the allowed IPs.
  • The All Open(Any IP, Any Port) policy for In/Outbound can expose cloud resources directly to external threats.
    • By specifying the required IP and Port and setting a policy, you can strengthen security.

Scenario setup method

Create the services needed to build the scenario by following the procedure below.

1. ## Configure Network

Describes the process of configuring the network environment for accessing the Bastion Host and Database services.

1-1. ### Create VPC

For detailed creation instructions, refer to the Networking > VPC > How-to guides guide.
  1. All Services > Networking > VPC menu, click it. 1. Navigate to the VPC’s Service Home page.
  2. On the Service Home page, click the Create VPC button. 2. Go to the Create VPC page.
  3. On the VPC creation page, enter the information required to create the service.
    • Enter the IP range as 192.168.x.0/16.
  4. Summary Check the detailed information and estimated billing amount generated in the panel, and click the Complete button.
    • When creation is complete, check the created resources on the VPC List page.

1-2. ### Create Subnet

For detailed creation steps, refer to the Networking > VPC > How-to guides > Subnet guide.
  1. All Services > Networking > VPC Click the menu. 1. Navigate to the VPC’s Service Home page.
  2. On the Service Home page, click the Subnet menu. 2. Navigate to the Subnet list page.
  3. Create Subnet Click the button. 3. Go to the Subnet Creation page.
  4. On the Subnet Creation page, enter the information required to create the service.
    • Select the Subnet type as General.
    • Select a pre‑created VPC.
    • Enter the IP range as 192.168.x.0/24.
  5. Summary Check the detailed information and estimated billing amount generated in the panel, and click the Complete button.
    • After creation is complete, check the created resources on the Subnet List page.

1-3. ### Create Internet Gateway

For detailed creation instructions, refer to the Networking > VPC > How-to guides > Internet Gateway guide.
  1. All Services > Networking > VPC Click the menu. 1. Navigate to the VPC’s Service Home page.
  2. On the Service Home page, click the Internet Gateway menu. 2. Internet Gateway List Navigate to the page.
  3. Internet Gateway creation Click the button. 3. Go to the Create Internet Gateway page.
  4. On the Internet Gateway Creation page, enter the required information needed to create the service.
    • Select a pre‑created VPC.
    • In the Firewall usage option, select Use.
  5. Summary Check the detailed information and estimated billing amount generated in the panel, and click the Complete button.
    • Once creation is complete, check the created resource on the Internet Gateway List page.

1-4. ### Create Public IP

For detailed creation instructions, refer to the Networking > VPC > How-to guides > Public IP guide.
  1. All Services > Networking > VPC Click the menu. 1. Navigate to the VPC’s Service Home page.
  2. On the Service Home page, click the Public IP menu. 2. Go to the Public IP List page.
  3. Public IP reservation Click the button. 3. Go to the Public IP reservation page.
  4. On the Public IP reservation page, enter the required information for service reservation.
  5. Summary Check the detailed information and estimated billing amount generated in the panel, and click the Complete button.
    • When creation is complete, check the created resources on the Public IP List page.

1-5. ### Create Security Group

For detailed creation instructions, see the Networking > Security Group > How-to guides guide.
  1. Click the All Services > Networking > Security Group menu. 1. Go to the Service Home page of the Security Group.
  2. On the Service Home page, click the Create Security Group button. 2. Go to the Security Group Creation page.
  3. On the Security Group creation page, enter the required information to create the service.
  4. Check the input information and click the Done button.
    • After creation is complete, verify the created resources on the Security Group List page.

2. ## Create Bastion host

Explains the process of configuring a Bastion Host where the Database access client must be installed.

2-1. ### Create Server Keypair

For detailed creation steps, refer to the Compute > Virtual Server > How-to guides > Keypair guide.
  1. All Services > Compute > Virtual Server Click the menu. 1. Navigate to the Service Home page of the Virtual Server.
  2. On the Service Home page, click the Keypair menu. 2. Go to the Keypair List page.
  3. Create Keypair button, click it. 3. Go to the Keypair creation page.
  4. On the Keypair Creation page, enter the required information needed to create the service.
  5. Verify the creation information and click the Complete button.
    • The key can be downloaded only for the first time, and reissuance is not provided.
    • Please store the downloaded key in a secure location.

2-2. ### Create Bastion host

For detailed creation steps, please refer to the Compute > Virtual Server > How-to guides guide.
  1. All Services > Compute > Virtual Server Click the menu. 1. Navigate to the Service Home page of the Virtual Server.
  2. On the Service Home page, click the Create Virtual Server button. 2. Go to the Create Virtual Server page.
  3. On the Virtual Server Creation page, enter the required essential information needed to create the service.
  4. Summary Check the detailed information and estimated billing amount generated in the panel, and click the Complete button.
    • Once creation is complete, check the created resources on the Virtual Server List page.

2-3. ### Check Bastion host login ID and PW

  1. All Services > Compute > Virtual Server Click the menu. 1. Navigate to the Service Home page of the Virtual Server.
  2. On the Service Home page, click the Virtual Server menu. 2. Go to the Virtual Server List page.
  3. Virtual Serve List page, click the resource you created in 2-2. Bastion host 생성하기. 3. Go to the detailed information page for the resource.
  4. Click the RDP password view button in the Keypair name field on the detail information page. 4. RDP password lookup A popup window opens.
  5. RDP password lookup in the popup window, attach the keypair file downloaded from 2-1. 서버 Keypair 생성하기.
  6. After attaching, click the Password verification button. 6. The ID and password required to access the resource are displayed.

3. ## Create Database

Describes the process of creating a Database service.

3-1. ### MariaDB(DBaaS) Create Service

For detailed creation instructions, refer to the Database > MariaDB(DBaaS) > How-to guides guide.
  1. Click the All Services > Database > MariaDB(DBaaS) menu. 1. Navigate to the Service Home page of MariaDB (DBaaS).
  2. On the Service Home page, click the Create MariaDB (DBaaS) button. 2. Go to the MariaDB(DBaaS) Create page.
  3. On the MariaDB(DBaaS) Creation page, enter the required information needed to create the service.
    • Select the pre‑created VPC and Subnet and connect them.
    • Enter database-related creation information on the required information input screen.
    • Add the Bastion host IP in the IP access control item.
    • The database port defaults to 2866, but users can also specify a different one.
  4. Summary Check the detailed information and estimated billing amount generated in the panel, and click the Complete button.
    • After creation is complete, verify the created resource on the MariaDB(DBaaS) list page.

4. ## Configure Rules

Describes the process of setting rules for users to connect to the Bastion host and rules for connecting to the Database from the Bastion host.

4-1. ### Security Group Add security rule

For detailed creation instructions, refer to the Networking > Security Group > How-to guides guide.
  1. Click the All Services > Networking > Security Group menu. 1. Go to the Service Home page of the Security Group.
  2. On the Service Home page, click the Security Group menu. 2. Navigate to the Security Group List page.
  3. 1-5. 3. Security Group CreateSelect the Security Group resource created in 3. Go to the detailed information page for the resource.
  4. On the detail information page, click the Rules tab. 4. Go to the Rules tab.
  5. Click the Add Rule button on the Rule tab. 5. Add Rule Navigate to the popup window.
  6. Add Rule In the popup window, enter the rule below, and click the Confirm button.
    DirectionRemoteTarget addressProtocolPortExplanation
    InboundCIDRUser PC IPTCP3389 (RDP)Bastion access PC → Bastion host
    OutboundCIDRDB IPTCPDatabase Port (manual entry)Bastion host → Database
    Table. Security Group rules that need to be added

4-2. ### Add IGW Firewall rule

For detailed creation instructions, refer to the Networking > Firewall > How-to guides guide.
  1. Click the All Services > Networking > Firewall menu. 1. Navigate to the Firewall’s Service Home page.
  2. On the Service Home page, click the Firewall menu. 2. Go to the Firewall List page.
  3. On the Firewall List page, select the Internet Gateway resource name created in 1-3. Internet Gateway 생성하기. 3. Go to the detailed information page for the resource.
  4. On the detail information page, click the Rules tab. 4. Go to the Rules tab.
  5. Click the Add Rule button on the Rule tab. 5. Add Rule Navigate to the popup window.
  6. Add Rule In the popup window, enter the rule below, and click the Confirm button.
    Origin addressDestination addressProtocolPortOperationDirectionExplanation
    Bastion connection PC IPBastion host IPTCP3389(RDP)AllowInboundUser PC → Bastion host
    Table. Internet Gateway Firewall rules to be added

5. ## Database Connect

Describes the process of a user connecting to a database through a DB client program.

This guide provides instructions on how to connect using MySQL Workbench. Database client programs and CLI utilities are diverse, so you can install and use the tool that best suits your needs.

5-1. ### Connecting to Bastion host

  1. In the Windows environment of the PC that will connect to the Bastion host, run Remote Desktop Connection, then enter the NAT IP of the Bastion Host and click the Connect button.
  2. When the remote desktop connection succeeds, user credential input window opens. 2. Enter the ID and Password verified in 2-3. Bastion host 접속 ID 및 PW 확인하기 and click the Confirm button.

5-2. ### Install the DB client program (MySQL Workbench) on the Bastion host

  1. Go to the official MySQL page and download the MySQL Workbench program.
  2. Connect the user’s PC hard drive to upload the file to the Bastion host.
  3. Click the Details button of the Local devices and resources item on the Local Resources tab of the Remote Desktop Connection.
  4. Select the local disk of the location where the file was downloaded on the drive, and click the Confirm button.
  5. Copy the downloaded file, upload it to the Bastion Host, and click the MySQL Workbench installer to install it.

5-3. ### Connect to the database using a DB client program (MySQL Workbench)

  1. Run MySQL Workbench and click Database > Manage connections. 1. Manage Server Connection A popup window appears.
  2. Manage Server Connection In the popup window, click the New button at the lower left, enter the Database server information created in 3-1. MariaDB(DBaaS) 서비스 생성하기, and click the Test Connection button. 2. Password a popup window appears.
    Required input element iteminput value
    Connection NameCustom (ex. service name)
    Host nameDatabase server IP
    PortDatabase Port
    UsernameDatabase username
    Table DB connection client program input fields
  3. Password In the popup window, enter the password set in 3-1. MariaDB(DBaaS) 서비스 생성하기 and click the OK button. 3. When the operation succeeds, click the OK button in the Manage Server Connection popup window.
  4. Click Database > Connect to Database. 4. Connect to Database A popup window appears.
  5. Select the Connection Name registered in Stored Connection to perform a Database connection. 5. After connecting, you can perform simple queries, etc.