This is the multi-page printable view of this section. Click here to print.
MariaDB(DBaaS)
1 - Overview
Service Overview
MariaDB (DBaaS) is an open source relational database (RDBMS) with high compatibility with MySQL. Samsung Cloud Platform provides an environment that can automate MariaDB installation and perform management functions for operation through a web-based console.
MariaDB (DBaaS) is designed as a high-availability architecture that performs storage-based data replication and minimizes failover time. To prevent data loss, when the content of the Active server changes, it is synchronously replicated to the Standby server, and up to five read-only servers called Replicas are provided for read load balancing and disaster recovery (DR). Additionally, to prepare for issues with the DB server or data, it offers a feature that automatically backs up at a user-specified time, supporting data recovery at the desired point in time.
Provided Features
MariaDB (DBaaS) provides the following features.
- Auto Provisioning (Auto Provisioning): Installation and configuration of Database (DB) via UI is possible, and it provides an Active-standby redundancy configuration built on storage replication. In case of an Active server failure, it automatically fails over to Standby.
- Operation Control Management: Provides a function to control the status of running servers. In addition to start and stop, restart is possible if there is an issue with the DB or to apply configuration values. When configured for high availability (HA), the user can directly perform node switching between Active-Standby via Switch-over.
- Backup and Recovery: Provides data backup functionality based on its own backup command. The backup time window and storage organization can be set by the user, and additional fees may be incurred depending on backup volume. It also provides a recovery function for backed-up data, so when the user performs recovery, a separate DB is created and recovery proceeds to the point in time selected by the user (backup save point, user-defined point). When recovering to a user-specified point, the recovery point can be set to 5 minutes/10 minutes/30 minutes/1 hour before the stored backup file and archive file.
- Version Management: Provides version upgrade (Minor) functionality due to some feature improvements and security patches. Whether to perform a backup for the version upgrade can be selected by the user, and if a backup is performed, data is backed up before applying the patch, then the DB engine is updated.
- Replica configuration: You can add up to 5 read-only Read Replicas, enabling read performance scaling and load balancing.
- Audit setting: Provides an Audit setting feature that can monitor the user’s DB access and the results of DDL (Data Definition Language)/DML (Data Manipulation Language) execution.
- Parameter Management: Performance improvement and security-related DB configuration parameter modifications are possible.
- Service status query: Retrieves the final status of the current DB service.
- Monitoring: CPU, memory, DB performance monitoring information can be checked through the Cloud Monitoring service.
- DB User Management: View and manage DB account (user) information registered in the DB.
- DB Access Control Management: Based on DB accounts registered in the DB, you can register and revoke allowed IPs for access.
- Archive Management: You can set the Archive file retention period (1 day~35 days) within the DB server and configure the Archive mode (On/Off).
- DB Log Export: Through Audit settings, you can export stored logs to the user’s Object Storage.
- Migration: Synchronize data in real time with the operating database, and support migration using replication method without service interruption.
Components
MariaDB (DBaaS) provides pre-validated engine versions and various server types according to the open source support policy. Users can select and use them according to the scale of the service they want to configure.
Engine Version
The engine versions supported by MariaDB (DBaaS) are as follows.
Technical support can be used until the supplier’s EoTS (End of Technical Service) date, and the EOS date when new creation is stopped is set to 6 months before the EoTS date.
Since the EOS and EoTS dates may change according to the supplier’s policy, please refer to the supplier’s license management policy page for details.
- MariaDB (Community): https://mariadb.org/about/#maintenance-policy
| Service | Provided Version | EOS Date(Samsung Cloud Platform New Creation Stop Date) | EoTS Date(Community Technical Support End Date) |
|---|---|---|---|
| MariaDB (Community) | 10.6.5 | 2026-03 (planned) | 2026-07-06 |
| 10.6.9 | 2026-03 (scheduled) | 2026-07-06 | |
| 10.6.10 | 2026-03 (scheduled) | 2026-07-06 | |
| 10.6.12 | 2026-03 (scheduled) | 2026-07-06 | |
| 10.6.14 | 2026-03 (scheduled) | 2026-07-06 | |
| 10.6.15 | 2026-03 (scheduled) | 2026-07-06 | |
| 10.6.16 | 2026-03 (scheduled) | 2026-07-06 | |
| 10.6.17 | 2026-03 (scheduled) | 2026-07-06 | |
| 10.6.19 | 2026-03 (scheduled) | 2026-07-06 | |
| 10.6.22 | 2026-03 (scheduled) | 2026-07-06 | |
| 10.11.8 | 2027-09 (scheduled) | 2028-02-16 | |
| 10.11.9 | 2027-09 (scheduled) | 2028-02-16 | |
| 10.11.13 | 2027-09 (scheduled) | 2028-02-16 | |
| 11.4 | 2029-09 (scheduled) | 2030-01-16 |
Server Type
The server types supported by MariaDB (DBaaS) are as follows.
For detailed information about the server types provided by MariaDB(DBaaS), see MariaDB(DBaaS) Server Type.
Standard db1v2m4
| Category | Example | Detailed Description |
|---|---|---|
| Server Type | Standard | Provided Server Types
|
| Server specifications | db1 | Provided server specifications
|
| Server specifications | v2 | Number of vCores
|
| Server Specifications | m4 | Memory Capacity
|
Preliminary Service
This is a list of services that must be pre-configured before creating the service. For details, please refer to the guide provided for each service and prepare in advance.
| Service Category | Service | Detailed Description |
|---|---|---|
| Networking | VPC | A service that provides an independent virtual network in a cloud environment |
1.1 - Server Type
MariaDB(DBaaS) Server Type
MariaDB(DBaaS) provides server types with various combinations of CPU, Memory, and Network Bandwidth. When creating a MariaDB(DBaaS), the database engine is installed according to the selected server type, which is chosen based on the intended use.
The server types supported by MariaDB(DBaaS) are as follows:
Standard db1v2m4
Classification | Example | Detailed Description |
|---|---|---|
| Server Type | Standard | Classification of provided server types
|
| Server Specification | db1 | Classification of provided server types and generation
|
| Server Specification | v2 | Number of vCores
|
| Server Specification | m4 | Memory capacity
|
db1 Server Type
The db1 server type of MariaDB(DBaaS) is provided with standard specifications (vCPU, Memory) and is suitable for various database workloads.
- Up to 3.3Ghz Intel 3rd generation (Ice Lake) Xeon Gold 6342 Processor
- Supports up to 16 vCPUs and 256 GB of memory
- Up to 12.5 Gbps networking speed
| Classification | Server Type | vCPU | Memory | Network Bandwidth |
|---|---|---|---|---|
| Standard | db1v1m2 | 1 vCore | 2 GB | Up to 10 Gbps |
| Standard | db1v2m4 | 2 vCore | 4 GB | Up to 10 Gbps |
| Standard | db1v2m8 | 2 vCore | 8 GB | Up to 10 Gbps |
| Standard | db1v2m16 | 2 vCore | 16 GB | Up to 10 Gbps |
| Standard | db1v2m24 | 2 vCore | 24 GB | Up to 10 Gbps |
| Standard | db1v2m32 | 2 vCore | 32 GB | Up to 10 Gbps |
| Standard | db1v4m8 | 4 vCore | 8 GB | Up to 10 Gbps |
| Standard | db1v4m16 | 4 vCore | 16 GB | Up to 10 Gbps |
| Standard | db1v4m32 | 4 vCore | 32 GB | Up to 10 Gbps |
| Standard | db1v4m48 | 4 vCore | 48 GB | Up to 10 Gbps |
| Standard | db1v4m64 | 4 vCore | 64 GB | Up to 10 Gbps |
| Standard | db1v6m12 | 6 vCore | 12 GB | Up to 10 Gbps |
| Standard | db1v6m24 | 6 vCore | 24 GB | Up to 10 Gbps |
| Standard | db1v6m48 | 6 vCore | 48 GB | Up to 10 Gbps |
| Standard | db1v6m72 | 6 vCore | 72 GB | Up to 10 Gbps |
| Standard | db1v6m96 | 6 vCore | 96 GB | Up to 10 Gbps |
| Standard | db1v8m16 | 8 vCore | 16 GB | Up to 10 Gbps |
| Standard | db1v8m32 | 8 vCore | 32 GB | Up to 10 Gbps |
| Standard | db1v8m64 | 8 vCore | 64 GB | Up to 10 Gbps |
| Standard | db1v8m96 | 8 vCore | 96 GB | Up to 10 Gbps |
| Standard | db1v8m128 | 8 vCore | 128 GB | Up to 10 Gbps |
| Standard | db1v10m20 | 10 vCore | 20 GB | Up to 10 Gbps |
| Standard | db1v10m40 | 10 vCore | 40 GB | Up to 10 Gbps |
| Standard | db1v10m80 | 10 vCore | 80 GB | Up to 10 Gbps |
| Standard | db1v10m120 | 10 vCore | 120 GB | Up to 10 Gbps |
| Standard | db1v10m160 | 10 vCore | 160 GB | Up to 10 Gbps |
| Standard | db1v12m24 | 12 vCore | 24 GB | Up to 12.5 Gbps |
| Standard | db1v12m48 | 12 vCore | 48 GB | Up to 12.5 Gbps |
| Standard | db1v12m96 | 12 vCore | 96 GB | Up to 12.5 Gbps |
| Standard | db1v12m144 | 12 vCore | 144 GB | Up to 12.5 Gbps |
| Standard | db1v12m192 | 12 vCore | 192 GB | Up to 12.5 Gbps |
| Standard | db1v14m28 | 14 vCore | 28 GB | Up to 12.5 Gbps |
| Standard | db1v14m56 | 14 vCore | 56 GB | Up to 12.5 Gbps |
| Standard | db1v14m112 | 14 vCore | 112 GB | Up to 12.5 Gbps |
| Standard | db1v14m168 | 14 vCore | 168 GB | Up to 12.5 Gbps |
| Standard | db1v14m224 | 14 vCore | 224 GB | Up to 12.5 Gbps |
| Standard | db1v16m32 | 16 vCore | 32 GB | Up to 12.5 Gbps |
| Standard | db1v16m64 | 16 vCore | 64 GB | Up to 12.5 Gbps |
| Standard | db1v16m128 | 16 vCore | 128 GB | Up to 12.5 Gbps |
| Standard | db1v16m192 | 16 vCore | 192 GB | Up to 12.5 Gbps |
| Standard | db1v16m256 | 16 vCore | 256 GB | Up to 12.5 Gbps |
dbh2 Server Type
The dbh2 server type of MariaDB(DBaaS) is provided with high-capacity server specifications and is suitable for large-scale data processing database workloads.
- Up to 3.2GHz Intel 4th generation (Sapphire Rapids) Xeon Gold 6448H Processor
- Supports up to 128 vCPUs and 1,536 GB of memory
- Up to 25Gbps networking speed
| Classification | Server Type | vCPU | Memory | Network Bandwidth |
|---|---|---|---|---|
| High Capacity | dbh2v24m48 | 24 vCore | 48 GB | Up to 25 Gbps |
| High Capacity | dbh2v24m96 | 24 vCore | 96 GB | Up to 25 Gbps |
| High Capacity | dbh2v24m192 | 24 vCore | 192 GB | Up to 25 Gbps |
| High Capacity | dbh2v24m288 | 24 vCore | 288 GB | Up to 25 Gbps |
| High Capacity | dbh2v32m64 | 32 vCore | 64 GB | Up to 25 Gbps |
| High Capacity | dbh2v32m128 | 32 vCore | 128 GB | Up to 25 Gbps |
| High Capacity | dbh2v32m256 | 32 vCore | 256 GB | Up to 25 Gbps |
| High Capacity | dbh2v32m384 | 32 vCore | 384 GB | Up to 25 Gbps |
| High Capacity | dbh2v48m192 | 48 vCore | 192 GB | Up to 25 Gbps |
| High Capacity | dbh2v48m576 | 48 vCore | 576 GB | Up to 25 Gbps |
| High Capacity | dbh2v64m256 | 64 vCore | 256 GB | Up to 25 Gbps |
| High Capacity | dbh2v64m768 | 64 vCore | 768 GB | Up to 25 Gbps |
| High Capacity | dbh2v72m288 | 72 vCore | 288 GB | Up to 25 Gbps |
| High Capacity | dbh2v72m864 | 72 vCore | 864 GB | Up to 25 Gbps |
| High Capacity | dbh2v96m384 | 96 vCore | 384 GB | Up to 25 Gbps |
| High Capacity | dbh2v96m1152 | 96 vCore | 1152 GB | Up to 25 Gbps |
| High Capacity | dbh2v128m512 | 128 vCore | 512 GB | Up to 25 Gbps |
| High Capacity | dbh2v128m1536 | 128 vCore | 1536 GB | Up to 25 Gbps |
1.2 - Monitoring Metrics
MariaDB(DBaaS) Monitoring Metrics
The following table shows the performance monitoring metrics of MariaDB(DBaaS) that can be checked through Cloud Monitoring. For detailed usage of Cloud Monitoring, refer to the Cloud Monitoring guide.
For server monitoring metrics of MariaDB(DBaaS), refer to the Virtual Server monitoring metrics guide.
| Performance Item | Detailed Description | Unit |
|---|---|---|
| Active Locks | Number of Active Locks | cnt |
| Active Sessions | Number of Active Sessions | cnt |
| Connection Usage [Total] | DB connection session usage rate | % |
| Connections | Number of connections | cnt |
| Connections [MAX] | Maximum number of connected threads | cnt |
| Binary Log Used [MB] | Binary log usage | MB |
| Data Directory Used [MB] | Data directory usage | MB |
| Open Files | Number of open DB files | cnt |
| Open Files [MAX] | Maximum number of openable DB files | cnt |
| Open Files Usage | DB file maximum usage rate | % |
| Relay Log Used [MB] | Relay log usage | MB |
| Instance Status [PID] | mariadbd process | pid |
| Safe PID | mariadbd_safe process | pid |
| Slave Behind Master seconds | Time difference between Master and Slave data (only executed on slave) | sec |
| Tablespace Used | Tablespace usage | MB |
| Tablespace Used [Total] | Total Tablespace usage | MB |
| Running Threads | Number of running threads | cnt |
| Slowqueries | Number of sessions that execute SQL for more than 10 seconds | cnt |
| Slowqueries [Total] | Total number of sessions that execute SQL for more than 10 seconds | cnt |
| Transaction Time [Long] | Longest transaction execution time | sec |
| Wait Locks | Number of sessions blocked by lock for more than 60 seconds | cnt |
2 - How-to guides
The user can enter the required information for MariaDB (DBaaS) and select detailed options through the Samsung Cloud Platform Console to create the service.
Creating MariaDB(DBaaS)
You can create and use the MariaDB (DBaaS) service from the Samsung Cloud Platform Console.
- Please configure the VPC’s Subnet type as General before creating the service.
- If the Subnet type is Local, the creation of the corresponding Database service is not possible.
- If you load more than 2 TB of large data, backups may take a long time or the DB’s performance may degrade. To prevent this, you need to consider operational aspects such as cleaning up unnecessary data or moving old data to a statistical collection environment.
To create MariaDB (DBaaS), follow the steps below.
- Click the All Services > Database > MariaDB(DBaaS) menu. You will be taken to the Service Home page of MariaDB(DBaaS).
- Service Home on the page click the MariaDB(DBaaS) creation button. Navigate to the MariaDB(DBaaS) creation page.
- MariaDB(DBaaS) creation on the page, enter the information required to create the service, and select detailed options.
- Please select the required information in the Image and version selection area.
Category RequiredDetailed description Image version Required Provide version list of MariaDB (DBaaS) Table. MariaDB(DBaaS) Image and Version Selection Items - Service Information Input Enter or select the required information in the area.
Category Required or notDetailed description Server name Prefix Required Name of the server where the DB will be installed - Start with a lowercase English letter, and use lowercase letters, numbers, and the special character (
-) to input 3 to 13 characters
- Based on the server name, a postfix such as 001, 002 is attached to create the actual server name
Cluster Name Required Cluster name composed of DB servers - Enter using English letters, 3 to 20 characters
- A cluster is a unit that groups multiple servers
Service Type > Server Type Required Server type where DB will be installed - Standard: Standard specifications commonly used
- High Capacity: Large-capacity server of 24 vCore or more
- For detailed information about server types provided by MariaDB (DBaaS), refer to MariaDB(DBaaS) Server Type
Service Type > Planned Compute Select Status of resources with Planned Compute set - In Use: Number of resources with Planned Compute set that are currently in use
- Configured: Number of resources with Planned Compute set
- Coverage Preview: Amount applied by Planned Compute per resource
- Create Planned Compute Service: Go to the Planned Compute service application page
- For details, refer to Apply for Planned Compute
Service Type > Block Storage Required Block Storage settings used by DB according to purpose - Base OS: Area where the DB engine is installed
- DATA: Storage area for table data, archive files, etc.
- Select the storage type and then enter the capacity. (For detailed information 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 using Samsung Cloud Platform KMS (Key Management System) encryption keys
- The configured storage type is applied identically to additional storage
- Capacity must be entered as a multiple of 8 within the range 16 ~ 5,120
- Since large sorts during SQL execution or monthly batch processes can cause service interruptions, a separate TEMP storage must be allocated and used
- Select the storage type and then enter the capacity. (For detailed information on each Block Storage type, refer to Create Block Storage)
- Additional: Data storage areas for DATA, Archive, TEMP, Backup
- After selecting Use, enter the storage’s purpose and capacity
- The storage type is applied the same as set for DATA, and capacity can be entered as a multiple of 8 within the range 16 ~ 5,120
- Click the + button to add storage, and the x button to delete. Up to 9 can be added
- Temporarily store backup data in BACKUP storage before transmitting backup data
- If the data to be backed up exceeds 100 GB and changes frequently, it is recommended to add a separate BACKUP storage for reliable backup. It is advised to set the backup capacity to about 60% of the DATA capacity
- If a BACKUP storage is not added, using the
/tmparea is recommended
- For each service, only one Block Storage is allocated for Archive, TEMP, BACKUP
Redundancy Configuration Selection Redundancy Configuration Status - If redundancy configuration is used, the DB instance is configured as Active DB and Standby DB
Network > Common Settings Required Network settings where servers generated by the service are installed - Select if you want to apply the same settings to all servers being installed
- Select a pre‑created VPC, Subnet, IP, and Public NAT
- IP can only be auto‑generated
- The Public NAT feature is available only when the VPC is connected to an Internet Gateway. If you check Use, you can select a reserved IP from the VPC product’s Public IP. See Create Public IP for details.
Network > Server-specific Settings Required Network settings where servers generated by the service are installed - Select if you want to apply different settings per installed server
- Select a pre-created VPC, Subnet, IP, Public NAT
- Enter each server’s IP
- The Public NAT feature is available only when the VPC is connected to an Internet Gateway. If you check Use, you can select from reserved IPs in the VPC product’s Public IP. For more details, see Create Public IP.
IP Access Control Select Service Access Policy Settings - Since the access policy is set for the IP entered on the page, a separate Security Group policy setting is not required.
- Enter in IP format (e.g.,
192.168.10.1) or CIDR format (e.g.,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 Period Select DB Maintenance Period - Use is selected, set day of week, start time, and duration
- It is recommended to set a maintenance period for stable DB management. Patch work is performed at the set time, causing service interruption
- If set to not use, Samsung SDS is not responsible for issues arising from unapplied patches.
Table. MariaDB (DBaaS) Service Information Input Items - Start with a lowercase English letter, and use lowercase letters, numbers, and the special character (
- Database configuration required information input area, please enter or select the required information.
Category Required or notDetailed description Database name Required Server name applied when installing DB - Start with English letters, use English letters and numbers, input 3 ~ 20 characters
Database username Required DB 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 usernames can be checked in the Console
Database password Required Password to use when accessing the DB - Enter 8~30 characters including letters, numbers, and special characters (
“‘excluded)
Database Password Confirmation Required Re-enter the same password to be used when accessing the DB Database Port Number Required Port number required for DB connection - Enter DB port within the range 1,024 ~ 65,535
Backup > Use Select Whether to use backup - Select Use to set the backup file retention period, backup start time, and Archive backup cycle
Backup > Retention Period Select Backup retention period - Select backup retention period. File retention period can be set from 7 days to 35 days
- Backup files incur separate charges based on size
Backup > Backup Start Period Select Backup Start Time - Select backup start time
- The minutes (minutes) at which the backup runs are set randomly, and the backup end time cannot be set
Backup > Archive backup frequency Select Archive backup frequency - Select the Archive backup frequency
- Archive backup frequency is recommended at 1 hour. Selecting 5 minutes, 10 minutes, or 30 minutes may affect DB performance
Audit Log Settings Select Whether to store Audit Log - Enable를 선택하여 Audit Log 기능을 설정
- User connection information records are stored
- Users can specify the types of events to audit via the
server_audit_eventsparameter, and it can be modified through the Parameter screen
- Refer to the MariaDB documentation for details on this parameter
- Users can specify the types of events to audit via the
- Enabling Audit may degrade DB performance
- User connection information records are stored
Parameter Required Parameters to use in the DB - Lookup Click the button to view detailed information of the parameter
- Parameters can be modified after DB creation is complete, and after modification the DB must be restarted
DB character set Required Character encoding method to use for the DB - The character set used when storing text data, and the DB is created with this encoding set as the default.
Time zone Required Standard time zone to be used by the Database Table. MariaDB(DBaaS) Database configuration items - Additional Information Input area: enter or select the required information.
Category Required or notDetailed description Tag Select Add 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
- Please select the required information in the Image and version selection area.
- 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 Resource List page.
MariaDB(DBaaS) Check detailed information
MariaDB(DBaaS) service can view and edit the full resource list and detailed information. The MariaDB(DBaaS) Details page consists of Details, Tags, Activity Log tabs, and for DBs with a Replica configured, an additional Replica Information tab is included.
To view detailed information about the MariaDB (DBaaS) service, follow the steps below.
- All Services > Database > MariaDB(DBaaS) Click the menu. Navigate to the Service Home page of MariaDB(DBaaS).
- Click the MariaDB(DBaaS) menu on the Service Home page. You will be taken to the MariaDB(DBaaS) List page.
- Click the resource to view detailed information on the MariaDB(DBaaS) List page. You will be taken to the MariaDB(DBaaS) Details page.
- MariaDB(DBaaS) Details At the top of the page, status information and information about additional features are displayed.
Category Detailed description Cluster Status Cluster status with DB installed - Creating: Cluster is being created
- Editing: Cluster is being changed to operation execution state
- Error: Cluster encountered a failure while performing tasks
- If it occurs continuously, contact the administrator
- Failed: Cluster failed during creation
- Restarting: Cluster is being restarted
- Running: Cluster is operating normally
- Starting: Cluster is being started
- Stopped: Cluster is stopped
- Stopping: Cluster is being stopped
- Synchronizing: Cluster is being synchronized
- Terminating: Cluster is being deleted
- Unknown: Cluster status is unknown
- If it occurs continuously, contact the administrator
- Upgrading: Cluster is changing to upgrade execution state
Cluster Control Button to change 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
More additional features Cluster related management buttons - Service status synchronization: Real-time DB service status lookup
- Backup history: If backup is set, check whether backup runs normally and view history
- Database recovery: Recover DB based on a specific point in time
- Parameter management: DB configuration parameters can be queried and modified
- Replica configuration: Set up a read-only cluster called Replica
- DB user management: View and manage DB account (user) information registered in the DB
- DB access control management: Based on DB accounts registered in the DB, you can register and revoke allowed IPs
- Archive management: Can set archive file retention period and archive mode
- DB Log export: Through audit settings, stored logs can be exported to the user’s Object Storage
- Migration configuration: Provides migration functionality using replication method
Service termination Button to cancel the service 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 necessary, edit the information.
| Category | Detailed description |
|---|---|
| Server Information | Server information configured in the respective cluster
|
| Service | Service Name |
| Resource Type | Resource Type |
| SRN | Unique resource ID in Samsung Cloud Platform
|
| Resource Name | Resource Name
|
| Resource ID | Unique resource ID in the service |
| Creator | User who created the service |
| Creation time | Service creation time |
| Editor | User who modified the service information |
| Modification date/time | Date and time when the service information was modified |
| Image/Version | Installed DB image and version information
|
| Cluster Type | Cluster Type (Master Cluster, Replica Cluster, Migration Cluster) |
| Cluster Name | Name of the cluster composed of DB servers |
| Master Cluster Name | Master Cluster Name of the Replica
|
| Database name | Server name applied when installing DB |
| Database username | DB user name |
| Planned Compute | Resource status with Planned Compute set
|
| Maintenance Period | DB Maintenance Period Status
|
| Backup | Backup configuration status
|
| Audit Log Settings | Audit Log Settings Status
|
| Time zone | Standard time zone used by the Database |
| DB character set | character encoding method to be used in DB |
| VIP | Virtual IP information
|
| Network | Network information where DB is installed (VPC, Subnet, VIP, NAT IP(VIP)) |
| IP Access Control | Service Access Policy Settings
|
| Active & Standby | Active/Standby server type, default OS, additional Disk information
|
Replica Information
Replica Information tab is enabled only when a Replica is configured in the cluster. Replica Information tab allows you to check the master cluster name, number of replicas, and replica status.
| Category | Detailed description |
|---|---|
| Master Information | Name of Master Cluster |
| Replica count | Number of Replicas created in the Master cluster |
| Replica status | Replica server status created in the Master cluster
|
Tag
MariaDB(DBaaS) List page allows you to view the tag information of the selected resource, and you can add, modify, or delete it.
| Category | Detailed description |
|---|---|
| Tag List | Tag List
|
Work History
You can view the operation history of the selected resource on the MariaDB(DBaaS) List page.
| Category | Detailed description |
|---|---|
| Work History List | Resource Change History
|
MariaDB(DBaaS) Manage Resources
If you need to change or restore the existing configuration options of a created MariaDB (DBaaS) resource, or need a Replica configuration, you can perform the work on the MariaDB(DBaaS) Details page.
Control Operation
If changes occur to the running MariaDB (DBaaS) resources, you can start, stop, or restart them. Also, if HA is configured, you can switch the Active-Standby servers via Switch-over.
To control the operation of MariaDB (DBaaS), follow the steps below.
- All Services > Database > MariaDB(DBaaS) Click the menu. Navigate to the Service Home page of MariaDB(DBaaS).
- Click the MariaDB(DBaaS) menu on the Service Home page. Go to the MariaDB(DBaaS) list page.
- MariaDB(DBaaS) 목록 Click the resource to control operation. MariaDB(DBaaS) 상세 Navigate to the page.
- Check the status of MariaDB (DBaaS) and complete the change using the control button below.
- Start: The server where the DB service is installed and the DB service are 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 check the service status of MariaDB (DBaaS), follow the steps below.
- All Services > Database > MariaDB(DBaaS) Click the menu. Navigate to the Service Home page of MariaDB(DBaaS).
- Click the MariaDB(DBaaS) menu on the Service Home page. Navigate to the MariaDB(DBaaS) List page.
- Click the resource to view the service status on the MariaDB(DBaaS) List page. Move to the MariaDB(DBaaS) Details page.
- Click the Service Status Synchronization button. While it is being queried, the cluster changes to Synchronizing state.
- When the query is completed, the status in the server information item is updated, and the cluster changes to Running status.
Change Server Type
You can change the configured server type.
To change the server type, follow the steps below.
- Click the All Services > Database > MariaDB(DBaaS) menu. You will be taken to the Service Home page of MariaDB(DBaaS).
- Service Home page, click the MariaDB(DBaaS) menu. Navigate to the MariaDB(DBaaS) list page.
- MariaDB(DBaaS) List page, click the resource to change the server type. Move to the MariaDB(DBaaS) Details page.
- Click the Edit icon of the server type you want to change at the bottom of the detailed information. The Edit Server Type popup window will open.
- Edit Server Type After selecting the server type in the popup window, click the Confirm button.
Add Storage
If more than 5TB of data storage space is required, you can add storage. In the case of a redundant DB configuration, all redundant servers are added simultaneously.
- It will be applied the same way as the selected Storage type when creating the service.
- For a DB with redundancy configured, adding storage will be applied simultaneously to the storage of the Active DB and the Standby DB.
- If a Replica exists, the storage of the Master cluster cannot be larger than the storage of the Replica. Expand the Replica storage first, then expand the Master cluster storage.
- When adding Archive/Temp storage, the DB restarts and is temporarily unavailable.
To add storage, follow the steps below.
- Click the All Services > Database > MariaDB(DBaaS) menu. Navigate to the Service Home page of MariaDB(DBaaS).
- Service Home page, click the MariaDB(DBaaS) menu. Navigate to the MariaDB(DBaaS) list page.
- MariaDB(DBaaS) List Click the resource to add storage on the page. MariaDB(DBaaS) Details Navigate to the page.
- Click the Add Disk button at the bottom of the detailed information. The Add Storage Request popup window opens.
- Additional Storage Request In the popup window, after entering purpose and capacity, click the Confirm button.
Expanding Storage
You can expand the storage added to the data area up to a maximum of 5 TB based on the initially allocated capacity. In the case of a redundant DB configuration, all redundant servers are expanded simultaneously.
To increase storage capacity, follow the steps below.
- All Services > Database > MariaDB(DBaaS) Click the menu. Navigate to the Service Home page of MariaDB(DBaaS).
- Click the MariaDB(DBaaS) menu on the Service Home page. Navigate to the MariaDB(DBaaS) List page.
- Click the resource to change the server type on the MariaDB(DBaaS) List page. It moves to the MariaDB(DBaaS) Details page.
- Click the Edit icon of the additional Disk you want to add at the bottom of the detailed information. The Edit Additional Storage popup window opens.
- Add Storage Modification In the popup window, after entering the expansion capacity, click the Confirm button.
MariaDB(DBaaS) Cancel
You can cancel unused MariaDB (DBaaS) to reduce operating costs. However, if you cancel the service, the running service may be stopped immediately, so you should consider the impact of service interruption sufficiently before proceeding with the cancellation.
- In the case of a DB with a Replica configured, even if you terminate the Master DB, the Replica is not deleted together. If you also want to delete the Replica, please terminate it separately from the resource list.
- If you cancel the DB, stored data and, if backup was set, all backup data will be deleted.
To cancel MariaDB (DBaaS), follow the steps below.
- All Services > Database > MariaDB(DBaaS) Click the menu. Navigate to the Service Home page of MariaDB(DBaaS).
- Service Home page, click the MariaDB(DBaaS) menu. Navigate to the MariaDB(DBaaS) list page.
- MariaDB(DBaaS) List page, select the resource to cancel, and click the Cancel Service button.
- Once the termination is complete, check whether the resource has been terminated on the MariaDB(DBaaS) list page.
2.1 - MariaDB(DBaaS) server connection
Scenario Overview
The MariaDB(DBaaS) server connection scenario is a scenario where a Bastion host (Virtual Server) and Database service are created, and the DB service is accessed through the Bastion host. To access MariaDB (DBaaS) stably in the Samsung Cloud Platform environment, it is necessary to create a Bastion host and network connection using it. To maintain a stable and high level of security, it is recommended to configure the Database service in a Private Subnet environment and configure the Bastion host in a limited Public Subnet environment.
This scenario largely describes the process of creating a Bastion host and Database service, and configuring the network environment for Bastion host and Database connection, to connect through a DB access client.
Scenario Components
You can configure the scenario using the following services.
| Service Group | Service | Detailed Description | |
|---|---|---|---|
| Networking | VPC | A service that provides an independent virtual network in a cloud environment | |
| Networking | VPC > Subnet | A service that allows users to subdivide the network into smaller parts for their purpose/scale within the VPC | |
| Networking | VPC > Public IP | A service that reserves a public IP and assigns and returns it to Compute resources | |
| Networking | VPC > Internet Gateway | A service that connects VPC resources to the internet | |
| Networking | Security Group | A virtual firewall that controls the server’s traffic | |
| Database | MariaDB(DBaaS) | A service that easily creates and manages MariaDB in a web environment | |
| Compute | Virtual Server | Virtual server optimized for cloud computing | |
| Compute | Virtual Server > Keypair | Encryption file used to connect to Virtual Server |
Scenario composition method
To configure the scenario, create the necessary services through the following procedure.
1. Configuring the Network
This explains the process of configuring the network environment for Bastion Host and Database service connection.
1-1. Creating a VPC
- Click All services > Networking > VPC menu. It moves to the Service Home page of VPC.
- On the Service Home page, click the Create VPC button. It moves to the Create VPC page.
- VPC Creation page, please enter the information required for service creation.
- IP range should be entered as
192.168.x.0/16.
- IP range should be entered as
- In the Summary panel, review the detailed information and estimated charges, then click the Complete button.
- Once the creation is complete, check the created resource on the VPC List page.
1-2. Creating a Subnet
- Click All services > Networking > VPC menu. It moves to the Service Home page of VPC.
- Service Home page, click the Subnet menu. It moves to the Subnet list page.
- Click the Subnet Creation button. It moves to the Subnet Creation page.
- Subnet creation page where you enter the information needed to create a service.
- Subnet type should be selected as General.
- Please select a pre-created VPC.
- IP range should be entered as
192.168.x.0/24.
- In the Summary panel, review the detailed information and estimated charges, then click the Complete button.
- After creation is complete, check the created resource on the Subnet list page.
1-3. Creating an Internet Gateway
- Click All services > Networking > VPC menu. It moves to the Service Home page of VPC.
- Service Home page, click the Internet Gateway menu. It moves to the Internet Gateway list page.
- Click the Create Internet Gateway button. It moves to the Create Internet Gateway page.
- Internet Gateway creation page, please enter the required information necessary for service creation.
- Please select a pre-created VPC.
- Select Use in the Firewall usage item.
- In the Summary panel, review the detailed information and estimated charges, then click the Complete button.
- Once the creation is complete, check the created resource on the Internet Gateway list page.
1-4. Creating a Public IP
- Click All services > Networking > VPC menu. It moves to the Service Home page of VPC.
- Service Home page, click the Public IP menu. It moves to the Public IP list page.
- Public IP Reservation button, click. Move to the Public IP Reservation page.
- Public IP Reservation page, enter the required information necessary for service reservation.
- In the Summary panel, review the details generated and the expected charge amount, then click the Complete button.
- Once creation is complete, check the created resource on the Public IP List page.
1-5. Creating a Security Group
- Click All services > Networking > Security Group menu. It moves to the Service Home page of Security Group.
- Click the Security Group Creation button on the Service Home page. It moves to the Security Group Creation page.
- Security Group creation page, please enter the required information necessary for service creation.
- Check the input information and click the Complete button.
- After creation is complete, check the created resource on the Security Group list page
2. Creating a Bastion Host
This describes the process of configuring the Bastion Host where the database connection client should be installed.
2-1. Creating a Server Keypair
- Click All Services > Compute > Virtual Server menu. It moves to the Service Home page of Virtual Server.
- Service Home page, click the Keypair menu. It moves to the Keypair list page.
- Create Keypair button should be clicked. It moves to the Create Keypair page.
- Keypair creation page, please enter the required information necessary for service creation.
- Check the creation information and click the Complete button.
- The key can only be downloaded for the first time, and re-issuance is not provided.
- Please keep the downloaded key in a safe place.
2-2. Creating a Bastion Host
- Click All Services > Compute > Virtual Server menu. It moves to the Service Home page of Virtual Server.
- Click the Virtual Server Creation button on the Service Home page. It moves to the Virtual Server Creation page.
- Virtual Server Creation page, please enter the required information necessary for service creation.
- The image is Windows, please select.
- Please select a pre-created VPC and Subnet.
- Click NAT Use and select the Public IP reserved in 1-4. Creating Public IP.
- 2-1. Creating a server Keypair Connect the Keypair created from
- In the Summary panel, review the details generated and the expected charge amount, then click the Complete button.
- After creation is complete, check the created resource on the Virtual Server list page.
2-3. Check Bastion host connection ID and PW
- Click All Services > Compute > Virtual Server menu. It moves to the Service Home page of Virtual Server.
- Service Home page, click the Virtual Server menu. It moves to the Virtual Server list page.
- Virtual Serve list page, click on the resource created in 2-2. Creating a Bastion host. It moves to the detailed information page of the corresponding resource.
- Click the RDP password inquiry button in the Keypair item on the detailed information page. The RDP password inquiry popup window opens.
- RDP password inquiry popup window, attach the keypair file downloaded from 2-1. Creating a server keypair.
- After attaching, click the Password Check button. The ID and password required to access the resource will be displayed.
- The ID and Password will be used as information to access the Bastion host later, as described in 5-1. Bastion host 접속하기.
3. Creating a Database
It describes the process of creating a database service.
3-1. Creating the MariaDB (DBaaS) Service
- Click on the menu for all services > Database > MariaDB(DBaaS). It moves to the Service Home page of MariaDB(DBaaS).
- On the Service Home page, click the Create MariaDB(DBaaS) button. It moves to the Create MariaDB(DBaaS) page.
- MariaDB(DBaaS) creation page, please enter the required information needed for service creation.
- Select and connect the pre-created VPC and Subnet.
- Enter database-related creation information on the required information input screen.
- Add the Bastion host IP to the IP access control item.
- Database Port is 2866 by default, but you can specify it as you want.
- In the Summary panel, review the detailed information and estimated charges, then click the Complete button.
- Once the creation is complete, check the created resource on the MariaDB(DBaaS) list page.
4. Setting Rules
This describes the process of setting rules for users to access the Bastion host and for the Bastion host to access the Database.
4-1. Adding Security Group Security Rules
- Click on the menu for all services > Networking > Security Group. It moves to the Service Home page of Security Group.
- Service Home page, click the Security Group menu. Move to the Security Group list page.
- 1-5. Creating a Security Group Select the Security Group resource created from. It will move to the detailed information page of the corresponding resource.
- Click the Rules tab on the detailed information page. It moves to the Rules tab.
- Click the Rule tab and click the Add Rule button. It moves to the Add Rule popup window.
- Add Rule In the popup window, enter the rules below and click the OK button
| Direction | Remote | Destination Address | Protocol | Port | Description |
|---|---|---|---|---|---|
| Inbound | CIDR | User PC IP | TCP | 3389 (RDP) | Bastion access PC → Bastion host |
| Outbound | CIDR | DB IP | TCP | Database Port (direct input) | Bastion host → Database |
4-2. Adding IGW Firewall Rules
- Click All services > Networking > Firewall menu. It moves to the Service Home page of Firewall.
- Service Home page, click the Firewall menu. It moves to the Firewall list page.
- Firewall list page, select the Internet Gateway resource name created in 1-3. Creating Internet Gateway, and move to the detailed information page of the corresponding resource.
- Click the Rules tab on the detailed information page. It moves to the Rules tab.
- Rule tab, click the Add Rule button. It moves to the Add Rule popup window.
- Add Rule In the popup window, enter the rules below and click the OK button.
| Departure Address | Destination Address | Protocol | Port | Action | Direction | Description |
|---|---|---|---|---|---|---|
| Bastion access PC IP | Bastion host IP | TCP | 3389(RDP) | Allow | Inbound | User PC → Bastion host |
| Fig. Internet Gateway Firewall rules to be added |
5. Connecting to the Database
This describes the process of a user accessing the Database through a DB connection client program.
This guide provides instructions on how to connect using MySQL Workbench. There are various database client programs and CLI utilities, so you can also install and use the tools that are suitable for users.
5-1. Connect to Bastion host
- Run Remote Desktop Connection in the Windows environment of the PC you want to connect to the Bastion host, enter the NAT IP of the Bastion Host, and click the Connect button.
- After a successful remote desktop connection, the User Credential Input Window opens. Enter the ID and Password confirmed in 2-3. Checking Bastion Host Access ID and PW and click the Confirm button.
5-2. Installing DB connection client program (MySQL Workbench) on the Bastion host
- Go to the official MySQL page and download the MySQL Workbench program.
- MySQL Workbench program download path: https://dev.mysql.com/downloads/workbench
- Connect the hard drive of the user’s PC to upload the file to the Bastion host.
- Click the Details button for local devices and resources entries in the Local Resources tab of Remote Desktop Connection.
- Select the local disk where the file was downloaded to the drive and click the Confirm button.
- Copy the downloaded file and upload it to the Bastion Host, then click the MySQL Workbench installation file to install it.
5-3. Using DB connection client program (MySQL Workbench) to connect to the Database
- Run MySQL Workbench and click Database > Manage connections. The Manage Server Connection popup window will appear.
- Manage Server Connection popup window, click the New button at the bottom left and enter the database server information created in 3-1. MariaDB(DBaaS) service creation, then click the Test Connection button. A Password popup window will appear.
Required Input Element Items Input Value Connection Name Custom (ex. Service Name) Host name Database server IP Port Database Port Username Database user name DB connection client program input items - Password popup window, enter the password set in 3-1. MariaDB(DBaaS) service creation and click the OK button. When the success is complete, click the OK button in the Manage Server Connection popup window.
- Database > Connect to Database를 클릭하세요. Connect to Database popup window will appear.
- Select the Connection Name registered in Stored Connection to perform database connection. After connection, you can try simple queries, etc.
2.2 - Managing DB Services
Users can manage MariaDB (DBaaS) through the Samsung Cloud Platform Console.
Managing Parameters
It provides a feature to easily view and modify database configuration parameters.
Viewing Parameters
To view configuration parameters, follow these steps:
- Click the All Services > Database > MariaDB (DBaaS) menu. You will be taken to the Service Home page of MariaDB (DBaaS).
- Click the MariaDB (DBaaS) menu on the Service Home page. You will be taken to the MariaDB (DBaaS) List page.
- Click the resource you want to view and modify parameters on the MariaDB (DBaaS) List page. You will be taken to the MariaDB (DBaaS) Details page.
- Click the More button and then click the Parameter Management button. The Parameter Management popup window will open.
- Click the View button in the Parameter Management popup window. The View Notification popup window will open.
- When the View Notification popup window opens, click the OK button. It may take some time to view.
Modifying Parameters
To modify configuration parameters, follow these steps:
- Click the All Services > Database > MariaDB (DBaaS) menu. You will be taken to the Service Home page of MariaDB (DBaaS).
- Click the MariaDB (DBaaS) menu on the Service Home page. You will be taken to the MariaDB (DBaaS) List page.
- Click the resource you want to view and modify parameters on the MariaDB (DBaaS) List page. You will be taken to the MariaDB (DBaaS) Details page.
- Click the More button and then click the Parameter Management button. The Parameter Management popup window will open.
- Click the View button in the Parameter Management popup window. The View Notification popup window will open.
- When the View Notification popup window opens, click the OK button. It may take some time to view.
- If modification is necessary, click the Modify button and enter the modification contents in the custom value area of the parameter to be modified.
- When the input is complete, click the Save button.
Managing DB Users
It provides a management feature that allows you to view DB user information and change status information.
Viewing DB Users
To view DB users, follow these steps:
- Click the All Services > Database > MariaDB (DBaaS) menu. You will be taken to the Service Home page of MariaDB (DBaaS).
- Click the MariaDB (DBaaS) menu on the Service Home page. You will be taken to the MariaDB (DBaaS) List page.
- Click the resource you want to view DB users on the MariaDB (DBaaS) List page. You will be taken to the MariaDB (DBaaS) Details page.
- Click the More button and then click the DB User Management button. You will be taken to the DB User Management page.
- Click the View button on the DB User Management page. It may take some time to view.
Changing DB User Status
To change the status of the viewed DB user, follow these steps:
- Click the All Services > Database > MariaDB (DBaaS) menu. You will be taken to the Service Home page of MariaDB (DBaaS).
- Click the MariaDB (DBaaS) menu on the Service Home page. You will be taken to the MariaDB (DBaaS) List page.
- Click the resource you want to modify DB users on the MariaDB (DBaaS) List page. You will be taken to the MariaDB (DBaaS) Details page.
- Click the More button and then click the DB User Management button. You will be taken to the DB User Management page.
- Click the View button on the DB User Management page. It may take some time to view.
- If modification is necessary, click the Modify button and change the status value or enter notes.
- When the input is complete, click the Save button.
Managing DB Access Control
It provides an IP-based DB user access control management feature. Users can directly specify the IP that can access the database, allowing only authorized IPs to access.
Viewing DB Access Control
To view DB users with IP access control set, follow these steps:
- Click the All Services > Database > MariaDB (DBaaS) menu. You will be taken to the Service Home page of MariaDB (DBaaS).
- Click the MariaDB (DBaaS) menu on the Service Home page. You will be taken to the MariaDB (DBaaS) List page.
- Click the resource you want to manage access control on the MariaDB (DBaaS) List page. You will be taken to the MariaDB (DBaaS) Details page.
- Click the More button and then click the DB Access Control Management button. You will be taken to the DB Access Control Management page.
- Click the View button on the DB Access Control Management page. It may take some time to view.
Adding DB Access Control
To add IP access control, follow these steps:
- Click the All Services > Database > MariaDB (DBaaS) menu. You will be taken to the Service Home page of MariaDB (DBaaS).
- Click the MariaDB (DBaaS) menu on the Service Home page. You will be taken to the MariaDB (DBaaS) List page.
- Click the resource you want to add IP access control on the MariaDB (DBaaS) List page. You will be taken to the MariaDB (DBaaS) Details page.
- Click the More button and then click the DB Access Control Management button. You will be taken to the DB Access Control Management page.
- Click the View button on the DB Access Control Management page. It may take some time to view.
- When the view is complete, click the Add button. The DB Access Control Add popup window will open.
- In the DB Access Control Add popup window, select the DB user name and enter the IP address.
- When the input is complete, click the Save button.
Deleting DB Access Control
To delete IP access control, follow these steps:
- All Services > Database > MariaDB(DBaaS) menu, click. Move to the Service Home page of MariaDB(DBaaS).
- On the Service Home page, click the MariaDB(DBaaS) menu. Move to the MariaDB(DBaaS) list page.
- On the MariaDB(DBaaS) list page, click the resource for which you want to delete IP access control. Move to the MariaDB(DBaaS) details page.
- Click the More button and then click the DB Access Control Management button. Move to the DB Access Control Management page.
- On the DB Access Control Management page, click the Inquire button. It takes some time to inquire.
- Once the inquiry is complete, click the Delete button. The Delete pop-up window opens.
- In the Delete pop-up window, click the Confirm button.
Managing Archives
The Archive mode setting and Archive Log storage period setting functions are provided to allow users to flexibly set the Archive log management policy according to their operating environment. In addition, the function to manually delete Archive logs is provided together, allowing users to clean up unnecessary log data and effectively manage system resources.
Setting Archive Mode
To set the Archive mode, follow these steps:
- All Services > Database > MariaDB(DBaaS) menu, click. Move to the Service Home page of MariaDB(DBaaS).
- On the Service Home page, click the MariaDB(DBaaS) menu. Move to the MariaDB(DBaaS) list page.
- On the MariaDB(DBaaS) list page, click the resource for which you want to set the Archive mode. Move to the MariaDB(DBaaS) details page.
- Click the More button and then click the Archive Settings Management button. Move to the Archive Settings Management page.
- On the Archive Settings Management page, click the Inquire button. It takes some time to inquire.
- Click the Modify button and select the usage and storage period.
- Once the modification is complete, click the Save button.
Deleting Archive Files
To delete Archive files, follow these steps:
- All Services > Database > MariaDB(DBaaS) menu, click. Move to the Service Home page of MariaDB(DBaaS).
- On the Service Home page, click the MariaDB(DBaaS) menu. Move to the MariaDB(DBaaS) list page.
- On the MariaDB(DBaaS) list page, click the resource for which you want to set the Archive mode. Move to the MariaDB(DBaaS) details page.
- Click the More button and then click the Archive Settings Management button. Move to the Archive Settings Management page.
- On the Archive Settings Management page, click the Delete All Archives button to delete all Archive files, or click the Delete Backed-up Archives button to delete only the backed-up Archive files.
Exporting DB Logs
Supports exporting log data that requires long-term storage among audit logs to Object Storage. Users can directly set the type of log to be stored, the target bucket to be exported, and the cycle of exporting logs. According to the set criteria, logs are copied to the specified Object Storage for storage. In addition, an option to automatically delete the original log file while exporting logs to Object Storage is provided to efficiently manage disk space. By utilizing this option, users can safely store necessary log data for a long time while effectively securing storage capacity.
- To use the DB Log export function, Object Storage creation is required. Refer to the Object Storage User Guide for Object Storage creation.
- Be sure to check the expiration date of the authentication key. If the authentication key expires, logs will not be stored in the bucket.
- Be careful not to expose authentication key information to the outside.
Setting DB Log Export Mode
To set the DB Log export mode, follow these steps:
- All Services > Database > MariaDB(DBaaS) menu, click. Move to the Service Home page of MariaDB(DBaaS).
- On the Service Home page, click the MariaDB(DBaaS) menu. Move to the MariaDB(DBaaS) list page.
- On the MariaDB(DBaaS) list page, click the resource for which you want to export DB logs. Move to the MariaDB(DBaaS) details page.
- Click the More button and then click the DB Log Export button. Move to the DB Log Export page.
- On the DB Log Export page, click the Registration button. Move to the DB Log Export Registration page.
- On the DB Log Export Registration page, enter the corresponding information and click the Save button.
| Category | Required | Detailed Description |
|---|---|---|
| Log Type | Required | Type of log to be stored |
| Storage Bucket Name | Required | Name of the Object Storage bucket to be stored |
| Authentication Key > Access Key | Required | Access key to access the Object Storage to be stored |
| Authentication Key > Secret Key | Required | Secret key to access the Object Storage to be stored |
| File Creation Cycle | Required | Cycle of creating files in Object Storage |
| Original Log Deletion | Optional | Whether to delete the original log when exporting to Object Storage |
Managing DB Log Export
To modify, cancel, or immediately export DB log export settings, follow these steps:
- All Services > Database > MariaDB(DBaaS) menu, click. Move to the Service Home page of MariaDB(DBaaS).
- On the Service Home page, click the MariaDB(DBaaS) menu. Move to the MariaDB(DBaaS) list page.
- On the MariaDB(DBaaS) list page, click the resource for which you want to manage DB log export. Move to the MariaDB(DBaaS) details page.
- Click the More button and then click the DB Log Export button. Move to the DB Log Export page.
- On the DB Log Export page, click the More button according to the log type you want to manage, and then click the Immediate Export, Modify, or Cancel button.
- Immediate Export: Exports the selected log to the Object Storage bucket set earlier.
- Modify: Modifies the DB log export mode setting.
- Cancel: Cancels the DB log export mode setting.
Upgrading DB Version
Provides a version upgrade function due to some feature improvements and security patches. Only minor version upgrades are supported within the same major version.
- Please perform version upgrades after checking the service status through service status synchronization.
- Please set up backups before performing version upgrades. If backups are not set, some data may not be recoverable in case of problems during the upgrade.
- In DBs with replicas configured, the master DB version cannot be higher than the replica version. Please check the replica version first and perform version upgrades as needed.
- Backed-up data will be automatically deleted after the version upgrade is complete.
To upgrade the version, follow the procedure below.
- Click the All Services > Database > MariaDB(DBaaS) menu. It moves to the Service Home page of MariaDB(DBaaS).
- Click the MariaDB(DBaaS) menu on the Service Home page. It moves to the MariaDB(DBaaS) list page.
- Click the resource to be upgraded on the MariaDB(DBaaS) list page. It moves to the MariaDB(DBaaS) details page.
- Click the Modify button in the image/version item. The version upgrade popup window opens.
- In the version upgrade popup window, select the version to be modified and the backup setting, and then click the Confirm button.
- Click the Confirm button in the version upgrade notification popup window.
Configuring Migration
It provides a migration function that synchronizes with the operating database in real-time and replicates in a replication manner without interrupting the service.
To configure the migration, follow the procedure below.
- Click the All Services > Database > MySQL(DBaaS) menu. It moves to the Service Home page of MySQL(DBaaS).
- Click the MySQL(DBaaS) menu on the Service Home page. It moves to the MySQL(DBaaS) list page.
- Click the resource to be migrated on the MySQL(DBaaS) list page. It moves to the MySQL(DBaaS) details page.
- Click the More button to click the Configure Migration button. The Configure Migration popup window opens.
- In the Configure Migration popup window, check the instructions and click the Confirm button. It moves to the Configure Migration page.
- On the Configure Migration page, enter the corresponding information and click the Connect Check button.
- When the connection is complete, click the Complete button.
| Classification | Required | Detailed Description |
|---|---|---|
| Source DB Database Name | Required | Database name of the source DB that is the migration target |
| Source DB IP | Required | IP of the source DB that is the migration target |
| Source DB Port | Required | Port of the source DB that is the migration target |
| Source DB User Name | Required | User name of the source DB that is the migration target |
| Source DB Password | Required | Password of the source DB that is the migration target |
The configured migration cluster can be promoted to a master cluster.
To promote the migration cluster to a master, follow the procedure below.
- Click the All Services > Database > MySQL(DBaaS) menu. It moves to the Service Home page of MySQL(DBaaS).
- Click the MySQL(DBaaS) menu on the Service Home page. It moves to the MySQL(DBaaS) list page.
- Click the resource to be promoted to a master on the MySQL(DBaaS) list page. It moves to the MySQL(DBaaS) details page.
- Click the More button to click the Promote to Master button. The Master Promotion Notification popup window opens.
- Click the Confirm button in the Master Promotion Notification popup window.
2.3 - DB Backup and Recovery
The user can set up a backup of MariaDB(DBaaS) through the Samsung Cloud Platform Console and restore it with the backed-up file.
Backing up MariaDB(DBaaS)
PostgreSQL(DBaaS) provides a data backup feature based on its own backup command, and also provides an optimized backup environment for data protection and management through backup history checking and backup file deletion functions.
Setting up backup
The backup setting method of MariaDB(DBaaS) is referred to MariaDB(DBaaS) creation.
To modify the backup settings of the created resource, follow these steps.
- For stable backup, it is recommended to add a separate BACKUP storage or sufficiently increase the storage capacity. Especially when the backup target data exceeds 100 GB and there are many data changes, please secure additional storage equivalent to about 60% of the data capacity. For storage addition and expansion methods, please refer to the MariaDB(DBaaS) Add Storage, MariaDB(DBaaS) Expand Storage guides. If backup is set, backup is performed at the specified time after the set time, and additional fees are incurred depending on the backup capacity.
- If the backup setting is changed to unset, the backup operation will be stopped immediately, and the saved backup data will be deleted and can no longer be used.
- All Services > Database > MariaDB(DBaaS) menu is clicked. It moves to the Service Home page of MariaDB(DBaaS).
- Service Home page, click the MariaDB(DBaaS) menu. Move to the MariaDB(DBaaS) list page.
- MariaDB(DBaaS) list page, click the resource to set the backup. Move to the MariaDB(DBaaS) details page.
- Click the Edit button of the backup item. The Backup Settings popup window opens.
- If you set up a backup, click Use in the Backup Settings popup window, select the retention period, backup start time, and Archive backup cycle, and then click the OK button.
- If you want to stop the backup setting, uncheck Use in the Backup Setting popup window and click the OK button.
Check backup history
To check the backup history, follow these steps.
- Click All Services > Database > MariaDB(DBaaS) menu. It moves to the Service Home page of MariaDB(DBaaS).
- On the Service Home page, click the MariaDB(DBaaS) menu. It moves to the MariaDB(DBaaS) list page.
- MariaDB(DBaaS) list page, click the resource to check the backup history. It moves to the MariaDB(DBaaS) details page.
- Click the Backup History button. The Backup History popup window opens.
- Backup History popup window where you can check the backup status, version, backup start time, backup completion time, and capacity.
Deleting backup files
To delete a backup file, follow these steps.
- All Services > Database > MariaDB(DBaaS) menu is clicked. It moves to the Service Home page of MariaDB(DBaaS).
- On the Service Home page, click the MariaDB(DBaaS) menu. It moves to the MariaDB(DBaaS) list page.
- MariaDB(DBaaS) list page, click the resource to check the backup history. It moves to the MariaDB(DBaaS) details page.
- Click the Backup History button. The Backup History popup window opens.
- In the Backup History popup window, check the files you want to delete and click the Delete button.
Restore MariaDB(DBaaS)
In the event of a failure or data loss that requires restoration from a backup file, recovery is possible based on a specific point in time through the recovery function. When performing MariaDB (DBaaS) recovery, a new server is created with the OS image at the initial provisioning time, and the DB is installed with the version at the backup point in time, and the recovery proceeds with the DB configuration information and data.
To restore MariaDB(DBaaS), follow these procedures.
- Click All Services > Database > MariaDB(DBaaS) menu. It moves to the Service Home page of MariaDB(DBaaS).
- Service Home page, click the MariaDB(DBaaS) menu. Move to the MariaDB(DBaaS) list page.
- MariaDB(DBaaS) list page, click the resource you want to restore. Move to the MariaDB(DBaaS) details page.
- Database Recovery 버튼을 클릭하세요. Database Recovery 페이지로 이동합니다.
- After entering information in the database recovery configuration area, click the Complete button.
| Classification | Necessity | Detailed Description |
|---|---|---|
| Recovery Type | Required | Set the point in time to recover
|
| Server name prefix | Required | Server name of the recovery DB
|
| Cluster Name | Required | Cluster name of the recovery DB
|
| Service Type > Server Type | Required | Server type where the recovery DB will be installed
|
| Service Type > Planned Compute | Selection | Current status of resources with Planned Compute set
|
| Service Type > Block Storage | Required | Block Storage settings used by the recovery DB
|
| Database username | required | Database username set in the original DB |
| Database Port number | required | Database Port number set in the original DB |
| IP Access Control | Select | IP address to access the recovery DB
|
| Maintenance period | Selection | DB maintenance period
|
| tag | selection | add tag
|
2.4 - Configuring Read Replica
Users can create a Read Replica by entering the required information through the Samsung Cloud Platform Console and configuring detailed options.
Configuring Replica
Replica configuration allows you to create a read-only replica server. You can create up to 5 replicas per database.
To configure a replica, follow these steps:
- Click All Services > Database > MariaDB(DBaaS). This will take you to the MariaDB(DBaaS) Service Home page.
- Click MariaDB(DBaaS) on the Service Home page. This will take you to the MariaDB(DBaaS) list page.
- Click the resource you want to configure a replica for on the MariaDB(DBaaS) list page. This will take you to the MariaDB(DBaaS) details page.
- Click the Replica Configuration button. This will take you to the Replica Configuration page.
- Enter the information in the replica configuration area and click the Complete button.
| Category | Required | Detailed Description |
|---|---|---|
| Number of Replicas | Required | The number of replicas to configure
|
| Replica Name | Required | The name of the replica server
|
| Service Type > Server Type | Required | The type of replica server
|
| Service Type > Planned Compute | Optional | The current status of resources with Planned Compute set
|
| Service Type > Block Storage | Required | Block storage settings for the replica DB
|
| IP Access Control | Optional | Service access policy setting
|
| Maintenance Period | Optional | DB maintenance period
|
Reconfiguring Replica
If a network failure or replication delay occurs between the master cluster and the replica, you can reconfigure the replica to re-replicate the master cluster’s data.
To reconfigure a replica, follow these steps:
- Click All Services > Database > MariaDB(DBaaS). This will take you to the MariaDB(DBaaS) Service Home page.
- Click MariaDB(DBaaS) on the Service Home page. This will take you to the MariaDB(DBaaS) list page.
- Click the resource you want to reconfigure a replica for on the MariaDB(DBaaS) list page. This will take you to the MariaDB(DBaaS) details page.
- Click the Reconfigure Replica button. The Reconfigure Replica notification popup will open.
- Click the Confirm button in the Reconfigure Replica notification popup.
Promoting Replica Cluster to Master
You can promote a configured replica cluster to a master cluster.
To promote a replica cluster to a master, follow these steps:
- Click All Services > Database > MariaDB(DBaaS). This will take you to the MariaDB(DBaaS) Service Home page.
- Click MariaDB(DBaaS) on the Service Home page. This will take you to the MariaDB(DBaaS) list page.
- Click the resource you want to promote to a master on the MariaDB(DBaaS) list page. This will take you to the MariaDB(DBaaS) details page.
- Click the More button and then click the Promote to Master button. The Promote to Master notification popup will open.
- Click the Confirm button in the Promote to Master notification popup.
3 - API Reference
4 - CLI Reference
5 - Release Note
MariaDB(DBaaS)
- MariaDB(DBaaS) feature added
- 2nd generation server type added
- Intel 4th generation (Sapphire Rapids) processor-based 2nd generation (db2) server type added. For more information, see MariaDB(DBaaS) server type
- DB user and access control management and Archive setting function added
- For more information, see DB User Management, DB Access Control Management, Archive Management
- DB Audit Log Export feature added
- For more detailed information, please refer to DB Log Export
- Backup Notification Feature provided
- Provides notification features for backup success and failure. For more information, see Creating a Notification Policy
- Migration feature added
- Provides a Migration function that replicates the database in the Samsung Cloud Platform environment in Replication mode. For more information, see Configuring Migration
- Block Storage type added HDD, HDD_KMS type
- Migration feature added
- MariaDB(DBaaS) feature change
- 2nd generation server type added
* Added 2nd generation (dbh2) server type based on Intel 4th generation (Sapphire Rapids) processor. For more information, see MariaDB(DBaaS) server type
- After creating a service, it is possible to increase the Block Storage capacity that has been set.
- The server-based network IP setting function has been added, allowing for common settings or server-based settings according to the purpose of use.
- Samsung Cloud Platform common feature changes
- Account, IAM and Service Home, tags, etc. reflected common CX changes.
- Block Storage type has an option to select encrypted storage for volume added
- A feature that can switch the role (Active ↔ Standby) of Active DB and Standby DB composed of duplication has been added.
- Cloud monitoring service is linked, so DB instance performance and log monitoring are possible.
- Depending on the server type selected by the customer, Planned Compute policy settings are possible.
- A MariaDB(DBaaS) service that can easily create and manage MariaDB in a web environment has been released.

