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 enter the required information for MySQL (DBaaS) through the Samsung Cloud Platform Console, select detailed options, and create the service.

Creating MySQL(DBaaS)

You can create and use the MySQL (DBaaS) service in the Samsung Cloud Platform Console.

Notice
  • 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-scale 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 MySQL(DBaaS), follow the steps below.

  1. Click the All Services > Database > MySQL(DBaaS) menu. Go to the Service Home page of MySQL(DBaaS).
  2. Click the MySQL(DBaaS) 생성 button on the Service Home page. You will be taken to the MySQL(DBaaS) 생성 page.
  3. MySQL(DBaaS) Creation page, enter the information required to create the service and select detailed options.
    • Select the required information in the Image and Version Selection area.
      Category
      Required
      Detailed description
      Image versionRequiredProvide version list of MySQL (DBaaS)
      Table. MySQL(DBaaS) image and version selection items
    • Service Information Input area, please enter or select the required information.
      Category
      Required
      Detailed description
      Server Name PrefixRequiredServer name where DB will be installed
      • Start with an English lowercase 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 NameRequiredCluster 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 TypeRequiredServer type where DB will be installed
      • Standard: Standard specifications commonly used
      • High Capacity: Large-capacity server of 24 vCore or more
      Service Type > Planned ComputeOptionalStatus of resources with Planned Compute set
      • In Use: Number of resources with Planned Compute that are in use
      • Configured: Number of resources with Planned Compute set
      • Coverage preview: Amount applied per resource by Planned Compute
      Redundancy configurationSelectRedundancy configuration status
      • If redundancy configuration is used, the DB instance is configured as Active DB and Standby DB
      Network > Common SettingsRequiredNetwork settings where servers created by the service are deployed
      • 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 from reserved IPs in the VPC product’s Public IP. For details, see Create Public IP.
      Network > Server-specific SettingsRequiredNetwork 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, and 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 a reserved IP from the VPC product’s Public IP. For more details, see Create Public IP.
      IP Access ControlSelectService 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 PeriodSelectDB Maintenance Period
      • Use: set day of week, start time, and duration
      • It is recommended to set a maintenance period for stable DB management. Patch work will be 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. MySQL(DBaaS) Service Configuration Items
    • Database configuration required information input Enter or select the required information in the area.
      Category
      Required
      Detailed description
      Database nameRequiredServer name applied when installing DB
      • Start with an English letter, use English letters and numbers, and enter 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 usernames can be checked in the Console
      Database passwordRequiredPassword to use when accessing the DB
      • Enter 8-30 characters including letters, numbers, and special characters ( excluded)
      Database Password ConfirmationRequiredRe-enter the same password to be used when accessing the DB
      Database Port numberRequiredPort number required for DB connection
      • Enter DB port within the range 1,024 ~ 65,535
      Backup > UseSelectWhether to use backup
      • Select Use to set backup file retention period, backup start time, Archive backup cycle
      Backup > Retention PeriodSelectBackup Retention Period
      • Select the backup retention period. File retention period can be set from 7 days to 35 days
      • Backup files incur additional charges depending on size
      Backup > Backup Start PeriodSelectBackup Start Time
      • Select backup start time
      • The minutes (minutes) at which the backup is performed are set randomly, and the backup end time cannot be set
      Backup > Archive backup frequencySelectArchive 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
      ParameterRequiredParameters to use in the DB
      • View button to click to view detailed information of the parameter
      • Parameters can be modified after DB creation is completed, and after modification the DB must be restarted
      DB character setRequiredCharacter encoding method to be used in the DB
      Table case sensitivityselectDB Table case sensitivity status
      Time zoneRequiredStandard time zone to be used by the Database
      Table. MySQL(DBaaS) Database configuration items
    • Enter additional information in the area, please enter or select the required information.
      Category
      Required
      Detailed description
      TagSelectAdd Tag
      • Up to 50 can be added per resource
      • After clicking the Add Tag button, enter or select Key, Value values
      Table. MySQL(DBaaS) Additional Information Input Items
  4. Summary Check the detailed information and estimated billing amount generated in the panel, and click the Complete button.
    • Once creation is complete, check the created resource on the Resource List page.

MySQL(DBaaS) Check detailed information

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

To view detailed information of the MySQL (DBaaS) service, follow the steps below.

  1. Click the All Services > Database > MySQL(DBaaS) menu. Go to the Service Home page of MySQL(DBaaS).
  2. Click the MySQL(DBaaS) menu on the Service Home page. You will be taken to the MySQL(DBaaS) List page.
  3. Click the resource to view detailed information on the MySQL(DBaaS) List page. It moves to the MySQL(DBaaS) Details 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 changing to operation execution 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 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 ControlButton 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 featuresCluster 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 cancellationButton to cancel the service
    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, if needed, modify the information.

CategoryDetailed description
Server InformationServer information configured in the 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 DB service, it means cluster SRN
Resource NameResource Name
  • In DB service, it means the cluster name
Resource IDUnique resource ID in the service
CreatorUser who created the service
Creation timeService creation time
EditorUser who modified the service information
Modification Date/TimeDate and time when service information was modified
Image/VersionInstalled DB image and version information
  • If a version upgrade is needed, click the Edit icon to set
