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 MySQL (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 March 2026 service improvement work are provided with default monitoring using the ServiceWatch service.
    • Existing resources: After the service improvement work in September 2026 We provide monitoring concurrently through the Cloud Monitoring service and the ServiceWatch service.
    • During the parallel operation period, we need to prepare for the Servicewatch transition. *
      Performance and log data backup, settings configured by users linked with existing Cloud Monitoring (ex. Check the event policy, etc., and perform tasks such as resetting the ServiceWatch service, then complete them.
  2. Cloud Monitoring Service Phased 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 November service termination, Cloud Monitoring data cannot be accessed. * Be sure to complete the ServiceWatch migration within the parallel operation period**

Detailed information about ServiceWatch can be found in ServiceWatch 개요.

MySQL(DBaaS) Create

You can create and use a MySQL (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 MySQL (DBaaS), follow the steps below.

  1. All Services > Database > MySQL(DBaaS) Click the menu. 1. Navigate to the Service Home page of MySQL (DBaaS).
  2. On the Service Home page, click the MySQL(DBaaS) Create button. 2. Create MySQL (DBaaS) Navigate to the page.
  3. MySQL(DBaaS) Creation 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 a list of MySQL (DBaaS) versions
      Table. MySQL (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 special characters (-) be entered with 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 composed 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 specification commonly used
      • High Capacity: Large-capacity server with 24vCore or more
      Service Type > Planned ComputeSelectionPlanned Compute가 설정된 자원 현황
      • 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
      Service Type > Block StorageRequiredBlock Storage settings used by the DB according to purpose
      • Base 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 (see Block Storage 생성하기 for details on each Block Storage type)
          • 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
        • Capacity must be entered as a multiple of 8 within the range 16–5,120
        • Since 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 click 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 there is insufficient capacity
        • For each service, Archive, TEMP, and BACKUP storages are allocated only one Block Storage each
      Redundant configurationSelectionRedundancy configuration status
      • When redundancy configuration is used, the DB instance is set up as an Active DB and a Standby DB
      Network > Common SettingsRequiredNetwork settings for servers deployed by the service
      • Select when you want to apply the same settings to all deployed 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. If you check Use, you can select from reserved IPs in the VPC product’s Public IP. For more information, 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 information, see 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 the IP 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 IP
      Maintenance periodSelectionDB maintenance window
      • If you select Use, set the day, start time, and duration
      • The maintenance window is a feature that lets the user define the time slot for performing patch operations, and any patch work within that period must be carried out 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. MySQL(DBaaS) service configuration items
    • Enter required database configuration information In this section, enter or select the necessary information.
      Category
      Required
      Detailed description
      Database nameRequiredServer name applied when installing DB
      • Starts with an English letter and uses English letters and numbers, entered in 3 to 20 characters
      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 DB port within the range 1200 ~ 65535
      Backup > UseSelection:Backup usage
      • Select Use to set the 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 minute(s) (minutes) at which the backup runs is set randomly, and the backup end time cannot be set
      Backup > Archive backup scheduleSelectionArchive backup interval
      • Select the Archive backup interval
      • The Archive backup interval is recommended at 1 hour. Selecting 5 minutes, 10 minutes, or 30 minutes may affect DB performance
      ParameterRequiredParameters for the DB
      • View button can be clicked to view the parameter’s detailed information
      • Parameters can be modified after the DB creation is complete, and the DB must be restarted after modification
      DB character setRequiredCharacter encoding to use for the DB
      Table case sensitivitySelectionCase sensitivity of DB table
      Time zoneRequiredStandard time zone used by the database
      ServiceWatch log collectionSelectionServiceWatch log collection status
      • Select Use to configure the ServiceWatch log collection feature
      • It is provided free of charge up to 5 GB for all services within the Account, and charges apply based on storage size for usage exceeding 5 GB.
      • When collected, log groups and log streams are created automatically, and they cannot be deleted until the resource is removed.
      • To prevent exceeding 5 GB, direct deletion of log data or shortening the retention period is recommended.
      Table. MySQL(DBaaS) Database configuration items
    • In the Additional Information Input area, enter or select the required information.
      Category
      Required status
      Detailed description
      tagSelectionAdd Tag
      • Up to 50 can be added per resource
      • Add Tag button, then enter or select Key, Value values
      Table. MySQL (DBaaS) additional information input fields
  4. Summary Check the detailed information and estimated charges generated in the panel, and click the Create button.
    • Once creation is complete, verify the created resource on the Resource List page.

Check MySQL(DBaaS) detailed information

The MySQL (DBaaS) service allows you to view and edit the entire resource list and detailed information. MySQL(DBaaS) Details page consists of the Details, Tags, Activity History tabs, and for databases with a Replica configured, the Replica Information tab is added.

To view detailed information about the MySQL (DBaaS) service, follow these steps.

  1. All Services > Database > MySQL(DBaaS) Click the menu. 1. Navigate to the Service Home page of MySQL(DBaaS).
  2. On the Service Home page, click the MySQL(DBaaS) menu. 2. MySQL(DBaaS) List Navigate to the page.
  3. On the MySQL(DBaaS) List page, click the resource to view detailed information. 3. MySQL(DBaaS) Details Go to the page.
    • MySQL(DBaaS) Details At the top of the page, status information and information about additional features are displayed.
      CategoryDetailed description
      Cluster statusCluster status with DB installed
      • Creating: Cluster is being created
      • Editing: Cluster is being changed to an operational state
      • Error: Cluster encountered a failure while performing a task
        • If it occurs continuously, contact the administrator
      • Failed: Cluster failed during creation
      • Restarting: Cluster is restarting
      • Running: Cluster is operating normally
      • Starting: Cluster is starting
      • Stopped: Cluster is stopped
      • Stopping: Cluster is being stopped
      • Synchronizing: Cluster is synchronizing
      • Terminating: Cluster is being terminated
      • Unknown: Cluster status is unknown
        • If it occurs continuously, contact the administrator
      • Upgrading: Cluster is being upgraded
      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-related management buttons
      • Service status synchronization: Real-time DB service status lookup
      • Backup history: If backup is configured, check whether it runs correctly and view its history
      • Database recovery: Recover the DB based on a specific point in time
      • Parameter management: Ability to view and modify DB configuration parameters
      • Replica configuration: Set up 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 management: Set archive file retention periods 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 replication
      • Block Storage usage management: Provides usage query functionality per Block Storage type
      • OS (Kernel) upgrade: Upgrade the OS kernel version
      Service cancellationCancel service button
      Table. MySQL (DBaaS) status information and additional features

Detailed Information

MySQL(DBaaS) List page allows you to view detailed information of the selected resource and edit the information if needed.

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
  • Status: Server status
serviceService name
Resource TypeResource Type
SRNUnique resource ID in Samsung Cloud Platform
  • In the DB service, it refers to 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 DB servers
Master cluster nameReplica’s Master cluster name
  • If it is the Replica’s detailed information, it can be confirmed
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 you need to configure backup, click the Edit icon to set it
  • If you need an immediate backup, click the Immediate Backup button to set it
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 setEncoding method to be used for the DB
Table case sensitivityCase sensitivity of DB table
Time zoneStandard time zone used by the database
VIPVirtual IP information
  • can be checked only when high availability is configured
NetworkNetwork information of the DB installation (VPC, Subnet, VIP, NAT IP(VIP))

| Service access policy configuration

  • If you need to add or remove an IP, click the Edit icon to configure
| | Active & Standby | Active/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. Refer to the server type modification procedure in 서버 타입 변경하기
    • 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. Refer to the storage expansion procedure in 스토리지 증설하기
  • If you need to add storage, click the Add Disk button next to the additional Disk to add it. Refer to the storage addition procedure in 스토리지 추가하기
|

Table. MySQL (DBaaS) Database detailed information items

Replica information

Replica information tab is enabled only when a Replica is configured in the cluster. Replica information tab allows you to view the Master cluster name, replica count, and 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

MySQL(DBaaS) List page lets you view the tag information of the selected resource, and you can add, change, 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. MySQL (DBaaS) tag tab item

Job History

On the MySQL(DBaaS) List page, you can 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 check
Table. Work History tab detailed information items

MySQL(DBaaS) Managing Resources

If you need to change or restore the existing configuration options of a created MySQL(DBaaS) resource, or require a Replica configuration, you can perform the task on the MySQL(DBaaS) Detailed Information page.

Operation Control

If changes occur to a running MySQL (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 MySQL (DBaaS), follow the steps below.

  1. Click the All Services > Database > MySQL(DBaaS) menu. 1. Go to the Service Home page of MySQL (DBaaS).
  2. On the Service Home page, click the MySQL(DBaaS) menu. 2. MySQL(DBaaS) List Navigate to the page.
  3. MySQL(DBaaS) List On the page, click the resource to control its operation. 3. MySQL(DBaaS) Details Go to the page.
  4. Check the MySQL (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 MySQL (DBaaS).

To view the service status of MySQL(DBaaS), follow these steps.

  1. Click the All Services > Database > MySQL(DBaaS) menu. 1. Navigate to the Service Home page of MySQL (DBaaS).
  2. On the Service Home page, click the MySQL(DBaaS) menu. 2. MySQL(DBaaS) List Navigate to the page.
  3. MySQL(DBaaS) List On the page, click the resource to view the service status. 3. MySQL(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 Running state.

Change Server Type

You can change the configured server type.

To change the server type, follow these steps.

Caution
  • If you modify the server type, a server restart is required. * Please separately verify any SW license modifications or SW settings and their implementation due to spec changes.
  1. Click the All Services > Database > MySQL(DBaaS) menu. 1. Navigate to the Service Home page of MySQL(DBaaS).
  2. On the Service Home page, click the MySQL(DBaaS) menu. 2. MySQL(DBaaS) List Navigate to the page.
  3. MySQL(DBaaS) List page, click the resource whose server type you want to change. 3. Navigate to the MySQL(DBaaS) Details 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. Edit Server Type In the popup window, select the server type, then click the Confirm button.

Add storage

If you need more than 5 TB of data storage, you can add additional storage. For 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 high‑availability configured database, adding storage is applied simultaneously to the storage of both the Active DB and the Standby DB.
  • A Replica’s storage cannot be larger than the primary’s storage. * Please expand the Master storage after expanding the Replica storage.
  • When adding Archive/Temp storage, the DB restarts and is temporarily unavailable.

To add storage, follow these steps.

  1. All Services > Database > MySQL(DBaaS) Click the menu. 1. Navigate to the Service Home page of MySQL (DBaaS).
  2. On the Service Home page, click the MySQL(DBaaS) menu. 2. MySQL(DBaaS) List Navigate to the page.
  3. On the MySQL(DBaaS) List page, click the resource to add storage. 3. MySQL(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 the case of a redundant DB configuration, all redundant servers are expanded simultaneously.

To increase storage capacity, follow the steps below.

  1. All Services > Database > MySQL(DBaaS) Click the menu. 1. Navigate to the Service Home page of MySQL (DBaaS).
  2. On the Service Home page, click the MySQL(DBaaS) menu. 2. MySQL(DBaaS) List Navigate to the page.
  3. On the MySQL(DBaaS) List page, click the resource to change the server type. 3. MySQL(DBaaS) Details Go to the page.
  4. Click the Edit icon for the additional Disk you want to add at the bottom of the detailed information. 4. Edit Additional Storage popup opens.

Terminate MySQL(DBaaS)

You can cancel unused MySQL (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 of 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 configured backup data will be deleted.

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

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

1 - Managing DB Services

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

Parameter Management

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

Parameter lookup

To view configuration parameters, follow these steps.

  1. Click the All Services > Database > MySQL(DBaaS) menu. 1. Navigate to the Service Home page of MySQL (DBaaS).
  2. On the Service Home page, click the MySQL(DBaaS) menu. 2. MySQL(DBaaS) List Navigate to the page.
  3. MySQL(DBaaS) List On the page, click the resource whose parameters you want to view or modify. 3. Navigate to the MySQL(DBaaS) Details page.
  4. Click the More button, then click the Parameter Management button. 4. Parameter Management The popup window opens.
  5. In the Parameter Management popup, 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.

Edit Parameter

To modify the configuration parameters, follow the steps below.

  1. All Services > Database > MySQL(DBaaS) Click the menu. 1. Navigate to the Service Home page of MySQL (DBaaS).
  2. On the Service Home page, click the MySQL(DBaaS) menu. 2. MySQL(DBaaS) List Navigate to the page.
  3. On the MySQL(DBaaS) List page, click the resource whose parameters you want to view or modify. 3. MySQL(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. In the Parameter Management popup, click the Search button. 5. View Notification The popup window opens.
  6. When the View Notification popup opens, click the Confirm button. 6. Retrieving may take a short amount of time.
  7. If modification 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 check 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 setting items

Managing DB Users

Provides administrative features to view DB user information and modify status information.

Query DB users

To view DB users, follow these steps.

  1. Click the All Services > Database > MySQL(DBaaS) menu. 1. Go to the Service Home page of MySQL (DBaaS).
  2. On the Service Home page, click the MySQL(DBaaS) menu. 2. MySQL(DBaaS) List Navigate to the page.
  3. On the MySQL(DBaaS) List page, click the resource for which you want to view the DB user. 3. MySQL(DBaaS) Details Go to the page.
  4. Click the More button, then click the DB User Management button. 4. Go 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.

Change DB user status

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

  1. All Services > Database > MySQL(DBaaS) Click the menu. 1. Navigate to the Service Home page of MySQL (DBaaS).
  2. On the Service Home page, click the MySQL(DBaaS) menu. 2. MySQL(DBaaS) List Navigate to the page.
  3. MySQL(DBaaS) List Click the resource on the page for which you want to modify the DB user. 3. MySQL(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. 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 Complete 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.

안내
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 > MySQL(DBaaS) menu. 1. Navigate to the Service Home page of MySQL (DBaaS).
  2. On the Service Home page, click the MySQL(DBaaS) menu. 2. MySQL(DBaaS) List Navigate to the page.
  3. MySQL(DBaaS) List Click the resource you want to manage access control for on this page. 3. MySQL(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.

Add DB Access Control

Follow these steps to add IP access control.

  1. All Services > Database > MySQL(DBaaS) Click the menu. 1. Navigate to the Service Home page of MySQL (DBaaS).
  2. On the Service Home page, click the MySQL(DBaaS) menu. 2. MySQL(DBaaS) List Navigate to the page.
  3. MySQL (DBaaS) List Click the resource on the page where you want to add IP access control. 3. MySQL(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. On the DB Access Control Management page, click the Search button. 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 > MySQL(DBaaS) menu. 1. Navigate to the Service Home page of MySQL (DBaaS).
  2. On the Service Home page, click the MySQL(DBaaS) menu. 2. MySQL(DBaaS) List Navigate to the page.
  3. MySQL(DBaaS) List page, click the resource for which you want to delete IP access control. 3. MySQL(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. On the DB Access Control Management page, click the Search button. 5. Retrieving may take a short amount of time.
  6. When the query is complete, click the Delete button. 6. Delete The popup window opens.
  7. Delete popup, click the Confirm button.

Configure Archive mode

Provides Archive mode configuration and Archive Log retention period settings, allowing users to flexibly configure Archive log management policies to suit their operational 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 > MySQL(DBaaS) menu. 1. Go to the Service Home page of MySQL (DBaaS).
  2. On the Service Home page, click the MySQL(DBaaS) menu. 2. MySQL(DBaaS) List Navigate to the page.
  3. On the MySQL(DBaaS) List page, click the resource you want to set Archive mode for. 3. MySQL(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 usage status and retention period.
  7. When the edit is complete, click the Complete button.

DB Log Export

Supports exporting log data that requires long-term retention among 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 specified Object Storage for storage 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 expiration date and time of the authentication key. * 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. Click the All Services > Database > MySQL(DBaaS) menu. 1. Navigate to the Service Home page of MySQL (DBaaS).
  2. On the Service Home page, click the MySQL(DBaaS) menu. 2. MySQL(DBaaS) List Navigate to the page.
  3. MySQL(DBaaS) List page: click the resource whose DB Log you want to export. 3. Navigate to the MySQL(DBaaS) Details page.
  4. Click the More button and then click the DB Log Export button. 4. DB Log Export Go to the page.
  5. On the DB Log Export page, click the Register button. 5. Navigate to the Register DB Log Export page.
  6. DB Log Export Registration page, after entering the required information, click the Complete button.
    CategoryRequired
    Detailed description
    Log typeRequiredLog type to be saved
    Save bucket nameEssentialObject 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. MySQL(DBaaS) DB Log Export Configuration Items

Managing DB Log Export

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

  1. All Services > Database > MySQL(DBaaS) Click the menu. 1. Navigate to the Service Home page of MySQL (DBaaS).
  2. On the Service Home page, click the MySQL(DBaaS) menu. 2. MySQL(DBaaS) List Navigate to the page.
  3. On the MySQL(DBaaS) List page, click the resource you want to manage DB Log export for. 3. MySQL(DBaaS) Details Go to the page.
  4. Click the More button, then click the DB Log Export button. 4. Go 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: Disables 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 not, 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

A major version upgrade requires a pre‑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 > MySQL(DBaaS) menu. 1. Navigate to the Service Home page of MySQL (DBaaS).
  2. On the Service Home page, click the MySQL(DBaaS) menu. 2. MySQL(DBaaS) List navigate to the page.
  3. MySQL(DBaaS) List page, click the resource to upgrade the Major version. 3. Navigate to the MySQL(DBaaS) Details 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. All Services > Database > MySQL(DBaaS) menu, click it. 1. Navigate to the Service Home page of MySQL (DBaaS).
  2. On the Service Home page, click the MySQL(DBaaS) menu. 2. MySQL(DBaaS) List Navigate to the page.
  3. On the MySQL(DBaaS) List page, click the resource to upgrade the Minor version. 3. MySQL(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.

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 detailed Migration configuration guide, please refer to Architecture Center > 마이그레이션 가이드.

To configure Migration, follow these steps.

  1. All Services > Database > MySQL(DBaaS) Click the menu. 1. Navigate to the Service Home page of MySQL (DBaaS).
  2. On the Service Home page, click the MySQL(DBaaS) menu. 2. MySQL(DBaaS) List Navigate to the page.
  3. MySQL(DBaaS) List page, click the resource you want to migrate. 3. MySQL(DBaaS) Details Go to the page.
  4. Click the More button, then click the Migration Setup button. 4. Migration configuration 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 Verify 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 usernameRequiredUsername of the Source DB to be migrated
    Source DB passwordRequiredPassword of the source DB that is the migration target
    Table. MySQL (DBaaS) migration configuration items

Promote Migration Cluster to Master Cluster

You can promote a 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 > MySQL(DBaaS) menu. 1. Navigate to the Service Home page of MySQL (DBaaS).
  2. On the Service Home page, click the MySQL(DBaaS) menu. 2. MySQL(DBaaS) List Navigate to the page.
  3. On the MySQL(DBaaS) List page, click the resource to promote to Master. 3. MySQL(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 popup, click the Confirm button.

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. All Services > Database > MySQL(DBaaS) menu, click it. 1. Navigate to the Service Home page of MySQL (DBaaS).
  2. On the Service Home page, click the MySQL(DBaaS) menu. 2. MySQL(DBaaS) List Go to the page.
  3. MySQL (DBaaS) List page, click the resource to view Block Storage usage. 3. MySQL(DBaaS) Details Navigate to the page.
  4. Click the More button, then click the Block Storage Usage Management button. 4. Go to the Block Storage Usage Management page.
  5. On the Block Storage Usage Management page, click the Search button. 5. Block Storage Usage Management page shows usage by Block Storage type.
    • Retrieving usage by Block Storage type may take a short while.

OS Kernel Upgrade

You can upgrade the OS kernel to improve the functionality of the running 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.

To upgrade the OS Kernel, follow these steps.

  1. All Services > Database > MySQL(DBaaS) Click the menu. 1. Navigate to the Service Home page of MySQL (DBaaS).
  2. On the Service Home page, click the MySQL(DBaaS) menu. 2. MySQL(DBaaS) List Navigate to the page.
  3. Please click the resource to upgrade the OS Kernel on the MySQL(DBaaS) List page. 3. Navigate to the MySQL(DBaaS) Details 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 In the popup window, review the instructions and click the Confirm button.

2 - Backing up and restoring the DB

Users can configure backups of MySQL (DBaaS) through the Samsung Cloud Platform Console and restore from the backed‑up files.

Backing up MySQL (DBaaS)

PostgreSQL(DBaaS) provides a data backup feature 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 instructions on configuring backup settings for MySQL(DBaaS), see MySQL(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. * Please refer to the guides for adding and expanding storage, MySQL(DBaaS) 스토리지 추가하기, MySQL(DBaaS) 스토리지 증설하기.
  • 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 Unset, backup execution will stop immediately, and the stored backup data will be deleted and can no longer be used.

To set up a backup, follow these steps.

  1. Click the All Services > Database > MySQL(DBaaS) menu. 1. Navigate to the Service Home page of MySQL (DBaaS).
  2. On the Service Home page, click the MySQL(DBaaS) menu. 2. MySQL(DBaaS) List Navigate to the page.
  3. MySQL(DBaaS) List On the page, click the resource to configure a backup. 3. MySQL(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 the retention period, backup start time, and Archive backup interval, then click the Confirm button.
    • If you stop the backup setting, uncheck Use in the Backup Settings popup window and authenticate via the logged-in user’s mobile phone.
      Once user authentication is completed, the backup setting is disabled and backup execution stops.

Perform immediate backup

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. All Services > Database > MySQL(DBaaS) Click the menu. 1. Navigate to the Service Home page of MySQL(DBaaS).
  2. On the Service Home page, click the MySQL(DBaaS) menu. 2. MySQL(DBaaS) List Navigate to the page.
  3. MySQL(DBaaS) List page, click the resource to perform an immediate backup. 3. MySQL(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 setting 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, see 알림 정책 생성하기.

To view the backup history, follow these steps.

  1. All Services > Database > MySQL(DBaaS) Click the menu. 1. Navigate to the Service Home page of MySQL (DBaaS).
  2. On the Service Home page, click the MySQL(DBaaS) menu. 2. MySQL(DBaaS) List Navigate to the page.
  3. On the MySQL(DBaaS) List page, click the resource to view the backup history. 3. MySQL(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, start time, completion time, and size.

Delete backup file

Caution
Backup files cannot be restored after deletion. Please be sure to confirm that the data is unnecessary before deleting it.

To delete the backup history, follow these steps.

  1. All Services > Database > MySQL(DBaaS) Click the menu. 1. Go to the Service Home page of MySQL (DBaaS).
  2. On the Service Home page, click the MySQL(DBaaS) menu. 2. MySQL(DBaaS) List Navigate to the page.
  3. MySQL(DBaaS) List page, click the resource to view the backup history. 3. MySQL(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, check the files you want to delete, then authenticate using the logged-in user’s mobile phone.
    • When user authentication is completed, the backup file will be deleted.

MySQL(DBaaS) Recover

If a failure or data loss necessitates restoration from a backup file, the recovery function can restore based on a specific point in time. When performing a MySQL(DBaaS) recovery, a new server is created with the OS image from the initial provisioning point, the database is installed with the version from the backup point, and the recovery proceeds using the database’s configuration information and data.

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

To recover MySQL (DBaaS), follow these steps.

  1. All Services > Database > MySQL(DBaaS) Click the menu. 1. Navigate to the Service Home page of MySQL (DBaaS).
  2. On the Service Home page, click the MySQL(DBaaS) menu. 2. MySQL(DBaaS) List Navigate to the page.
  3. MySQL(DBaaS) Resource Click the resource you want to restore on the list page. 3. MySQL(DBaaS) Details Go to the page.
  4. Click the Database Recovery button. 4. Go to the Database Recovery page.
  5. After entering the relevant information in the Database Recovery Configuration area, click the Complete button.
    Category
    Required status
    Detailed description
    Recovery typeRequiredSet the point in time the user wants to restore
    • Backup point (recommended): Restore based on the backup file. Select from the list of backup points displayed in the list.
    • Custom point: Restore to a user‑desired point within the range of recoverable backup times. The recoverable period depends on the Archive backup interval setting, allowing restoration from the initial backup start time 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 specification commonly used
    • High Capacity: large-capacity server with 24vCore or more (to be provided later)
    Service Type > Planned ComputeSelectionPlanned Compute가 설정된 자원 현황
    • 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.
      • Applied identically with the storage type set in the original cluster
      • Enter capacity as a multiple of 8 within the range 16 to 5,120
    • Additional: Storage area for DATA, Archive, TEMP, Backup data
      • Applied identically with the storage type 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
      • Click the Add button to add storage, or click the x button to delete
      • 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), 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, set the day of the week, start time, and duration
    • The maintenance window is a feature that lets the user define the time slot for performing patch operations, and any patch work within that period must be carried out 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.
    tagSelectionAdd tag
    • After clicking the Add tag button, enter or select Key, Value values
    Table. MySQL(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

You can create replica servers for read‑only or disaster‑recovery purposes through replica configuration. You can create up to 5 replicas per database.

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

To configure a Replica, follow these steps.

  1. All Services > Database > MySQL(DBaaS) Click the menu. 1. Navigate to the Service Home page of MySQL (DBaaS).
  2. On the Service Home page, click the MySQL(DBaaS) menu. 2. MySQL(DBaaS) List Navigate to the page.
  3. On the MySQL(DBaaS) List page, click the resource to configure a Replica. 3. MySQL(DBaaS) Details Navigate to the page.
  4. Click the Replica configuration button. 4. Go to the Replica configuration page.
  5. After entering information in the Replica configuration area, click the Done 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
    • 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 TypeRequiredReplica server type
    • Standard: standard specification commonly used
    • High Capacity: large-capacity server with 24 vCores or more
    Service Type > Planned ComputeSelectionStatus 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
    • Create Planned Compute Service: Navigate to the Planned Compute service application page
    IP access controlSelectService 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
    • Add Tag after clicking the button, enter or select Key, Value values
    Table. MySQL (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 the steps below.

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

Promoting a Replica Cluster to a Master Cluster

You can promote a 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. Click the All Services > Database > MySQL (DBaaS) menu. 1. Go to the Service Home page of MySQL (DBaaS).
  2. On the Service Home page, click the MySQL(DBaaS) menu. 2. MySQL(DBaaS) List Go to the page.
  3. MySQL(DBaaS) List On the page, click the resource to promote to Master. 3. MySQL(DBaaS) Details Go to the page.
  4. Click the More button and then click the Promote to Master button. 4. Master Promotion Notification The popup window opens.
  5. In the Master Promotion Notification popup, click the Confirm button.

4 - MySQL (DBaaS) server connection

Scenario Overview

MySQL(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 MySQL (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. MySQL(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
DatabaseMySQL(DBaaS)A service that easily creates and manages MySQL 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

Explains 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 Click the menu. 1. Navigate to the VPC’s Service Home page.
  2. On the Service Home page, click the Create VPC button. 2. Create VPC navigate to the 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.
    • After creation is complete, check the created resources on the Public IP List page.

1-5. ### Create Security Group

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 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, check the created resources on the Security Group List page.

2. ## Create Bastion host

Explains the process of configuring a Bastion Host that requires the Database access client to be installed.

2-1. ### Create Server Keypair

For detailed creation instructions, 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 instructions, 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.
    • When creation is complete, check the created resources on the Virtual Server list page.

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

  1. Click the All Services > Compute > Virtual Server 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. ### MySQL(DBaaS) Create Service

For detailed creation instructions, refer to the Database > MySQL(DBaaS) > How-to guides guide.
  1. All Services > Database > MySQL(DBaaS) Click the menu. 1. Go to the Service Home page of MySQL (DBaaS).
  2. On the Service Home page, click the MySQL(DBaaS) Create button. 2. MySQL(DBaaS) Creation Navigate to the page.
  3. MySQL(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.
    • When creation is complete, check the created resource on the MySQL(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, 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 Security Group menu. 2. Go 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. All Services > Networking > FirewallClick the 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 bottom left, enter the Database server information created in 3-1. MySQL(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 you set in 3-1. MySQL(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.