Cluster TypeCluster Type (Master Cluster, Replica Cluster, Migration Cluster)
Cluster NameName of the cluster composed of DB servers
Master cluster nameReplica’s Master cluster name
  • If detailed information of Replica, can be confirmed
Database nameServer name applied when installing DB
Database usernameDB user name
Planned ComputeResource status with Planned Compute set
Maintenance PeriodDB Maintenance Period Status
  • If maintenance period setting is required, click the Edit icon to set
BackupBackup Settings Status
  • If backup settings are needed, click the Edit icon to set
Time zoneStandard time zone used by the Database
DB character setEncoding method to use in DB
Table case sensitivityDB Table case sensitivity status
VIPVirtual IP information
  • Can be checked only when high availability is configured
NetworkNetwork information where DB is installed (VPC, Subnet, VIP, NAT IP(VIP))
IP Access ControlService Access Policy Settings
  • If you need to add or delete an IP, click the Edit icon to set
Active & StandbyActive/Standby server type, default OS, additional Disk information
  • If you need to modify the server type, click the Edit icon next to the server type to set it. Refer to the server type modification procedure Change Server Type
    • 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. Refer to the storage expansion procedure Expand Storage
  • If you need to add storage, click the Add Disk button next to Additional Disk to add. Refer to the storage addition procedure Add Storage
Table. MySQL(DBaaS) Database detailed information items

Replica Information

Replica Information tab is enabled only when a Replica is configured in the cluster. Through the Replica Information tab, you can check the Master cluster name, number of replicas, and Replica status.

CategoryDetailed description
Master InformationName of Master Cluster
Replica countNumber of Replicas created in the Master cluster
Replica statusReplica server status created in the Master cluster
  • Server name, status query, status details, status check time can be verified
  • To query the Replica status, click the Status Query button
    • While querying, the cluster remains in Synchronizing status, and once the query is complete, the cluster changes to Running status
Table. Replica Information Tab Detailed Information Items

Tag

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

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

Work History

On the MySQL(DBaaS) List page, you can view the operation history of the selected resource.

CategoryDetailed description
Work History ListResource Change History
  • Work date and time, Resource ID, Resource name, Work details, Event topic, Work result, Check worker information
Table. Work History Tab Detailed Information Items

MySQL(DBaaS) Resource Management

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 tasks on the MySQL (DBaaS) Details page.

Operating Control

If changes occur to the running MySQL (DBaaS) resources, you can start, stop, or restart them. Also, if 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. Go to the Service Home page of MySQL(DBaaS).
  2. Click the MySQL(DBaaS) menu on the Service Home page. Go to the MySQL(DBaaS) List page.
  3. Click the resource to control operation on the MySQL(DBaaS) List page. It moves to the MySQL(DBaaS) Details page.
  4. Check the status of MySQL (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 are 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 check the service status of MySQL (DBaaS), follow the steps below.

  1. All Services > Database > MySQL(DBaaS) Click the menu. Navigate to the Service Home page of MySQL(DBaaS).
  2. Click the MySQL(DBaaS) menu on the Service Home page. Go to the MySQL(DBaaS) List page. 3. MySQL(DBaaS) List Click the resource to view the service status. MySQL(DBaaS) Detail Navigate to the page.
  3. Service status synchronization button. Click the button. While fetching, the cluster changes to Synchronizing state.
  4. When the query is completed, 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 the steps below.

Caution
  • If you modify the server type, a server reboot is required. Please separately verify any SW license changes or SW settings and their application due to spec changes.
  1. All Services > Database > MySQL(DBaaS) Click the menu. Go to the Service Home page of MySQL(DBaaS).
  2. Click the MySQL(DBaaS) menu on the Service Home page. Go to the MySQL(DBaaS) List page.
  3. Click the resource to change the server type on the MySQL(DBaaS) 목록 page. It will move to the MySQL(DBaaS) 상세 page.
  4. Click the Edit icon of the server type you want to change at the bottom of the detailed information. The Server Type Edit popup window will open.
  5. Server Type Edit In the popup window, after selecting the server type, click the Confirm button.

Add Storage

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

Caution
  • It is applied the same way as the selected Storage type when creating a service.
  • If a DB is configured for high availability, 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. Please 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.

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

Expanding storage

The 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. Navigate to the Service Home page of MySQL(DBaaS).
  2. Click the MySQL(DBaaS) menu on the Service Home page. Navigate to the MySQL(DBaaS) list page.
  3. Click the resource to change the server type on the MySQL(DBaaS) List page. You will be taken to the MySQL(DBaaS) Details page.
  4. Click the Edit icon of the additional Disk you want to expand at the bottom of the detailed information. The Edit Additional Storage popup window opens.
  5. Add Storage Modification In the popup window, after entering the expansion capacity, click the Confirm button.

MySQL(DBaaS) Cancel

You can cancel unused MySQL (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.

Caution
  • 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, any stored data and, if backup is set, all backup data will be deleted.

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

  1. All Services > Database > MySQL(DBaaS) Click the menu. Go to the Service Home page of MySQL(DBaaS).
  2. Click the MySQL(DBaaS) menu on the Service Home page. You will be taken to the MySQL(DBaaS) List page.
  3. MySQL(DBaaS) List On the page, select the resource to cancel, and click the Cancel Service button.
  4. When the termination is complete, check whether the resource has been terminated on the MySQL (DBaaS) list page.

1 - MySQL(DBaaS) server connection

Scenario Overview

The MySQL(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 connect to MySQL(DBaaS) stably in the Samsung Cloud Platform environment, it is necessary to create a Bastion host and use it for network connection. 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, so that it can be accessed through a DB connection client.

Architecture
Figure. MySQL(DBaaS) server connection architecture

Scenario Components

You can configure 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 allows users to subdivide the network into smaller sections for specific purposes/sizes within the VPC
NetworkingVPC > Public IPA service that reserves a public IP and assigns and returns it to Compute resources
NetworkingVPC > Internet GatewayA service that connects VPC resources to the internet
NetworkingSecurity GroupA virtual firewall that controls the server’s 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 Virtual Server
Table. List of scenario components
Reference
The default policy of the * Security Group is Deny All, so only allowed IPs should be registered. The In/Outbound’s All Open policy (Any IP, Any Port) can expose cloud resources to external threats. * By specifying the necessary IP and Port, you can enhance security by setting up a policy.

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

For detailed creation methods, please refer to the Networking > VPC > How-to guides guide.
  1. Click All services > Networking > VPC menu. It moves to the Service Home page of VPC.
  2. On the Service Home page, click the Create VPC button. It moves to the Create VPC page.
  3. VPC Creation page, please enter the information needed to create the service.
    • IP range should be entered as 192.168.x.0/16.
  4. In the Summary panel, review the detailed information and estimated charge, then click the Complete button.
    • Once the creation is complete, check the created resource on the VPC list page.

1-2. Creating a Subnet

For detailed creation methods, please refer to the Networking > VPC > How-to guides > Subnet guide.
  1. Click All services > Networking > VPC menu. It moves to the Service Home page of VPC.
  2. Service Home page, click the Subnet menu. It moves to the Subnet list page.
  3. Click the Subnet Creation button. It moves to the Subnet Creation page.
  4. 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.
  5. 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

For detailed creation methods, please refer to the Networking > VPC > How-to guides > Internet Gateway guide.
  1. Click All services > Networking > VPC menu. It moves to the Service Home page of VPC.
  2. Service Home page, click the Internet Gateway menu. It moves to the Internet Gateway list page.
  3. Click the Create Internet Gateway button. It moves to the Create Internet Gateway page.
  4. 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.
  5. 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

For detailed creation methods, please refer to the Networking > VPC > How-to guides > Public IP guide.
  1. Click All services > Networking > VPC menu. It moves to the Service Home page of VPC.
  2. Click the Public IP menu on the Service Home page. It moves to the Public IP list page.
  3. Public IP Reservation button, click. Move to the Public IP Reservation page.
  4. Public IP Reservation page where you enter the required information necessary for service reservation.
  5. Check the detailed information generated in the Summary panel and the expected bill amount, and click the Complete button.
    • After creation is complete, check the created resource on the Public IP List page.

1-5. Creating a Security Group

For detailed creation methods, please refer to the Networking > Security Group > How-to guides guide.
  1. Click the menu for all services > Networking > Security Group. It moves to the Service Home page of Security Group.
  2. Click the Security Group Creation button on the Service Home page. It moves to the Security Group Creation page.
  3. Security Group creation page where you enter the required information necessary for service creation.
  4. Check the input information and click the Complete button.
    • Once 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

For detailed creation methods, please refer to the Compute > Virtual Server > How-to guides > Keypair guide.
  1. Click All Services > Compute > Virtual Server menu. It moves to the Service Home page of Virtual Server.
  2. Click the Keypair menu on the Service Home page. It moves to the Keypair list page.
  3. Keypair creation button should be clicked. It moves to the Keypair creation page.
  4. Keypair creation page, please enter the required information necessary for service creation.
  5. 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

For detailed creation methods, please refer to the Compute > Virtual Server > How-to guides guide.
  1. Click All Services > Compute > Virtual Server menu. It moves to the Service Home page of Virtual Server.
  2. Click the Virtual Server Creation button on the Service Home page. It moves to the Virtual Server Creation page.
  3. Virtual Server Creation page, please enter the required information necessary for service creation.
  4. Summary panel, check the detailed information generated and the expected billing amount, and click the Complete button.
    • Once creation is complete, check the created resource on the Virtual Server list page.

2-3. Check Bastion host connection ID and PW

  1. Click All Services > Compute > Virtual Server menu. It moves to the Service Home page of Virtual Server.
  2. Service Home page, click the Virtual Server menu. Move to the Virtual Server list page.
  3. 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.
  4. Click the RDP password inquiry button in the Keypair item on the detailed information page. The RDP password inquiry popup window opens.
  5. RDP password inquiry popup window, attach the keypair file downloaded from 2-1. Creating a server keypair.
  6. After attaching, click the Password Check button. The ID and password required to access the resource will be displayed.

3. Creating a Database

It describes the process of creating a database service.

3-1. Creating a MySQL (DBaaS) Service

For detailed creation methods, please refer to the Database > MySQL(DBaaS) > How-to guides guide.
  1. Click on the menu for all services > Database > MySQL(DBaaS). It moves to the Service Home page of MySQL(DBaaS).
  2. On the Service Home page, click the Create MySQL(DBaaS) button. It moves to the Create MySQL(DBaaS) page.
  3. MySQL(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.
  4. 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 MySQL(DBaaS) list page.

4. Setting Rules

This explains the process of setting rules for users to access the Bastion host and rules for the Bastion host to access the Database.

4-1. Adding Security Group Security Rules

For detailed creation methods, please refer to the Networking > Security Group > How-to guides guide.
  1. Click the menu for all services > Networking > Security Group. It moves to the Service Home page of Security Group.
  2. Service Home page, click the Security Group menu. Move to the Security Group list page.
  3. 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.
  4. Click the Rules tab on the detailed information page. It moves to the Rules tab.
  5. Click the Rule tab and click the Add Rule button. It moves to the Add Rule popup window.
  6. Add Rule popup window, enter the rules below, and click the OK button
DirectionRemoteDestination AddressProtocolPortDescription
InboundCIDRUser PC IPTCP3389 (RDP)Bastion connection PC → Bastion host
OutboundCIDRDB IPTCPDatabase Port (direct input)Bastion host → Database
Fig. Security Group security rules to be added

4-2. Adding IGW Firewall Rules

For detailed creation methods, please refer to the Networking > Firewall > How-to guides guide.
  1. Click All services > Networking > Firewall menu. It moves to the Service Home page of Firewall.
  2. Service Home page, click the Firewall menu. It moves to the Firewall list page.
  3. 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.
  4. Click the Rules tab on the detailed information page. It moves to the Rules tab.
  5. Click the Rule tab and click the Add Rule button. It moves to the Add Rule popup window.
  6. Add Rule In the popup window, enter the rules below and click the OK button.
Departure AddressDestination AddressProtocolPortActionDirectionDescription
Bastion connection PC IPBastion host IPTCP3389(RDP)AllowInboundUser PC → Bastion host
Fig. Internet Gateway Firewall rules to be added

5. Connect to 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 install and use the tools that suit you.

5-1. Connecting to the Bastion host

  1. Run Remote Desktop Connection in the Windows environment of the PC you want to access the Bastion host, enter the NAT IP of the Bastion Host, and click the Connect button.
  2. 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. Install DB connection client program (MySQL Workbench) on the Bastion host

  1. Go to the official MySQL page and download the MySQL Workbench program.
  2. Connect the hard drive of the user’s PC to upload the file to the Bastion host.
  3. Click the Details button for local devices and resources entries in the Local Resources tab of Remote Desktop Connection.
  4. Select the local disk where the file was downloaded to the drive and click the Confirm button.
  5. 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

  1. Run MySQL Workbench and click Database > Manage connections. The Manage Server Connection popup window will appear.
  2. Manage Server Connection popup window, click the New button at the bottom left and enter the database server information created in 3-1. MySQL(DBaaS) service creation, then click the Test Connection button. A Password popup window will appear.
    Required Input Element ItemsInput Value
    Connection NameCustom (ex. Service Name)
    Host nameDatabase server IP
    PortDatabase Port
    UsernameDatabase username
    DB connection client program input items
  3. Password popup window, enter the password set in 3-1. MySQL(DBaaS) service creation and click the OK button. When the success is complete, click the OK button in the Manage Server Connection popup window.
  4. Database > Connect to Database should be clicked. The Connect to Database popup window will appear.
  5. Select the Connection Name registered in Stored Connection to perform database connection. After connection, you can try simple queries, etc.

2 - Managing DB Services

Users can manage MySQL (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:

  1. Click the All Services > Database > MySQL(DBaaS) menu. It moves to the Service Home page of MySQL(DBaaS).
  2. Click the MySQL(DBaaS) menu on the Service Home page. It moves to the MySQL(DBaaS) List page.
  3. Click the resource you want to view and modify parameters on the MySQL(DBaaS) List page. It moves to the MySQL(DBaaS) Details page.
  4. Click the More button and then click the Parameter Management button. The Parameter Management popup window opens.
  5. Click the View button in the Parameter Management popup window. The View Notification popup window opens.
  6. When the View Notification popup window opens, click the OK button. It takes some time to view.

Modifying Parameters

To modify configuration parameters, follow these steps:

  1. Click the All Services > Database > MySQL(DBaaS) menu. It moves to the Service Home page of MySQL(DBaaS).
  2. Click the MySQL(DBaaS) menu on the Service Home page. It moves to the MySQL(DBaaS) List page.
  3. Click the resource you want to view and modify parameters on the MySQL(DBaaS) List page. It moves to the MySQL(DBaaS) Details page.
  4. Click the More button and then click the Parameter Management button. The Parameter Management popup window opens.
  5. Click the View button in the Parameter Management popup window. The View Notification popup window opens.
  6. When the View Notification popup window opens, click the OK button. It takes some time to view.
  7. If modification is necessary, click the Modify button and enter the modification contents in the user-defined value area of the parameter to be modified.
  8. 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:

  1. Click the All Services > Database > MySQL(DBaaS) menu. It moves to the Service Home page of MySQL(DBaaS).
  2. Click the MySQL(DBaaS) menu on the Service Home page. It moves to the MySQL(DBaaS) List page.
  3. Click the resource you want to view DB users on the MySQL(DBaaS) List page. It moves to the MySQL(DBaaS) Details page.
  4. Click the More button and then click the DB User Management button. It moves to the DB User Management page.
  5. Click the View button on the DB User Management page. It takes some time to view.

Changing DB User Status

To change the status of the viewed DB user, follow these steps:

  1. Click the All Services > Database > MySQL(DBaaS) menu. It moves to the Service Home page of MySQL(DBaaS).
  2. Click the MySQL(DBaaS) menu on the Service Home page. It moves to the MySQL(DBaaS) List page.
  3. Click the resource you want to modify DB users on the MySQL(DBaaS) List page. It moves to the MySQL(DBaaS) Details page.
  4. Click the More button and then click the DB User Management button. It moves to the DB User Management page.
  5. Click the View button on the DB User Management page. It takes some time to view.
  6. If modification is necessary, click the Modify button and change the status area value or enter remarks.
  7. 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 allowed IPs to access.

Guide
Before setting DB access control, perform DB user inquiry. For DB user inquiry, refer to Managing DB Users.

Viewing DB Access Control

To view DB users with IP access control set, follow these steps:

  1. Click the All Services > Database > MySQL(DBaaS) menu. It moves to the Service Home page of MySQL(DBaaS).
  2. Click the MySQL(DBaaS) menu on the Service Home page. It moves to the MySQL(DBaaS) List page.
  3. Click the resource you want to manage access control on the MySQL(DBaaS) List page. It moves to the MySQL(DBaaS) Details page.
  4. Click the More button and then click the DB Access Control Management button. It moves to the DB Access Control Management page.
  5. Click the View button on the DB Access Control Management page. It takes some time to view.

Adding DB Access Control

To add IP access control, follow these steps:

  1. Click the All Services > Database > MySQL(DBaaS) menu. It moves to the Service Home page of MySQL(DBaaS).
  2. Click the MySQL(DBaaS) menu on the Service Home page. It moves to the MySQL(DBaaS) List page.
  3. Click the resource you want to add IP access control on the MySQL(DBaaS) List page. It moves to the MySQL(DBaaS) Details page.
  4. Click the More button and then click the DB Access Control Management button. It moves to the DB Access Control Management page.
  5. Click the View button on the DB Access Control Management page. It takes some time to view.
  6. When the view is complete, click the Add button. The DB Access Control Add popup window opens.
  7. In the DB Access Control Add popup window, select the DB user name and enter the IP address.
  8. When the input is complete, click the Save button.

Deleting DB Access Control

To delete IP access control, follow these steps:

  1. Click All Services > Database > MySQL(DBaaS) menu. The MySQL(DBaaS) Service Home page will be displayed.
  2. Click the MySQL(DBaaS) menu on the Service Home page. The MySQL(DBaaS) list page will be displayed.
  3. Click the resource for which you want to delete IP access control on the MySQL(DBaaS) list page. The MySQL(DBaaS) details page will be displayed.
  4. Click the More button and then click the DB Access Control Management button. The DB Access Control Management page will be displayed.
  5. Click the Inquiry button on the DB Access Control Management page. It may take some time to retrieve the data.
  6. Once the inquiry is complete, click the Delete button. A Delete pop-up window will appear.
  7. Click the Confirm button in the Delete pop-up window.

Managing Archive

The Archive mode setting and Archive Log retention period setting functions are provided, allowing users to flexibly set the Archive log management policy according to their operating environment. Additionally, the function to manually delete Archive logs is provided together, allowing users to clean up unnecessary log data and effectively manage system resources.

Notice
The default setting when creating a service is Archive mode enabled, with a retention period of 3 days.

Setting Archive Mode

To set the Archive mode, follow these steps:

  1. Click All Services > Database > MySQL(DBaaS) menu. The MySQL(DBaaS) Service Home page will be displayed.
  2. Click the MySQL(DBaaS) menu on the Service Home page. The MySQL(DBaaS) list page will be displayed.
  3. Click the resource for which you want to set the Archive mode on the MySQL(DBaaS) list page. The MySQL(DBaaS) details page will be displayed.
  4. Click the More button and then click the Archive Settings Management button. The Archive Settings Management page will be displayed.
  5. Click the Inquiry button on the Archive Settings Management page. It may take some time to retrieve the data.
  6. Click the Modify button and select the usage and retention period.
  7. Once the modification is complete, click the Save button.

Deleting Archive Files

To delete Archive files, follow these steps:

  1. Click All Services > Database > MySQL(DBaaS) menu. The MySQL(DBaaS) Service Home page will be displayed.
  2. Click the MySQL(DBaaS) menu on the Service Home page. The MySQL(DBaaS) list page will be displayed.
  3. Click the resource for which you want to set the Archive mode on the MySQL(DBaaS) list page. The MySQL(DBaaS) details page will be displayed.
  4. Click the More button and then click the Archive Settings Management button. The Archive Settings Management page will be displayed.
  5. Click the Archive All Delete button to delete all Archive files, or click the Backup Archive Delete button to delete only the backed-up Archive files.

Exporting DB Logs

The function to export audit logs to Object Storage is supported, allowing users to set the log type, target bucket, and export cycle. According to the set criteria, the logs are copied to the specified Object Storage for storage. Additionally, an option to automatically delete the original log files when exporting logs to Object Storage is provided, allowing users to effectively secure storage capacity while safely storing necessary log data.

Notice
  • 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, the log will not be stored in the bucket.
  • Be careful not to expose the authentication key information to the outside.

Setting DB Log Export Mode

To set the DB Log export mode, follow these steps:

  1. Click All Services > Database > MySQL(DBaaS) menu. The MySQL(DBaaS) Service Home page will be displayed.
  2. Click the MySQL(DBaaS) menu on the Service Home page. The MySQL(DBaaS) list page will be displayed.
  3. Click the resource for which you want to export DB logs on the MySQL(DBaaS) list page. The MySQL(DBaaS) details page will be displayed.
  4. Click the More button and then click the DB Log Export button. The DB Log Export page will be displayed.
  5. Click the Register button on the DB Log Export page. The DB Log Export Registration page will be displayed.
  6. Enter the required information on the DB Log Export Registration page and click the Save button.
CategoryRequired
Detailed Description
Log TypeRequiredLog type to be stored
Storage Bucket NameRequiredObject Storage bucket name to store the log
Authentication Key > Access KeyRequiredAccess key to access the Object Storage
Authentication Key > Secret KeyRequiredSecret key to access the Object Storage
File Creation CycleRequiredCycle to create files in Object Storage
Original Log DeletionOptionalWhether to delete the original log when exporting to Object Storage
Table. MySQL(DBaaS) Migration Configuration Items

Managing DB Log Export

To modify, cancel, or immediately export DB log settings, follow these steps:

  1. Click All Services > Database > MySQL(DBaaS) menu. The MySQL(DBaaS) Service Home page will be displayed.
  2. Click the MySQL(DBaaS) menu on the Service Home page. The MySQL(DBaaS) list page will be displayed.
  3. Click the resource for which you want to manage DB log export on the MySQL(DBaaS) list page. The MySQL(DBaaS) details page will be displayed.
  4. Click the More button and then click the DB Log Export button. The DB Log Export page will be displayed.
  5. Click the More button for the log type you want to manage on the DB Log Export page, and then click the Immediate Export, Modify, or Cancel button.
    • Immediate Export: Exports the selected log to the Object Storage bucket.
    • Modify: Modifies the DB log export mode setting.
    • Cancel: Cancels the DB log export mode setting.

Upgrading DB Version

The function to upgrade the version for some feature improvements and security patches is provided. Only minor version upgrades are supported within the same major version.

Caution
  • Please perform a service status synchronization to check the service status before upgrading the version.
  • Please set up a backup before upgrading the version. If you do not set up a backup, you may not be able to recover some data in case of problems during the update.
  • In the case of a DB with a replica configured, the master DB version must be higher than or equal to the replica version. Please check the replica version first and perform a version upgrade if necessary.
  • The backed-up data will be automatically deleted after the version upgrade is complete.

To upgrade the version, follow these steps:

  1. Click the All Services > Database > MySQL(DBaaS) menu. It moves to the Service Home page of MySQL(DBaaS).
  2. Click the MySQL(DBaaS) menu on the Service Home page. It moves to the MySQL(DBaaS) List page.
  3. Click the resource to be upgraded on the MySQL(DBaaS) List page. It moves to the MySQL(DBaaS) Details page.
  4. Click the Modify button in the image/version item. The Version Upgrade popup window opens.
  5. In the Version Upgrade popup window, select the version to be modified and the backup setting, and then click the OK button.
  6. Click the OK 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.

Notice
For a detailed migration configuration guide, please refer to Architecture Center > Migration Guide > Database Migration Procedure and Considerations.

To configure the migration, follow these steps:

  1. Click the All Services > Database > MySQL(DBaaS) menu. It moves to the Service Home page of MySQL(DBaaS).
  2. Click the MySQL(DBaaS) menu on the Service Home page. It moves to the MySQL(DBaaS) List page.
  3. Click the resource to be migrated on the MySQL(DBaaS) List page. It moves to the MySQL(DBaaS) Details page.
  4. Click the More button and then click the Configure Migration button. The Configure Migration popup window opens.
  5. In the Configure Migration popup window, check the instructions and click the OK button. It moves to the Configure Migration page.
  6. On the Configure Migration page, enter the corresponding information and click the Connect Check button.
  7. When the connection is complete, click the Complete button.
ClassificationRequired
Detailed Description
Source DB Database NameRequiredDatabase name of the source DB that is the migration target
Source DB IPRequiredIP of the source DB that is the migration target
Source DB PortRequiredPort of the source DB that is the migration target
Source DB User NameRequiredUser name of the source DB that is the migration target
Source DB PasswordRequiredPassword of the source DB that is the migration target
Table. MySQL(DBaaS) Migration Configuration Items

The configured migration cluster can be promoted to a master cluster.

Caution
When promoting to a master, synchronization with the source DB that is the migration target will be stopped.

To promote the migration cluster to a master, follow these steps:

  1. Click the All Services > Database > MySQL(DBaaS) menu. It moves to the Service Home page of MySQL(DBaaS).
  2. Click the MySQL(DBaaS) menu on the Service Home page. It moves to the MySQL(DBaaS) List page.
  3. Click the resource to be promoted to a master on the MySQL(DBaaS) List page. It moves to the MySQL(DBaaS) Details page.
  4. Click the More button and then click the Promote to Master button. The Master Promotion Notification popup window opens.
  5. Click the OK button in the Master Promotion Notification popup window.

3 - DB Backup and Recovery

The user can set up a backup of MySQL(DBaaS) through the Samsung Cloud Platform Console and restore it with the backed-up file.

MySQL(DBaaS) Backup

PostgreSQL(DBaaS) provides a data backup feature based on its own backup command. It also provides an optimized backup environment for data protection and management through backup history checking and backup file deletion functions.

Setting up backup

The method of setting up a backup for MySQL(DBaaS) is described in MySQL(DBaaS) creation guide.

To modify the backup settings of the generated resource, follow these steps.

Caution
  • For stable backup, it is recommended to add a separate BACKUP storage or to sufficiently expand the storage capacity. Especially when the backup target data exceeds 100 GB and the data change is frequent, please secure additional storage equivalent to about 60% of the data capacity. For storage addition and expansion methods, please refer to the MySQL(DBaaS) Add Storage, MySQL(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.

To set up backup, follow these steps.

  1. All Services > Database > MySQL(DBaaS) menu is clicked. It moves to the Service Home page of MySQL(DBaaS).
  2. Service Home page, click the MySQL(DBaaS) menu. Move to the MySQL(DBaaS) list page.
  3. MySQL(DBaaS) list page, click the resource to set the backup. It moves to the MySQL(DBaaS) details page.
  4. Click the Edit button of the backup item. The Backup Settings popup window opens.
  5. 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 Confirm button.
    • If you want to stop the backup settings, uncheck Use in the Backup Settings popup window and click the OK button.

Check Backup History

Notice
To set up notifications for backup success and failure, you can set it up through the Notification Manager product. For detailed usage guidelines on notification policy settings, please refer to Creating a Notification Policy.

To view the backup history, follow these steps.

  1. All Services > Database > MySQL(DBaaS) menu is clicked. It moves to the Service Home page of MySQL(DBaaS).
  2. On the Service Home page, click the MySQL(DBaaS) menu. It moves to the MySQL(DBaaS) list page.
  3. MySQL(DBaaS) list page, click the resource to check the backup history. Move to the MySQL(DBaaS) details page.
  4. Click the Backup History button. The Backup History popup window opens.
  5. Backup History popup window where you can check the backup status, version, backup start time, backup completion time, and capacity.

Delete backup files

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

To delete the backup history, follow these steps.

  1. Click All Services > Database > MySQL(DBaaS) menu. It moves to the Service Home page of MySQL(DBaaS).
  2. On the Service Home page, click the MySQL(DBaaS) menu. It moves to the MySQL(DBaaS) list page.
  3. MySQL(DBaaS) list page, click the resource to check the backup history. Move to the MySQL(DBaaS) detail page.
  4. Click the Backup History button. The Backup History popup window opens.
  5. Backup History popup window, check the file you want to delete, and then click the Delete button.

Recovering MySQL(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 MySQL (DBaaS) recovery, a new server is created with the OS image at the initial provisioning time, the DB is installed with the version at the backup point in time, and the recovery proceeds with the DB configuration information and data.

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

To restore MySQL(DBaaS), follow these steps.

  1. All Services > Database > MySQL(DBaaS) menu is clicked. It moves to the Service Home page of MySQL(DBaaS).
  2. On the Service Home page, click the MySQL(DBaaS) menu. It moves to the MySQL(DBaaS) list page.
  3. MySQL(DBaaS) resource list page, click the resource you want to restore. It moves to the MySQL(DBaaS) details page.
  4. Database Recovery 버튼을 클릭하세요. Database Recovery 페이지로 이동합니다.
  5. Enter the corresponding information in the Database Recovery Configuration area, and then click the Complete button.
Classification
Necessity
Detailed Description
Recovery TypeRequiredSet the point in time you want to recover
  • Backup Point (Recommended): Recover based on the backup file. Select from the list of backup file points displayed in the list
  • Custom Point: Recover to the desired point within the range of possible backup times. The recoverable period is from the initial backup start time to the current time, based on the Archive backup cycle setting value, and can be recovered up to 1 hour/30 minutes/10 minutes/5 minutes ago. Select the date and time you want to back up
Server name prefixRequiredServer name of the recovery DB
  • Start with lowercase English letters, using lowercase letters, numbers, and special characters (-) to input 3 ~ 16 characters
  • A postfix such as 001, 002 is attached based on the server name, and the actual server name is created
Cluster NameRequiredCluster name of the recovery DB
  • Enter in English, 3-20 characters
  • Cluster is a unit that bundles multiple servers
Service Type > Server TypeRequiredServer type where the recovery DB will be installed
  • Standard: Standard specification commonly used
  • High Capacity: High-capacity server with 24vCore or more (to be provided later)
Service Type > Planned ComputeSelectionCurrent status of resources with Planned Compute set
  • In Use: Number of resources with Planned Compute set that are currently in use
  • Setting: Number of resources with Planned Compute set
  • Coverage Preview: Amount applied by Planned Compute for each resource
  • Create Planned Compute Service: Move to the Planned Compute service application page
Service Type > Block StorageRequiredRecovery DB uses Block Storage settings
  • Basic OS: Area where the DB engine is installed
  • DATA: Storage area for table data, archive files, etc.
    • The storage type set in the original cluster is applied in the same way
    • Capacity can be entered in multiples of 8 in the range of 16 to 5,120
  • Additional: DATA, Archive, TEMP, Backup data storage area
    • The storage type set in the original cluster is applied in the same way
    • Only DATA, TEMP, and Archive purposes can be added in the recovery DB
    • After selecting Use, enter the purpose and capacity of the storage
    • To add storage, click the + button, and to delete, click the x button
    • Capacity can be entered in multiples of 8 in the range of 16 to 5,120, and up to 9 can be created
Database usernamerequiredDatabase username set in the original DB
Database Port numberrequiredDatabase Port number set in the original DB
IP Access ControlSelectIP address to access the recovery DB
  • Enter in IP format (e.g., 192.168.10.1) or CIDR format (e.g., 192.168.10.1/32, 192.168.10.1/32) and click the Add button
  • To delete the entered IP, click the x button next to the entered IP
Maintenance periodSelectDB maintenance period
  • Use is selected to set the day, start time, and duration
  • It is recommended to set the maintenance period for stable management of the DB, and patch work is performed at the set time, resulting in service interruption
  • If not used, Samsung SDS is not responsible for any problems that occur due to non-application of patches.
tagselectionadd tag
  • add tag button, click after Key, Value value input or selection
Fig. MySQL(DBaaS) Recovery Configuration Items

4 - Setting up Read Replica

The user can enter the necessary information for the Read Replica through the Samsung Cloud Platform Console and create the service through detailed options.

Configuring Replica

You can create a read-only replica server through Replica configuration. Up to 5 Replicas can be created per Database.

To configure a replica, follow these procedures.

  1. All services > Database > MySQL(DBaaS) menu, click. It moves to the Service Home page of MySQL(DBaaS).
  2. Service Home page, click the MySQL(DBaaS) menu. Move to the MySQL(DBaaS) list page.
  3. MySQL(DBaaS) list page, click on the resource to configure the Replica. Move to the MySQL(DBaaS) details page.
  4. Click the Replica Configuration button. It moves to the Replica Configuration page.
  5. Enter information in the Replica Configuration area, then click the Complete button.
    Classification
    Necessity
    Detailed Description
    Number of ReplicasRequiredNumber of Replicas to configure
    • Up to 5 can be configured per cluster
    • If selecting 2 or more values, additional input of Replica name and service type information is required
    Replica namerequiredReplica server name
    • Starts with lowercase English letters, using lowercase letters, numbers, and special characters (-) to input 3 ~ 19 characters
    • The entered Replica name is exposed as the cluster name in the list
    Service Type > Server TypeRequiredReplica Server Type
    • Standard: Standard specification commonly used
    • High Capacity: High-capacity server with 24vCore or more
    Service Type > Planned ComputeSelectCurrent status of resources with Planned Compute set
    • In Use: Number of resources with Planned Compute set that are in use
    • Settings: Number of resources with Planned Compute set
    • Coverage Preview: Amount applied by Planned Compute for each resource
    • Create Planned Compute Service: Move to the Planned Compute service application page
    IP Access ControlSelectSet service access policy
    • Set access policy for IP entered on the page, so 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 the entered IP, click the x button next to the entered IP
    Maintenance periodSelectDB maintenance period
    • Use is selected, set the day of the week, start time, and duration
    • It is recommended to set the maintenance period for stable management of the DB. Patch work is performed at the set time and service interruption occurs
    • If set to not used, the company is not responsible for the problems that occur due to non-application of patches.
    tagselectionadd tag
    • add tag button click after Key, Value value input or selection
    Table. MySQL(DBaaS) Replica Configuration Items

Replica reconstruction

In the event of a network failure or replication delay with the Master Cluster, the Replica reconstruction function can be used to re-replicate the Master Cluster’s data.

To reassemble the replica, follow the procedure below.

  1. Click All Services > Database > MySQL(DBaaS) menu. It moves to the Service Home page of MySQL(DBaaS).
  2. Service Home page, click the MySQL(DBaaS) menu. Move to the MySQL(DBaaS) list page.
  3. Click on the resource to be reconstructed as a replica on the MySQL(DBaaS) list page. It moves to the MySQL(DBaaS) details page.
  4. Replica Reconstruction 버튼을 클릭하세요. Replica Reconstruction Notification 팝업창이 열립니다.
  5. Replica Reconstruction Alert popup window, click the Confirm button.

Promote Replica Cluster to Master Cluster

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

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

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

  1. All Services > Database > MySQL(DBaaS) menu is clicked. It moves to the Service Home page of MySQL(DBaaS).
  2. On the Service Home page, click the MySQL(DBaaS) menu. It moves to the MySQL(DBaaS) list page.
  3. Click the resource to be promoted to Master on the MySQL(DBaaS) list page. It moves to the MySQL(DBaaS) details page.
  4. Click the More button and click the Master Promotion button. The Master Promotion Notification popup window opens.
  5. In the Master Promotion Alert popup window, click the OK button.