It provides a service to easily create and manage relational, unstructured, and data analysis databases in a web environment.
This is the multi-page printable view of this section. Click here to print.
Database
- 1: EPAS(DBaaS)
- 1.1: Overview
- 1.1.1: Server Type
- 1.1.2: Monitoring Metrics
- 1.2: EPAS(DBaaS) Creation Guide
- 1.2.1: Connection
- 1.2.2: Managing
- 1.2.3: Read Replica
- 1.2.4: DB Backup and Recovery
- 1.2.5: Extension use
- 1.3: API Reference
- 1.4: CLI Reference
- 1.5: Release Notes
- 2: PostgreSQL(DBaaS)
- 2.1: Overview
- 2.1.1: Server Type
- 2.1.2: Monitoring Metrics
- 2.2: How-to guides
- 2.2.1: Managing DB Service
- 2.2.2: DB Backup and Restore
- 2.2.3: Configuring Read Replica
- 2.2.4: Connecting to DB Server
- 2.2.5: Using Extensions
- 2.3: API Reference
- 2.4: CLI Reference
- 2.5: Release Note
- 3: MariaDB(DBaaS)
- 3.1: Overview
- 3.1.1: Server Type
- 3.1.2: Monitoring Metrics
- 3.1.3: ServiceWatch Metrics
- 3.2: How-to guides
- 3.2.1: Managing DB Service
- 3.2.2: DB Backup and Restore
- 3.2.3: Configuring Read Replica
- 3.2.4: MariaDB(DBaaS) Server Connection
- 3.3: API Reference
- 3.4: CLI Reference
- 3.5: Release Note
- 4: MySQL(DBaaS)
- 4.1: Overview
- 4.1.1: Server Type
- 4.1.2: Monitoring Metrics
- 4.1.3: ServiceWatch Metrics
- 4.2: How-to guides
- 4.2.1: MySQL(DBaaS) server connection
- 4.2.2: Manage DB Service
- 4.2.3: DB Backup and Recovery
- 4.2.4: Configure Read Replica
- 4.3: API Reference
- 4.4: CLI Reference
- 4.5: Release Note
- 5: Microsoft SQL Server(DBaaS)
- 5.1: Overview
- 5.1.1: Server Type
- 5.1.2: Monitoring Metrics
- 5.2: How-to guides
- 5.2.1: Managing DB Service
- 5.2.2: DB Backup and Recovery
- 5.2.3: Adding Secondary
- 5.2.4: Microsoft SQL Server(DBaaS) server connection
- 5.3: API Reference
- 5.4: CLI Reference
- 5.5: Release Note
- 6: CacheStore(DBaaS)
- 6.1: Overview
- 6.1.1: Server Type
- 6.1.2: Monitoring Metrics
- 6.2: How-to guides
- 6.2.1: Managing CacheStore Service
- 6.2.2: CacheStore Backup and Recovery
- 6.2.3: CacheStore(DBaaS) server connection
- 6.3: API Reference
- 6.4: CLI Reference
- 6.5: Release Note
1 - EPAS(DBaaS)
1.1 - Overview
EPAS (EnterpriseDB Postgres Advanced Server) is Oracle-compatible RDBMS based on PostgreSQL. Samsung Cloud Platform provides EPAS Database as a Service (DBaaS) allowing you to use EPAS without separate installation and management.
EPAS(DBaaS) Service
Service Overview
EPAS(DBaaS) is a fully managed database service that provides an easy-to-use environment for creating, configuring, and managing EPAS databases. You can focus on application development and business logic without worrying about database installation, patching, backup, and recovery.
Service Architecture
EPAS(DBaaS) consists of the following components:
- Database Cluster: A cluster of one or more database servers that provides high availability and load balancing
- Storage: Block storage for storing database data, archives, and backups
- Network: VPC-based network configuration for secure data transmission
- Monitoring: Integrated monitoring and alarming through ServiceWatch
Service Features
EPAS(DBaaS) provides the following features:
- Auto Provisioning: Automatically provision database servers with just a few clicks without manual installation
- Operation Control: Easily start, stop, and restart database servers
- Backup and Recovery: Automated backup and point-in-time recovery for data protection
- Version Management: Support for multiple EPAS versions with easy upgrades
- Replica: Create read replicas for scaling read operations
- Audit: Database audit logging for compliance and security
- Parameter: Database parameter management for performance tuning
- Monitoring: Real-time monitoring and alerting for database health
- User Management: Database user and permission management
- Access Control: IP-based access control for enhanced security
- Archive: Archive management for long-term data retention
- Log Export: Database log export for analysis and troubleshooting
- Migration: Easy migration from on-premises or other cloud databases
- OS Kernel Upgrade: Automated OS kernel upgrades for security and performance
Engine Versions
EPAS(DBaaS) supports the following EPAS versions:
- EPAS 14.17
- EPAS 15.11
- EPAS 16.4
- EPAS 17.6
Server Types
EPAS(DBaaS) provides the following server types:
- Standard: Standard specifications for general workloads
- High Capacity: Large capacity servers with 24+ vCPU for high-performance workloads
Prerequisites
To use EPAS(DBaaS), you must have a VPC configured in your project. For more information on creating a VPC, see VPC Creation Guide.
1.1.1 - Server Type
EPAS(DBaaS) Server Type
EPAS(DBaaS) provides server types with various combinations of CPU, Memory, Network Bandwidth, and more. When creating an EPAS(DBaaS), the Database Engine is installed according to the selected server type based on the intended use.
The server types supported by EPAS(DBaaS) are as follows:
Standard db1v2m4
Classification | Example | Detailed Description |
|---|---|---|
| Server Type | Standard | Classification of provided server types
|
| Server Specification | db1 | Classification of provided server types and generations
|
| Server Specification | v2 | Number of vCores
|
| Server Specification | m4 | Memory capacity
|
db1 Server Type
The db1 server type of EPAS(DBaaS) is provided with standard specifications (vCPU, Memory) and is suitable for various database workloads.
- Up to 3.3Ghz Intel 3rd generation (Ice Lake) Xeon Gold 6342 Processor
- Supports up to 16 vCPUs and 256 GB of memory
- Up to 12.5 Gbps networking speed
| Classification | Server Type | vCPU | Memory | Network Bandwidth |
|---|---|---|---|---|
| Standard | db1v2m4 | 2 vCore | 4 GB | Up to 10 Gbps |
| Standard | db1v2m8 | 2 vCore | 8 GB | Up to 10 Gbps |
| Standard | db1v2m16 | 2 vCore | 16 GB | Up to 10 Gbps |
| Standard | db1v2m24 | 2 vCore | 24 GB | Up to 10 Gbps |
| Standard | db1v2m32 | 2 vCore | 32 GB | Up to 10 Gbps |
| Standard | db1v4m8 | 4 vCore | 8 GB | Up to 10 Gbps |
| Standard | db1v4m16 | 4 vCore | 16 GB | Up to 10 Gbps |
| Standard | db1v4m32 | 4 vCore | 32 GB | Up to 10 Gbps |
| Standard | db1v4m48 | 4 vCore | 48 GB | Up to 10 Gbps |
| Standard | db1v4m64 | 4 vCore | 64 GB | Up to 10 Gbps |
| Standard | db1v6m12 | 6 vCore | 12 GB | Up to 10 Gbps |
| Standard | db1v6m24 | 6 vCore | 24 GB | Up to 10 Gbps |
| Standard | db1v6m48 | 6 vCore | 48 GB | Up to 10 Gbps |
| Standard | db1v6m72 | 6 vCore | 72 GB | Up to 10 Gbps |
| Standard | db1v6m96 | 6 vCore | 96 GB | Up to 10 Gbps |
| Standard | db1v8m16 | 8 vCore | 16 GB | Up to 10 Gbps |
| Standard | db1v8m32 | 8 vCore | 32 GB | Up to 10 Gbps |
| Standard | db1v8m64 | 8 vCore | 64 GB | Up to 10 Gbps |
| Standard | db1v8m96 | 8 vCore | 96 GB | Up to 10 Gbps |
| Standard | db1v8m128 | 8 vCore | 128 GB | Up to 10 Gbps |
| Standard | db1v10m20 | 10 vCore | 20 GB | Up to 10 Gbps |
| Standard | db1v10m40 | 10 vCore | 40 GB | Up to 10 Gbps |
| Standard | db1v10m80 | 10 vCore | 80 GB | Up to 10 Gbps |
| Standard | db1v10m120 | 10 vCore | 120 GB | Up to 10 Gbps |
| Standard | db1v10m160 | 10 vCore | 160 GB | Up to 10 Gbps |
| Standard | db1v12m24 | 12 vCore | 24 GB | Up to 12.5 Gbps |
| Standard | db1v12m48 | 12 vCore | 48 GB | Up to 12.5 Gbps |
| Standard | db1v12m96 | 12 vCore | 96 GB | Up to 12.5 Gbps |
| Standard | db1v12m144 | 12 vCore | 144 GB | Up to 12.5 Gbps |
| Standard | db1v12m192 | 12 vCore | 192 GB | Up to 12.5 Gbps |
| Standard | db1v14m28 | 14 vCore | 28 GB | Up to 12.5 Gbps |
| Standard | db1v14m56 | 14 vCore | 56 GB | Up to 12.5 Gbps |
| Standard | db1v14m112 | 14 vCore | 112 GB | Up to 12.5 Gbps |
| Standard | db1v14m168 | 14 vCore | 168 GB | Up to 12.5 Gbps |
| Standard | db1v14m224 | 14 vCore | 224 GB | Up to 12.5 Gbps |
| Standard | db1v16m32 | 16 vCore | 32 GB | Up to 12.5 Gbps |
| Standard | db1v16m64 | 16 vCore | 64 GB | Up to 12.5 Gbps |
| Standard | db1v16m128 | 16 vCore | 128 GB | Up to 12.5 Gbps |
| Standard | db1v16m192 | 16 vCore | 192 GB | Up to 12.5 Gbps |
| Standard | db1v16m256 | 16 vCore | 256 GB | Up to 12.5 Gbps |
dbh2 Server Type
The dbh2 server type of EPAS(DBaaS) is provided with high-capacity server specifications and is suitable for large-scale data processing database workloads.
- Up to 3.2GHz Intel 4th generation (Sapphire Rapids) Xeon Gold 6448H Processor
- Supports up to 128 vCPUs and 1,536 GB of memory
- Up to 25Gbps networking speed
| Classification | Server Type | vCPU | Memory | Network Bandwidth |
|---|---|---|---|---|
| High Capacity | dbh2v24m48 | 24 vCore | 48 GB | Up to 25 Gbps |
| High Capacity | dbh2v24m96 | 24 vCore | 96 GB | Up to 25 Gbps |
| High Capacity | dbh2v24m192 | 24 vCore | 192 GB | Up to 25 Gbps |
| High Capacity | dbh2v24m288 | 24 vCore | 288 GB | Up to 25 Gbps |
| High Capacity | dbh2v32m64 | 32 vCore | 64 GB | Up to 25 Gbps |
| High Capacity | dbh2v32m128 | 32 vCore | 128 GB | Up to 25 Gbps |
| High Capacity | dbh2v32m256 | 32 vCore | 256 GB | Up to 25 Gbps |
| High Capacity | dbh2v32m384 | 32 vCore | 384 GB | Up to 25 Gbps |
| High Capacity | dbh2v48m192 | 48 vCore | 192 GB | Up to 25 Gbps |
| High Capacity | dbh2v48m576 | 48 vCore | 576 GB | Up to 25 Gbps |
| High Capacity | dbh2v64m256 | 64 vCore | 256 GB | Up to 25 Gbps |
| High Capacity | dbh2v64m768 | 64 vCore | 768 GB | Up to 25 Gbps |
| High Capacity | dbh2v72m288 | 72 vCore | 288 GB | Up to 25 Gbps |
| High Capacity | dbh2v72m864 | 72 vCore | 864 GB | Up to 25 Gbps |
| High Capacity | dbh2v96m384 | 96 vCore | 384 GB | Up to 25 Gbps |
| High Capacity | dbh2v96m1152 | 96 vCore | 1152 GB | Up to 25 Gbps |
| High Capacity | dbh2v128m512 | 128 vCore | 512 GB | Up to 25 Gbps |
| High Capacity | dbh2v128m1536 | 128 vCore | 1536 GB | Up to 25 Gbps |
1.1.2 - Monitoring Metrics
EPAS(DBaaS) Monitoring Metrics
The table below shows the performance monitoring metrics of EPAS (DBaaS) that can be checked through Cloud Monitoring. For detailed usage of Cloud Monitoring, refer to the Cloud Monitoring guide.
EPAS(DBaaS) server monitoring metrics refer to the Virtual Server Monitoring Metrics guide.
| Performance Item | Detailed Description | Unit |
|---|---|---|
| Active Locks [Access Exclusive] | Access Exclusive Locks count | cnt |
| Active Locks [Access Share] | Access Share Lock count | cnt |
| Active Locks | Active Locks count | cnt |
| Active Locks [Total] | Active Locks total count | cnt |
| Active Sessions | Number of Sessions in Active state | cnt |
| Active Sessions [Total] | Total number of Sessions in Active state | cnt |
| Apply Lag Time | Apply lag time | min |
| Check No Replication | Check No Replication value | cnt |
| Check Replication | Check Replication Status value | status |
| Connection Usage | DB connection usage rate(%) | % |
| Connection Usage [Total] | DB connection count usage rate(%) | % |
| DB Age Max | Database age (frozen XID) value | age |
| Exclusive Locks | Exclusive Locks count | cnt |
| Idle In Transaction Sessions | Number of sessions in idle in transaction state | cnt |
| Idle In Transaction Sessions [Total] | Idle in transaction state Session total count | cnt |
| Idle Sessions | Number of idle sessions | cnt |
| Idle Sessions [Total] | Total number of idle sessions | cnt |
| Row Exclusive Locks | Row Exclusive Locks count | cnt |
| Row Share Locks | Row Share Locks count | cnt |
| Share Locks | Share Locks count | cnt |
| Share Row Exclusive Locks | Share Row Exclusive Locks count | cnt |
| Share Update Exclusive Locks | Share Update Exclusive Locks count | cnt |
| Slowqueries | Number of SQL queries running for a long time (5 minutes or more) | cnt |
| Tablespace Used | Table space size | bytes |
| Tablespace Used [Total] | Table space size | bytes |
| Tablespace Used Bytes [MB] | File system directory usage (MB) | MB |
| Tablespaces [Total] | File system directory usage (MB) | MB |
| Transaction Time Max [Long] | Long-running Transaction time (minutes) | min |
| Transaction Time Max Total [Long] | Long-running Transaction time (minutes) | min |
| Wait Locks | Number of waiting lock sessions (by DB) | cnt |
| Wait Locks [Long Total] | Long duration (300 seconds) Lock waiting session count | cnt |
| Wait Locks [Long] | Number of Sessions waiting due to lock occurrence | cnt |
| Wait Locks [Total] | Total number of sessions waiting due to lock occurrence | cnt |
| Waiting Sessions | Number of Sessions in Waiting state | cnt |
| Waiting Sessions [Total] | Total number of Sessions in Waiting state | cnt |
1.2 - EPAS(DBaaS) Creation Guide
EPAS(DBaaS) Creation
You can easily create an EPAS database instance with just a few clicks through the Samsung Cloud Platform Console.
To create an EPAS(DBaaS) service, follow these steps:
- Click All Services > Database > EPAS(DBaaS) menu. You will be directed to the Service Home page for EPAS(DBaaS).
- On the Service Home page, click the Create button. The Create EPAS(DBaaS) page will appear.
- On the Create EPAS(DBaaS) page, enter the required information in each section and click the Complete button.
| Section | Required | Description |
|---|---|---|
| Image | Required | Select the image and version
|
| Service Information | Required | Enter service information
|
| Database Configuration | Required | Configure database settings
|
| User Management | Optional | User management settings
|
| Backup Settings | Optional | Backup settings
|
| Audit Log | Optional | Audit log settings
|
| ServiceWatch | Optional | ServiceWatch settings
|
| Parameter | Optional | Database parameter settings
|
| Encoding | Optional | Encoding settings
|
| Locale | Optional | Locale settings
|
| Timezone | Optional | Timezone settings
|
| Tags | Optional | Add tags
|
EPAS(DBaaS) Resource Management
Operation Control
You can control the operation status of EPAS(DBaaS) resources.
- When stopping a resource, the database instance stops and data is not lost.
- When starting a stopped resource, the database instance restarts and data is preserved.
- When restarting a resource, the database instance restarts and data is preserved.
To control the operation status, follow these steps:
- Click All Services > Database > EPAS(DBaaS) menu. You will be directed to the Service Home page for EPAS(DBaaS).
- On the Service Home page, click the EPAS(DBaaS) menu. You will be directed to the EPAS(DBaaS) List page.
- On the EPAS(DBaaS) List page, click the resource you want to control. You will be directed to the EPAS(DBaaS) Detail page.
- Click the Start, Stop, or Restart button to control the operation status.
Service Status Synchronization
You can synchronize the service status displayed in the console with the actual service status.
To synchronize the service status, follow these steps:
- Click All Services > Database > EPAS(DBaaS) menu. You will be directed to the Service Home page for EPAS(DBaaS).
- On the Service Home page, click the EPAS(DBaaS) menu. You will be directed to the EPAS(DBaaS) List page.
- On the EPAS(DBaaS) List page, click the Refresh button to synchronize the service status.
Server Type Change
You can change the server type of an EPAS(DBaaS) resource.
To change the server type, follow these steps:
- Click All Services > Database > EPAS(DBaaS) menu. You will be directed to the Service Home page for EPAS(DBaaS).
- On the Service Home page, click the EPAS(DBaaS) menu. You will be directed to the EPAS(DBaaS) List page.
- On the EPAS(DBaaS) List page, click the resource you want to modify. You will be directed to the EPAS(DBaaS) Detail page.
- Click the Server Type Change button. The Server Type Change popup will appear.
- Select the new server type and click the Confirm button.
Storage Addition
You can add additional storage to an EPAS(DBaaS) resource.
To add storage, follow these steps:
- Click All Services > Database > EPAS(DBaaS) menu. You will be directed to the Service Home page for EPAS(DBaaS).
- On the Service Home page, click the EPAS(DBaaS) menu. You will be directed to the EPAS(DBaaS) List page.
- On the EPAS(DBaaS) List page, click the resource you want to modify. You will be directed to the EPAS(DBaaS) Detail page.
- Click the Storage Addition button. The Storage Addition popup will appear.
- Select the storage purpose, type, and capacity, then click the Confirm button.
Storage Expansion
You can expand the storage capacity of an EPAS(DBaaS) resource.
To expand storage, follow these steps:
- Click All Services > Database > EPAS(DBaaS) menu. You will be directed to the Service Home page for EPAS(DBaaS).
- On the Service Home page, click the EPAS(DBaaS) menu. You will be directed to the EPAS(DBaaS) List page.
- On the EPAS(DBaaS) List page, click the resource you want to modify. You will be directed to the EPAS(DBaaS) Detail page.
- Click the Storage Expansion button. The Storage Expansion popup will appear.
- Enter the new storage capacity and click the Confirm button.
EPAS(DBaaS) Termination
You can terminate an EPAS(DBaaS) resource.
- Terminating a resource will permanently delete all data and cannot be recovered.
- Please make sure to backup important data before terminating.
To terminate an EPAS(DBaaS) resource, follow these steps:
- Click All Services > Database > EPAS(DBaaS) menu. You will be directed to the Service Home page for EPAS(DBaaS).
- On the Service Home page, click the EPAS(DBaaS) menu. You will be directed to the EPAS(DBaaS) List page.
- On the EPAS(DBaaS) List page, click the resource you want to terminate. You will be directed to the EPAS(DBaaS) Detail page.
- Click the Terminate button. The Terminate popup will appear.
- Enter the service name to confirm and click the Confirm button.
1.2.1 - Connection
This section explains how to connect to EPAS(DBaaS) using pgAdmin.
Connection Scenario
The scenario involves connecting to EPAS(DBaaS) through a Bastion host in a VPC environment.
Prerequisites
- VPC created
- Subnet created
- Public IP allocated
- Internet Gateway created and attached
- Security Group configured
- Virtual Server (Bastion host) created
- EPAS(DBaaS) created
Connection Steps
Create VPC
Create a VPC to host the EPAS(DBaaS) and Bastion host.
Create Subnet
Create a subnet within the VPC for the EPAS(DBaaS) and Bastion host.
Allocate Public IP
Allocate a public IP for the Bastion host to allow external access.
Create and Attach Internet Gateway
Create an Internet Gateway and attach it to the VPC to enable internet access.
Configure Security Group
Configure the security group to allow access to the EPAS(DBaaS) from the Bastion host.
Create Virtual Server (Bastion Host)
Create a Virtual Server to serve as the Bastion host.
Connect to EPAS(DBaaS) using pgAdmin
Use pgAdmin to connect to the EPAS(DBaaS) through the Bastion host.
Detailed Connection Steps
1. Create VPC
- Click All Services > Network > VPC menu.
- Click the Create button.
- Enter the VPC name and CIDR block.
- Click the Confirm button.
2. Create Subnet
- Click All Services > Network > Subnet menu.
- Click the Create button.
- Select the VPC created in step 1.
- Enter the subnet name and CIDR block.
- Click the Confirm button.
3. Allocate Public IP
- Click All Services > Network > Public IP menu.
- Click the Allocate button.
- Select the VPC and subnet created in steps 1 and 2.
- Click the Confirm button.
4. Create and Attach Internet Gateway
- Click All Services > Network > Internet Gateway menu.
- Click the Create button.
- Select the VPC created in step 1.
- Click the Confirm button.
5. Configure Security Group
- Click All Services > Network > Security Group menu.
- Click the Create button.
- Enter the security group name and description.
- Add inbound rules to allow access from the Bastion host to the EPAS(DBaaS) port.
- Click the Confirm button.
6. Create Virtual Server (Bastion Host)
- Click All Services > Compute > Virtual Server menu.
- Click the Create button.
- Select the VPC and subnet created in steps 1 and 2.
- Select the public IP allocated in step 3.
- Select the security group configured in step 5.
- Click the Confirm button.
7. Connect to EPAS(DBaaS) using pgAdmin
- Install pgAdmin on your local machine.
- Open pgAdmin and create a new server connection.
- Enter the connection information:
- Host: EPAS(DBaaS) private IP address
- Port: EPAS(DBaaS) port number (default: 5432)
- Database: Database name
- Username: Database username
- Password: Database password
- Click the Connect button to connect to the EPAS(DBaaS).
1.2.2 - Managing
This section explains how to manage EPAS(DBaaS) resources.
DB User Management
You can manage database users for EPAS(DBaaS).
Creating DB User
To create a database user, follow these steps:
- Click All Services > Database > EPAS(DBaaS) menu. You will be directed to the Service Home page for EPAS(DBaaS).
- On the Service Home page, click the EPAS(DBaaS) menu. You will be directed to the EPAS(DBaaS) List page.
- On the EPAS(DBaaS) List page, click the resource you want to manage. You will be directed to the EPAS(DBaaS) Detail page.
- Click the DB User Management button. The DB User Management popup will appear.
- Click the Create button. The Create DB User popup will appear.
- Enter the user name, password, and privileges, then click the Confirm button.
Modifying DB User
To modify a database user, follow these steps:
- Click All Services > Database > EPAS(DBaaS) menu. You will be directed to the Service Home page for EPAS(DBaaS).
- On the Service Home page, click the EPAS(DBaaS) menu. You will be directed to the EPAS(DBaaS) List page.
- On the EPAS(DBaaS) List page, click the resource you want to manage. You will be directed to the EPAS(DBaaS) Detail page.
- Click the DB User Management button. The DB User Management popup will appear.
- Click the Modify button next to the user you want to modify. The Modify DB User popup will appear.
- Modify the user information and click the Confirm button.
Deleting DB User
To delete a database user, follow these steps:
- Click All Services > Database > EPAS(DBaaS) menu. You will be directed to the Service Home page for EPAS(DBaaS).
- On the Service Home page, click the EPAS(DBaaS) menu. You will be directed to the EPAS(DBaaS) List page.
- On the EPAS(DBaaS) List page, click the resource you want to manage. You will be directed to the EPAS(DBaaS) Detail page.
- Click the DB User Management button. The DB User Management popup will appear.
- Click the Delete button next to the user you want to delete. The Delete DB User popup will appear.
- Click the Confirm button to delete the user.
DB Access Control Management
You can manage access control for EPAS(DBaaS).
Setting IP Access Control
To set IP access control, follow these steps:
- Click All Services > Database > EPAS(DBaaS) menu. You will be directed to the Service Home page for EPAS(DBaaS).
- On the Service Home page, click the EPAS(DBaaS) menu. You will be directed to the EPAS(DBaaS) List page.
- On the EPAS(DBaaS) List page, click the resource you want to manage. You will be directed to the EPAS(DBaaS) Detail page.
- Click the IP Access Control button. The IP Access Control popup will appear.
- Enter the IP address or CIDR block and click the Add button.
- Click the Confirm button to save the settings.
Modifying IP Access Control
To modify IP access control, follow these steps:
- Click All Services > Database > EPAS(DBaaS) menu. You will be directed to the Service Home page for EPAS(DBaaS).
- On the Service Home page, click the EPAS(DBaaS) menu. You will be directed to the EPAS(DBaaS) List page.
- On the EPAS(DBaaS) List page, click the resource you want to manage. You will be directed to the EPAS(DBaaS) Detail page.
- Click the IP Access Control button. The IP Access Control popup will appear.
- Click the x button next to the IP address you want to delete.
- Click the Confirm button to save the settings.
Archive Management
You can manage archive settings for EPAS(DBaaS).
Setting Archive
To set archive, follow these steps:
- Click All Services > Database > EPAS(DBaaS) menu. You will be directed to the Service Home page for EPAS(DBaaS).
- On the Service Home page, click the EPAS(DBaaS) menu. You will be directed to the EPAS(DBaaS) List page.
- On the EPAS(DBaaS) List page, click the resource you want to manage. You will be directed to the EPAS(DBaaS) Detail page.
- Click the Archive button. The Archive popup will appear.
- Enable or disable archive and configure the settings.
- Click the Confirm button to save the settings.
DB Log Export
You can export database logs for EPAS(DBaaS).
Exporting DB Log
To export database logs, follow these steps:
- Click All Services > Database > EPAS(DBaaS) menu. You will be directed to the Service Home page for EPAS(DBaaS).
- On the Service Home page, click the EPAS(DBaaS) menu. You will be directed to the EPAS(DBaaS) List page.
- On the EPAS(DBaaS) List page, click the resource you want to manage. You will be directed to the EPAS(DBaaS) Detail page.
- Click the DB Log Export button. The DB Log Export popup will appear.
- Select the log type and date range, then click the Export button.
Minor Version Upgrade
You can upgrade the minor version of EPAS(DBaaS).
Upgrading Minor Version
To upgrade the minor version, follow these steps:
- Click All Services > Database > EPAS(DBaaS) menu. You will be directed to the Service Home page for EPAS(DBaaS).
- On the Service Home page, click the EPAS(DBaaS) menu. You will be directed to the EPAS(DBaaS) List page.
- On the EPAS(DBaaS) List page, click the resource you want to upgrade. You will be directed to the EPAS(DBaaS) Detail page.
- Click the Minor Version Upgrade button. The Minor Version Upgrade popup will appear.
- Select the target version and click the Confirm button.
Migration Configuration
You can configure migration for EPAS(DBaaS).
Setting Migration
To set migration, follow these steps:
- Click All Services > Database > EPAS(DBaaS) menu. You will be directed to the Service Home page for EPAS(DBaaS).
- On the Service Home page, click the EPAS(DBaaS) menu. You will be directed to the EPAS(DBaaS) List page.
- On the EPAS(DBaaS) List page, click the resource you want to migrate. You will be directed to the EPAS(DBaaS) Detail page.
- Click the Migration button. The Migration popup will appear.
- Enter the source database connection information and migration settings.
- Click the Confirm button to start the migration.
OS Kernel Upgrade
You can upgrade the OS kernel for EPAS(DBaaS).
Upgrading OS Kernel
To upgrade the OS kernel, follow these steps:
- Click All Services > Database > EPAS(DBaaS) menu. You will be directed to the Service Home page for EPAS(DBaaS).
- On the Service Home page, click the EPAS(DBaaS) menu. You will be directed to the EPAS(DBaaS) List page.
- On the EPAS(DBaaS) List page, click the resource you want to upgrade. You will be directed to the EPAS(DBaaS) Detail page.
- Click the OS Kernel Upgrade button. The OS Kernel Upgrade popup will appear.
- Review the upgrade information and click the Confirm button.
1.2.3 - Read Replica
This section explains how to configure read replicas for EPAS(DBaaS).
Creating Read Replica
You can create read replicas to scale read operations and improve performance.
To create a read replica, follow these steps:
- Click All Services > Database > EPAS(DBaaS) menu. You will be directed to the Service Home page for EPAS(DBaaS).
- On the Service Home page, click the EPAS(DBaaS) menu. You will be directed to the EPAS(DBaaS) List page.
- On the EPAS(DBaaS) List page, click the primary database resource you want to create a replica for. You will be directed to the EPAS(DBaaS) Detail page.
- Click the Create Read Replica button. The Create Read Replica popup will appear.
- Enter the following information:
- Replica Name: Name of the read replica
- Server Type: Server type for the replica
- Storage: Storage configuration for the replica
- Click the Confirm button to create the read replica.
Configuring Read Replica
You can configure the settings of a read replica.
Modifying Read Replica
To modify a read replica, follow these steps:
- Click All Services > Database > EPAS(DBaaS) menu. You will be directed to the Service Home page for EPAS(DBaaS).
- On the Service Home page, click the EPAS(DBaaS) menu. You will be directed to the EPAS(DBaaS) List page.
- On the EPAS(DBaaS) List page, click the read replica resource you want to modify. You will be directed to the EPAS(DBaaS) Detail page.
- Click the Modify button. The Modify Read Replica popup will appear.
- Modify the settings and click the Confirm button.
Promoting Read Replica
You can promote a read replica to a standalone primary database.
To promote a read replica, follow these steps:
- Click All Services > Database > EPAS(DBaaS) menu. You will be directed to the Service Home page for EPAS(DBaaS).
- On the Service Home page, click the EPAS(DBaaS) menu. You will be directed to the EPAS(DBaaS) List page.
- On the EPAS(DBaaS) List page, click the read replica resource you want to promote. You will be directed to the EPAS(DBaaS) Detail page.
- Click the Promote button. The Promote Read Replica popup will appear.
- Review the promotion information and click the Confirm button to promote the replica.
Deleting Read Replica
You can delete a read replica.
To delete a read replica, follow these steps:
- Click All Services > Database > EPAS(DBaaS) menu. You will be directed to the Service Home page for EPAS(DBaaS).
- On the Service Home page, click the EPAS(DBaaS) menu. You will be directed to the EPAS(DBaaS) List page.
- On the EPAS(DBaaS) List page, click the read replica resource you want to delete. You will be directed to the EPAS(DBaaS) Detail page.
- Click the Delete button. The Delete Read Replica popup will appear.
- Click the Confirm button to delete the read replica.
1.2.4 - DB Backup and Recovery
Users can configure backups for EPAS(DBaaS) through the Samsung Cloud Platform Console and recover using the backed up files.
EPAS(DBaaS) Backup
To ensure users’ data is safely stored, EPAS(DBaaS) provides data backup functionality based on its own backup commands. Additionally, you can verify whether backups were performed normally through the backup history feature and delete backed up files.
Setting Backup
For information on how to set up backups for EPAS(DBaaS), see EPAS(DBaaS) Creation Guide.
To modify the backup settings of a created resource, follow these steps:
- For stable backup, it is recommended to add separate BACKUP storage or sufficiently expand the storage capacity. In particular, if the backup target data exceeds 100 GB and there are many data changes, please secure additional storage equivalent to approximately 60% of the data capacity. For information on adding and expanding storage, see EPAS(DBaaS) Storage Addition and EPAS(DBaaS) Storage Expansion guides.
- If backup is set, backup will be performed at the specified time after the set time, and additional charges will be incurred depending on the backup capacity.
- If the backup setting is changed to Not Set, backup execution will immediately stop, and stored backup data will be deleted and can no longer be used.
To set up backup, follow these steps:
- Click All Services > Database > EPAS(DBaaS) menu. You will be directed to the Service Home page for EPAS(DBaaS).
- On the Service Home page, click the EPAS(DBaaS) menu. You will be directed to the EPAS(DBaaS) List page.
- On the EPAS(DBaaS) List page, click the resource for which you want to set up backup. You will be directed to the EPAS(DBaaS) Detail page.
- Click the Modify button in the Backup section. The Backup Settings popup will appear.
- To set up backup, click Enable in the Backup Settings popup, select the retention period, backup start time, and archive backup cycle, then click the Confirm button.
- To stop backup settings, uncheck Enable in the Backup Settings popup and click the Confirm button.
Checking Backup History
To view backup history, follow these steps:
- Click All Services > Database > EPAS(DBaaS) menu. You will be directed to the Service Home page for EPAS(DBaaS).
- On the Service Home page, click the EPAS(DBaaS) menu. You will be directed to the EPAS(DBaaS) List page.
- On the EPAS(DBaaS) List page, click the resource for which you want to check backup history. You will be directed to the EPAS(DBaaS) Detail page.
- Click the Backup History button. The Backup History popup will appear.
- In the Backup History popup, you can check the backup status, version, backup start date/time, backup completion date/time, and capacity.
Deleting Backup Files
To delete backup history, follow these steps:
- Click All Services > Database > EPAS(DBaaS) menu. You will be directed to the Service Home page for EPAS(DBaaS).
- On the Service Home page, click the EPAS(DBaaS) menu. You will be directed to the EPAS(DBaaS) List page.
- On the EPAS(DBaaS) List page, click the resource for which you want to check backup history. You will be directed to the EPAS(DBaaS) Detail page.
- Click the Backup History button. The Backup History popup will appear.
- In the Backup History popup, check the file you want to delete and click the Delete button.
EPAS(DBaaS) Recovery
If recovery using backup files is required due to failure or data loss, you can recover based on a specific point in time through the recovery function. When EPAS(DBaaS) recovery is performed, a new server is created with the OS image at the time of initial provisioning, the DB is installed with the version at that backup point, and recovery proceeds with the DB configuration information and data.
To recover EPAS(DBaaS), follow these steps:
- Click All Services > Database > EPAS(DBaaS) menu. You will be directed to the Service Home page for EPAS(DBaaS).
- On the Service Home page, click the EPAS(DBaaS) menu. You will be directed to the EPAS(DBaaS) List page.
- On the EPAS(DBaaS) Resource list page, click the resource you want to recover. You will be directed to the EPAS(DBaaS) Detail page.
- Click the Database Recovery button. You will be directed to the Database Recovery page.
- After entering the corresponding information in the Database Recovery Configuration section, click the Complete button.
Item RequiredDetailed Description Recovery Type Required Set the point in time the user wants to recover - Backup Point (Recommended): Recovery based on backup files. Select from the list of backup file points displayed in the list
- User-Specified Point: Recover to a point desired by the user within the range of points where backup is possible. The recoverable period can recover from the first backup start time to 1 hour/30 minutes/10 minutes/5 minutes before the current time depending on the Archive backup cycle setting value. Select the date and time you want to backup
Server Name Prefix Required Recovered DB server name - Enter 3~16 characters starting with lowercase English letters and using lowercase letters, numbers, and special characters (
-)
- Actual server name is created with a postfix like 001, 002 based on the server name
Cluster Name Required Recovered DB cluster name - Enter 3~20 characters using English letters
- Cluster is a unit that groups multiple servers
Service Type > Server Type Required Recovered DB server type - Standard: Standard specifications generally used
- High Capacity: Large capacity servers with 24vCore or more
Service Type > Planned Compute Optional Status of resources with Planned Compute set - In Use: Number of resources in use among resources with Planned Compute set
- Set: Number of resources with Planned Compute set
- Coverage Preview: Amount applied by Planned Compute for each resource
- Create Planned Compute Service: Move to Planned Compute service application page
- For details, see Applying for Planned Compute
Service Type > Block Storage Required Block Storage settings used by recovered DB - Basic OS: Area where DB engine is installed
- DATA: Storage area for table data and archive files
- Applied identically with the Storage type set in the original cluster
- Enter capacity in multiples of 8 in the range of 16~5,120
- Additional: DATA, Archive, TEMP, Backup data storage area
- Applied identically with the Storage type set in the original cluster
- In recovered DB, only DATA, TEMP, Archive purposes can be added
- Select Use and then enter the storage purpose and capacity
- Click + button to add storage, x button to delete
- Capacity can be entered in multiples of 8 in the range of 16~5,120, and up to 9 can be created
Database Username Required Database username - Applied identically with the username set in the original cluster
Database Port Number Required Database port number - Applied identically with the port number set in the original cluster
IP Access Control Optional Service access policy settings - Sets access policy for IPs entered on the page, so separate Security Group policy settings are 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 Window Optional DB 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 DB management. Patch operations proceed at the set time and service interruption occurs
- If set to Not Use, Samsung SDS is not responsible for problems caused by not applying patches
Tags Optional Add tags - Click the Add Tag button and then enter or select Key, Value values
Table. EPAS(DBaaS) Recovery Configuration Items
1.2.5 - Extension use
EPAS(DBaaS) Extension usage
The list of Extensions that can be installed in the current database can be checked with the following SQL sentence.
SQL> select * from pg_available_extensions;
In EPAS(DBaaS), the items that are installed additionally, excluding the default Extensions included in each version, are as follows.
| Extension Name | Description |
|---|---|
| pg_cron | a scheduler that allows job scheduling with cron syntax within the database |
| pgvector | Vector data type and similarity search, etc. AI vector operation function provided |
| postgis | GIS (Geographic Information System) provides spatial object storage and spatial query functionality |
In addition to the above items, if additional Extension installation is required, please refer to Support Center > Inquiry for inquiries.
- Once your inquiry is received, we will review and proceed with the installation. Please note that some Extensions may not work properly during Replica configuration and recovery.
1.3 - API Reference
1.4 - CLI Reference
1.5 - Release Notes
- Added disaster recovery replica function
- Added OS upgrade function
- Added DB user management function
- Added Archive management function
- Added audit log export function
- Added backup notification function
- Added migration function
- Added 2nd generation server
- Launched EPAS(DBaaS) service
2 - PostgreSQL(DBaaS)
2.1 - Overview
Service Overview
PostgreSQL(DBaaS) is an open-source relational database management system (RDBMS). Samsung Cloud Platform provides an environment that automates PostgreSQL installation and performs management functions for operation through a web-based Console.
PostgreSQL(DBaaS) is designed as a high availability architecture considering storage-based data replication and failover time minimization. To prevent data loss, when the content of the Active server changes, it is synchronously replicated to the Standby server. Read-only servers called Replica for read load distribution and disaster recovery (DR) are provided up to 5. Additionally, in preparation for problems with the DB server or data, it provides automatic backup at a time specified by the user, supporting data recovery at a desired point in time.
Provided Features
PostgreSQL(DBaaS) provides the following features.
- Auto Provisioning: Database (DB) installation and configuration via UI, providing Active-Standby redundancy configuration based on storage replication. Automatic failover to Standby when Active server fails.
- Operation Control Management: Provides function to control running server status. Start, stop, and restart possible for DB issues or to reflect configuration values. For HA configuration, users can directly perform Active-Standby node switching through Switch-over.
- Backup and Recovery: Provides data backup function based on own backup commands. Backup time period and retention period can be set by user, and additional charges are incurred depending on backup capacity. Also provides recovery function for backed up data, where user performs recovery and separate DB is created, recovery proceeds to point in time selected by user (backup storage point, user-specified point). When recovering to user-specified point, recovery point can be set up to 5 minutes/10 minutes/30 minutes/1 hour before current time based on stored backup files and archive files.
- Version Management: Provides version upgrade (Minor) function for some feature improvements and security patches. User can select whether to perform backup according to version upgrade, and if performing backup, backs up data before patch execution then performs DB engine update.
- Replica Configuration: Can configure up to 5 Read Replicas in same/different regions for read load distribution and disaster recovery (DR).
- Audit Settings: Supports audit function for major activities in database.
- Parameter Management: Can modify DB configuration parameters for performance improvement and security.
- Service Status Check: Checks final status of current DB service.
- Monitoring: Can check CPU, memory, DB performance monitoring information through Cloud Monitoring service.
- DB User Management: Manages DB account (user) information registered in DB.
- DB Access Control Management: Can register and cancel access-allowed IPs based on DB accounts registered in DB.
- Archive Management: Can set Archive file retention period (1~35 days) and Archive mode (On/Off) in DB server.
- DB Log Export: Can export logs stored through Audit settings to user’s Object Storage.
- Migration: Supports migration using replication method by synchronizing data with operating database in real time without service interruption.
- OS Kernel Upgrade: Can upgrade OS Kernel for some feature improvements and security patch application.
Components
PostgreSQL(DBaaS) provides pre-verified engine versions and various server types according to open source support policy. Users can select and use according to the service scale they want to configure.
Engine Versions
Engine versions supported by PostgreSQL(DBaaS) are as follows.
Technical support can be used until the supplier’s EoTS (End of Technical Service) date, and the EOS date when new creation stops is set to 6 months before the EoTS date.
EOS and EoTS dates may change according to supplier policy, so please refer to the supplier’s license management policy page for details.
- PostgreSQL: https://www.postgresql.org/support/versioning/
| Provided Version | EOS Date (Samsung Cloud Platform New Creation Stop Date) | EoTS Date (Community Technical Support End Date) |
|---|---|---|
| 14.17 | 2026-07 (Scheduled) | 2026-11-12 |
| 14.18 | 2026-07 (Scheduled) | 2026-11-12 |
| 15.12 | 2027-06 (Scheduled) | 2027-11-11 |
| 15.13 | 2027-06 (Scheduled) | 2027-11-11 |
| 15.14 | 2027-06 (Scheduled) | 2027-11-11 |
| 16.8 | 2028-06 (Scheduled) | 2028-11-09 |
| 16.9 | 2028-06 (Scheduled) | 2028-11-09 |
| 16.10 | 2028-06 (Scheduled) | 2028-11-09 |
| 17.6 | 2029-06 (Scheduled) | 2029-11-08 |
Server Type
Server types supported by PostgreSQL(DBaaS) are as follows.
For details on server types provided by PostgreSQL(DBaaS), see PostgreSQL(DBaaS) Server Type.
Standard db1v2m4
| Category | Example | Detailed Description |
|---|---|---|
| Server Type | Standard | Provided server types
|
| Server Specification | db1 | Provided server specifications
|
| Server Specification | v2 | vCore count
|
| Server Specification | m4 | Memory capacity
|
Prerequisite Services
List of services that must be configured in advance before creating this service. For details, please prepare in advance by referring to the guide provided for each service.
| Service Category | Service | Detailed Description |
|---|---|---|
| Networking | VPC | Service that provides independent virtual network in cloud environment |
2.1.1 - Server Type
PostgreSQL(DBaaS) server type
PostgreSQL(DBaaS) provides a server type composed of various combinations such as CPU, Memory, Network Bandwidth. When creating PostgreSQL(DBaaS), the Database Engine is installed according to the server type selected for the purpose of use.
The server types supported by PostgreSQL(DBaaS) are as follows.
Standard db1v2m4
Classification | Example | Detailed Description |
|---|---|---|
| Server Type | Standard | Provided server type distinction
|
| Server specification | db1 | Provided server type distinction and generation
|
| Server specification | v2 | Number of vCores
|
| Server specification | m4 | Memory capacity
|
| Fig. PostgreSQL(DBaaS) server type format |
db1 server type
The db1 server type of PostgreSQL(DBaaS) is provided with standard specifications(vCPU, Memory) and is suitable for various database workloads.
Up to 3.3Ghz Intel 3rd generation (Ice Lake) Xeon Gold 6342 Processor Supports up to 16 vCPUs and 256 GB of memory Up to 12.5 Gbps of networking speed
| Classification | Server Type | vCPU | Memory | Network Bandwidth |
|---|---|---|---|---|
| Standard | db1v2m4 | 2 vCore | 4 GB | Up to 10 Gbps |
| Standard | db1v2m8 | 2 vCore | 8 GB | Up to 10 Gbps |
| Standard | db1v2m16 | 2 vCore | 16 GB | Up to 10 Gbps |
| Standard | db1v2m24 | 2 vCore | 24 GB | Up to 10 Gbps |
| Standard | db1v2m32 | 2 vCore | 32 GB | Up to 10 Gbps |
| Standard | db1v4m8 | 4 vCore | 8 GB | Up to 10 Gbps |
| Standard | db1v4m16 | 4 vCore | 16 GB | Up to 10 Gbps |
| Standard | db1v4m32 | 4 vCore | 32 GB | Up to 10 Gbps |
| Standard | db1v4m48 | 4 vCore | 48 GB | Up to 10 Gbps |
| Standard | db1v4m64 | 4 vCore | 64 GB | Up to 10 Gbps |
| Standard | db1v6m12 | 6 vCore | 12 GB | Up to 10 Gbps |
| Standard | db1v6m24 | 6 vCore | 24 GB | Up to 10 Gbps |
| Standard | db1v6m48 | 6 vCore | 48 GB | Up to 10 Gbps |
| Standard | db1v6m72 | 6 vCore | 72 GB | Up to 10 Gbps |
| Standard | db1v6m96 | 6 vCore | 96 GB | Up to 10 Gbps |
| Standard | db1v8m16 | 8 vCore | 16 GB | Up to 10 Gbps |
| Standard | db1v8m32 | 8 vCore | 32 GB | Up to 10 Gbps |
| Standard | db1v8m64 | 8 vCore | 64 GB | Up to 10 Gbps |
| Standard | db1v8m96 | 8 vCore | 96 GB | Up to 10 Gbps |
| Standard | db1v8m128 | 8 vCore | 128 GB | Up to 10 Gbps |
| Standard | db1v10m20 | 10 vCore | 20 GB | Up to 10 Gbps |
| Standard | db1v10m40 | 10 vCore | 40 GB | Up to 10 Gbps |
| Standard | db1v10m80 | 10 vCore | 80 GB | Up to 10 Gbps |
| Standard | db1v10m120 | 10 vCore | 120 GB | Up to 10 Gbps |
| Standard | db1v10m160 | 10 vCore | 160 GB | Up to 10 Gbps |
| Standard | db1v12m24 | 12 vCore | 24 GB | Up to 12.5 Gbps |
| Standard | db1v12m48 | 12 vCore | 48 GB | Up to 12.5 Gbps |
| Standard | db1v12m96 | 12 vCore | 96 GB | Up to 12.5 Gbps |
| Standard | db1v12m144 | 12 vCore | 144 GB | Up to 12.5 Gbps |
| Standard | db1v12m192 | 12 vCore | 192 GB | Up to 12.5 Gbps |
| Standard | db1v14m28 | 14 vCore | 28 GB | Up to 12.5 Gbps |
| Standard | db1v14m56 | 14 vCore | 56 GB | Up to 12.5 Gbps |
| Standard | db1v14m112 | 14 vCore | 112 GB | Up to 12.5 Gbps |
| Standard | db1v14m168 | 14 vCore | 168 GB | Up to 12.5 Gbps |
| Standard | db1v14m224 | 14 vCore | 224 GB | Up to 12.5 Gbps |
| Standard | db1v16m32 | 16 vCore | 32 GB | Up to 12.5 Gbps |
| Standard | db1v16m64 | 16 vCore | 64 GB | Up to 12.5 Gbps |
| Standard | db1v16m128 | 16 vCore | 128 GB | Up to 12.5 Gbps |
| Standard | db1v16m192 | 16 vCore | 192 GB | Up to 12.5 Gbps |
| Standard | db1v16m256 | 16 vCore | 256 GB | Up to 12.5 Gbps |
dbh2 server type
The dbh2 server type of PostgreSQL(DBaaS) is provided with large-capacity server specifications and is suitable for database workloads for large-scale data processing.
Up to 3.2GHz Intel 4th generation (Sapphire Rapids) Xeon Gold 6448H Processor Supports up to 128 vCPUs and 1,536 GB of memory Up to 25Gbps of networking speed
| Classification | Server Type | vCPU | Memory | Network Bandwidth |
|---|---|---|---|---|
| High Capacity | dbh2v24m48 | 24 vCore | 48 GB | Up to 25 Gbps |
| High Capacity | dbh2v24m96 | 24 vCore | 96 GB | Up to 25 Gbps |
| High Capacity | dbh2v24m192 | 24 vCore | 192 GB | Up to 25 Gbps |
| High Capacity | dbh2v24m288 | 24 vCore | 288 GB | Up to 25 Gbps |
| High Capacity | dbh2v32m64 | 32 vCore | 64 GB | Up to 25 Gbps |
| High Capacity | dbh2v32m128 | 32 vCore | 128 GB | Up to 25 Gbps |
| High Capacity | dbh2v32m256 | 32 vCore | 256 GB | Up to 25 Gbps |
| High Capacity | dbh2v32m384 | 32 vCore | 384 GB | Up to 25 Gbps |
| High Capacity | dbh2v48m192 | 48 vCore | 192 GB | Up to 25 Gbps |
| High Capacity | dbh2v48m576 | 48 vCore | 576 GB | Up to 25 Gbps |
| High Capacity | dbh2v64m256 | 64 vCore | 256 GB | Up to 25 Gbps |
| High Capacity | dbh2v64m768 | 64 vCore | 768 GB | Up to 25 Gbps |
| High Capacity | dbh2v72m288 | 72 vCore | 288 GB | Up to 25 Gbps |
| High Capacity | dbh2v72m864 | 72 vCore | 864 GB | Up to 25 Gbps |
| High Capacity | dbh2v96m384 | 96 vCore | 384 GB | Up to 25 Gbps |
| High Capacity | dbh2v96m1152 | 96 vCore | 1152 GB | Up to 25 Gbps |
| High Capacity | dbh2v128m512 | 128 vCore | 512 GB | Up to 25 Gbps |
| High Capacity | dbh2v128m1536 | 128 vCore | 1536 GB | Up to 25 Gbps |
2.1.2 - Monitoring Metrics
PostgreSQL(DBaaS) Monitoring Metrics
The following table shows the performance monitoring metrics of PostgreSQL(DBaaS) that can be checked through Cloud Monitoring. For detailed instructions on using Cloud Monitoring, refer to the Cloud Monitoring guide.
For server monitoring metrics of PostgreSQL(DBaaS), refer to the Virtual Server Monitoring Metrics guide.
| Performance Item | Detailed Description | Unit |
|---|---|---|
| Active Locks | Number of Active Locks | cnt |
| Active Locks [Access Exclusive] | Number of Access Exclusive Locks | cnt |
| Active Locks [Access Share] | Number of Access Share Locks | cnt |
| Active Locks [Total] | Total Number of Active Locks | cnt |
| Active Sessions | Number of Active Sessions | cnt |
| Active Sessions [Total] | Total Number of Active Sessions | cnt |
| Apply Lag Time | Apply Lag Time | min |
| Check No Replication | Check No Replication Value | cnt |
| Check Replication | Check Replication Status Value | status |
| Connection Usage | DB Connection Usage Rate (%) | % |
| Connection Usage [Total] | DB Connection Usage Rate (%) | % |
| DB Age Max | Database Age (Frozen XID) Value | age |
| Exclusive Locks | Number of Exclusive Locks | cnt |
| Idle In Transaction Sessions | Number of Idle In Transaction Sessions | cnt |
| Idle In Transaction Sessions [Total] | Total Number of Idle In Transaction Sessions | cnt |
| Idle Sessions | Number of Idle Sessions | cnt |
| Idle Sessions [Total] | Total Number of Idle Sessions | cnt |
| Row Exclusive Locks | Number of Row Exclusive Locks | cnt |
| Row Share Locks | Number of Row Share Locks | cnt |
| Share Locks | Number of Share Locks | cnt |
| Share Row Exclusive Locks | Number of Share Row Exclusive Locks | cnt |
| Share Update Exclusive Locks | Number of Share Update Exclusive Locks | cnt |
| Slowqueries | Number of Long-Running SQL Queries (over 5 minutes) | cnt |
| Tablespace Used | Table Space Size | bytes |
| Tablespace Used [Total] | Table Space Size | bytes |
| Tablespace Used Bytes [MB] | File System Directory Usage (MB) | MB |
| Tablespaces [Total] | File System Directory Usage (MB) | MB |
| Transaction Time Max [Long] | Longest Running Transaction Time (minutes) | min |
| Transaction Time Max Total [Long] | Longest Running Transaction Time (minutes) | min |
| Wait Locks | Number of Sessions Waiting for Locks (per DB) | cnt |
| Wait Locks [Long Total] | Number of Sessions Waiting for Locks for a Long Time (over 300 seconds) | cnt |
| Wait Locks [Long] | Number of Sessions Waiting for Locks | cnt |
| Wait Locks [Total] | Total Number of Sessions Waiting for Locks | cnt |
| Waiting Sessions | Number of Waiting Sessions | cnt |
| Waiting Sessions [Total] | Total Number of Waiting Sessions | cnt |
2.2 - How-to guides
Users can create PostgreSQL(DBaaS) service by entering required information and selecting detailed options through Samsung Cloud Platform Console.
Creating PostgreSQL(DBaaS)
You can create and use PostgreSQL(DBaaS) service through Samsung Cloud Platform Console.
- Please configure VPC’s Subnet type as General before creating service.
- If Subnet type is Local, creating this Database service is not possible.
- If storing large data of 2 TB or more, backup may take long time or DB performance itself may degrade. To prevent this, operational considerations are needed such as cleaning unnecessary data or moving old data to statistics collection environment
To create PostgreSQL(DBaaS), follow these steps:
Click All Services > Database > PostgreSQL(DBaaS) menu. You will be directed to the Service Home page for PostgreSQL(DBaaS).
On the Service Home page, click the Create PostgreSQL(DBaaS) button. You will be directed to the Create PostgreSQL(DBaaS) page.
On the Create PostgreSQL(DBaaS) page, enter information required for service creation and select detailed options.
- Select required information in Image and Version Selection section.
Category RequiredDetailed Description Image Version Required Provides PostgreSQL(DBaaS) version list Table. PostgreSQL(DBaaS) Image and Version Selection Items - Enter or select required information in Service Information Entry section.
Category RequiredDetailed Description Server Name Prefix Required Server name where DB will be installed - Enter 3~13 characters starting with lowercase English letters, using lowercase letters, numbers, and special characters (
-)
- Actual server name is created with Postfix like 001, 002 based on server name
Cluster Name Required Cluster name where DB servers are configured - Enter 3~20 characters using English letters
- Cluster is a unit that groups multiple servers
Service Type > Server Type Required Server type where DB will be installed - Standard: Standard specifications generally used
- High Capacity: Large capacity servers with 24vCore or more
- For details on server types provided by PostgreSQL(DBaaS), see PostgreSQL(DBaaS) Server Type
Service Type > Planned Compute Optional Status of resources with Planned Compute set - In Use: Number of resources in use among resources with Planned Compute set
- Set: Number of resources with Planned Compute set
- Coverage Preview: Amount applied by Planned Compute for each resource
- Create Planned Compute Service: Move to Planned Compute service application page
- For details, see Applying for Planned Compute
Service Type > Block Storage Required Block Storage settings used by DB according to purpose - Basic OS: Area where DB engine is installed
- DATA: Storage area for table data and archive files
- Select storage type then enter capacity (For details on Block Storage types, see Creating Block Storage)
- SSD: High performance general volume
- HDD: General volume
- SSD_KMS, HDD_KMS: Additional encryption volume using Samsung Cloud Platform KMS (Key Management System) encryption key
- Set Storage type is applied identically to additional storage
- Enter capacity in multiples of 8 in range of 16~5,120
- Must allocate separate TEMP storage for use as large Sort due to SQL execution or monthly batch may cause service interruption
- Additional: DATA, Archive, TEMP, Backup data storage area
- Select Use then enter storage purpose and capacity
- Storage type is applied identically with type set in DATA, capacity can be entered in multiples of 8 in range of 16~5,120
- Click + button to add storage, x button to delete. Up to 9 can be added
- Temporarily saves backup data in BACKUP storage before transmitting backup data
- If backup data exceeds 100 GB and data changes are frequent, recommend adding separate BACKUP storage for stable backup, recommend setting backup capacity to about 60% of DATA capacity
- If BACKUP storage is not added,
/tmparea is used, and backup fails if capacity is insufficient
- Only one Block Storage is allocated per service for Archive, TEMP, BACKUP storage
- Select storage type then enter capacity (For details on Block Storage types, see Creating Block Storage)
Redundancy Configuration Optional Redundancy configuration - If redundancy configuration is used, DB instance is configured divided into Active DB and Standby DB
Network > Common Settings Required Network settings where servers created in service are installed - Select if applying same settings to all installed servers
- Select pre-created VPC and Subnet, IP, Public NAT
- IP can only be auto-created
- Public NAT function can be used only if VPC is connected to Internet Gateway, if Use is checked can select from IPs reserved in VPC product’s Public IP. For details, see Creating Public IP
Network > Per-Server Settings Required Network settings where servers created in service are installed - Select if applying different settings per installed server
- Select pre-created VPC and Subnet, IP, Public NAT
- Enter IP for each server
- Public NAT function can be used only if VPC is connected to Internet Gateway. If Use is checked can select from IPs reserved in VPC product’s Public IP. For details, see Creating Public IP
IP Access Control Optional Service access policy settings - Sets access policy for IPs entered on page, so separate Security Group policy settings are 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 Add button
- To delete entered IP, click x button next to entered IP
Maintenance Window Optional DB maintenance window - If Use is selected, set day of week, start time, duration
- Recommend setting maintenance window for stable DB management. Patch operations proceed at set time and service interruption occurs
- If set to Not Use, Samsung SDS is not responsible for problems caused by not applying patches
Table. PostgreSQL(DBaaS) Service Information Entry Items - Enter 3~13 characters starting with lowercase English letters, using lowercase letters, numbers, and special characters (
- Enter or select required information in Database Configuration Required Information Entry section.
Category RequiredDetailed Description Database Name Required Server name applied when installing DB - Enter 3~20 characters starting with English letters, using English letters and numbers
Database Username Required DB user name - Account is created with this name in OS as well
- Enter 2~20 characters using lowercase English letters
- Database usernames with restricted use can be checked in Console
Database Password Required Password to use when accessing DB - Enter 8~30 characters including English letters, numbers, and special characters (excluding
"’)
Database Password Confirm Required Re-enter password to use when accessing DB identically Database Port Number Required Port number required for DB connection - Enter DB port in range of 1200~65535
Backup > Use Optional Whether to use backup - Select Use to set backup file retention period, backup start time, Archive backup cycle
Backup > Retention Period Optional Backup retention period - Select backup retention period, file retention period can be set 7~35 days
- Additional charges are applied to backup files depending on capacity
Backup > Backup Start Period Optional Backup start time - Select backup start time
- Minutes when backup is performed are set randomly, backup end time cannot be set
Backup > Archive Backup Cycle Optional Archive backup cycle - Select Archive backup cycle
- Archive backup cycle of 1 hour is recommended. When selecting 5 minutes, 10 minutes, 30 minutes, may affect DB performance.
Audit Log Settings Optional Whether to save Audit Log - Select Use to set Audit Log function
- DDL, DML, user connection information records are saved
- User can specify SQL statement types to Audit through
log_statementparameter, can modify through Parameter screen
- For details on this parameter, refer to PostgreSQL documentation
- User can specify SQL statement types to Audit through
- DB performance may degrade when Audit is set
- DDL, DML, user connection information records are saved
Parameter Required Parameters to use in DB - Can check detailed information of parameters by clicking View button
- Parameters can be modified after DB creation is complete, must restart DB after modification
Database Encoding Required Character encoding method to use in DB - Character set used when storing text data
- DB is created with default setting to selected Encoding
DB Locale Required Locale to use in DB - Settings related to string processing, number/currency/date/time display format
- DB is created with default setting to selected Locale
Timezone Required Standard time zone where Database will be used Table. PostgreSQL(DBaaS) Database Configuration Items - Enter or select required information in Additional Information Entry section.
Category RequiredDetailed Description Tags Optional Add tags - Can add up to 50 per resource
- Click Add Tag button then enter or select Key, Value values
Table. PostgreSQL(DBaaS) Additional Information Entry Items
- Select required information in Image and Version Selection section.
On Summary panel, check created detailed information and estimated billing amount, then click Create button.
- When creation is complete, check created resource on Resource List page.
Checking PostgreSQL(DBaaS) Detailed Information
PostgreSQL(DBaaS) service can check and modify overall resource list and detailed information. PostgreSQL(DBaaS) Detail page is composed of Detailed Information, Tags, Operation History tabs, and for DB with Replica configured, Replica Information tab is additionally configured.
To check detailed information of PostgreSQL(DBaaS) service, follow these steps.
- Click All Services > Database > PostgreSQL(DBaaS) menu. You will be directed to the Service Home page for PostgreSQL(DBaaS).
- On the Service Home page, click the PostgreSQL(DBaaS) menu. You will be directed to the PostgreSQL(DBaaS) List page.
- On the PostgreSQL(DBaaS) List page, click the resource for which you want to check detailed information. You will be directed to the PostgreSQL(DBaaS) Detail page.
- At the top of PostgreSQL(DBaaS) Detail page, status information and additional feature information are displayed.
Category Detailed Description Cluster Status Status of cluster where DB is installed - Creating: Cluster creation in progress
- Editing: Cluster changing to state performing Operation
- Error: Cluster state where error occurred during task execution
- If occurring continuously, contact administrator
- Failed: Cluster failed during creation process
- Restarting: Restarting cluster
- Running: Cluster operating normally
- Starting: Starting cluster
- Stopped: Cluster stopped
- Stopping: Stopping cluster
- Synchronizing: Synchronizing cluster
- Terminating: Deleting cluster
- Unknown: Cluster status unknown
- If occurring continuously, contact administrator
- Upgrading: Cluster changing to state performing upgrade
Cluster Control Buttons that can change cluster status - Start: Start stopped cluster
- Stop: Stop running cluster
- Restart: Restart running cluster
- Switch-Over: Switch Standby cluster to Active
Additional Features More Cluster-related management buttons - Service Status Sync: Check real-time DB service status
- Backup History: If backup is set, check backup normal execution and history
- Database Recovery: Recover DB based on specific point in time
- Parameter Management: Can check and modify DB configuration parameters
- Replica Configuration: Configure Replica which is read-only cluster
- Replica Configuration (Other Region): Configure disaster recovery Replica in other region, button disabled if no region configured in that Account
- DB User Management: Check and manage DB account (user) information registered in DB
- DB Access Control Management: Can register and cancel access-allowed IPs based on DB accounts registered in DB
- Archive Settings Management: Can set Archive file retention period and Archive mode
- DB Log Export: Can export logs saved through Audit settings to user’s Object Storage
- Migration Configuration: Provides Migration function of replication method
- OS(Kernel) Upgrade: Upgrade OS Kernel version
Service Termination Button to terminate service Table. PostgreSQL(DBaaS) Status Information and Additional Features
- At the top of PostgreSQL(DBaaS) Detail page, status information and additional feature information are displayed.
Detailed Information
On PostgreSQL(DBaaS) List page, check detailed information of selected resource, and modify information if necessary.
| Category | Detailed Description |
|---|---|
| Server Information | Server information configured in that cluster
|
| Service | Service name |
| Resource Type | Resource type |
| SRN | Unique resource ID in Samsung Cloud Platform
|
| Resource Name | Resource name
|
| Resource ID | Unique resource ID in service |
| Creator | User who created service |
| Creation Date/Time | Date/Time when service was created |
| Modifier | User who modified service information |
| Modification Date/Time | Date/Time when service information was modified |
| Image Version | Installed DB image and version information
|
| Cluster Type | Cluster type (Master Cluster, Replica Cluster, Migration Cluster) |
| Cluster Name | Cluster name where DB servers are configured |
| Master Cluster Name | Master cluster name of Replica
|
| Database Name | Server name applied when DB was installed |
| Database Username | DB user name |
| Planned Compute | Status of resources with Planned Compute set
|
| Maintenance Window | DB patch operation period setting status
|
| Backup | Backup setting status
|
| Audit Log Settings | Audit Log setting status
|
| Timezone | Standard time zone where Database will be used |
| DB Locale | Locale to use in DB |
| Database Encoding | Character encoding method to use in DB |
| VIP | Virtual IP information
|
| Network | Network information where DB is installed (VPC, Subnet, VIP, NAT IP (VIP)) |
| IP Access Control | Service access policy settings
|
| Active & Standby | Active/Standby server type, Basic OS, additional Disk information
|
Replica Information
Replica Information tab is activated only when Replica is configured in cluster. Through Replica Information tab, can check Master cluster name, replica count, Replica’s replication status.
| Category | Detailed Description |
|---|---|
| Master Information | Name of Master cluster |
| Replica Count | Number of Replicas created in Master cluster |
| Replica Status | Replica server status created in Master cluster
|
Tags
On PostgreSQL(DBaaS) List page, check tag information of selected resource, and add, change, or delete.
| Category | Detailed Description |
|---|---|
| Tag List | Tag list
|
Operation History
On PostgreSQL(DBaaS) List page, can check operation history of selected resource.
| Category | Detailed Description |
|---|---|
| Operation History List | Resource change history
|
Managing PostgreSQL(DBaaS) Resources
If existing configuration options of created PostgreSQL(DBaaS) resource need to be changed, or recovery, Replica configuration is needed, can perform tasks on PostgreSQL(DBaaS) Detail page.
Controlling Operation
If changes occur to running PostgreSQL(DBaaS) resource, can start, stop, restart. Also, if HA is configured, can switch Active-Standby servers through Switch-over.
To control PostgreSQL(DBaaS) operation, follow these steps:
- Click All Services > Database > PostgreSQL(DBaaS) menu. You will be directed to the Service Home page for PostgreSQL(DBaaS).
- On the Service Home page, click the PostgreSQL(DBaaS) menu. You will be directed to the PostgreSQL(DBaaS) List page.
- On the PostgreSQL(DBaaS) List page, click the resource to control operation. You will be directed to the PostgreSQL(DBaaS) Detail page.
- Check PostgreSQL(DBaaS) status and complete change through control buttons below.
- Start: DB service installed server and DB service run (Running).
- Stop: DB service installed server and DB service stop (Stopped).
- Restart: Only DB service restarts.
- Switch Over: Can change Active server and Standby server of DB.
Synchronizing Service Status
Can synchronize real-time service status of PostgreSQL(DBaaS).
To check PostgreSQL(DBaaS) service status, follow these steps:
- Click All Services > Database > PostgreSQL(DBaaS) menu. You will be directed to the Service Home page for PostgreSQL(DBaaS).
- On the Service Home page, click the PostgreSQL(DBaaS) menu. You will be directed to the PostgreSQL(DBaaS) List page.
- On the PostgreSQL(DBaaS) List page, click the resource to check service status. You will be directed to the PostgreSQL(DBaaS) Detail page.
- Click Service Status Sync button. Cluster changes to Synchronizing status while checking.
- When check is complete, status is updated in server information item, and cluster changes to Running status.
Changing Server Type
Can change configured server type.
To change server type, follow these steps:
- Click All Services > Database > PostgreSQL(DBaaS) menu. You will be directed to the Service Home page for PostgreSQL(DBaaS).
- On the Service Home page, click the PostgreSQL(DBaaS) menu. You will be directed to the PostgreSQL(DBaaS) List page.
- On the PostgreSQL(DBaaS) List page, click the resource to change server type. You will be directed to the PostgreSQL(DBaaS) Detail page.
- Click Modify icon of server type to change at bottom of detailed information. Server Type Modify popup opens.
- Select server type in Server Type Modify popup, then click Confirm button.
Adding Storage
If data storage space of 5 TB or more is needed, can add storage. For DB configured in redundancy, added simultaneously to both redundancy servers.
- Applied identically with Storage type selected when creating service.
- For DB configured in redundancy, when adding storage, applied simultaneously to storage of Active DB and Standby DB.
- If Replica exists, Master cluster storage cannot be smaller than Replica storage. Expand Replica storage first then expand Master cluster storage.
- When adding Archive/Temp storage, DB restarts and temporarily unavailable.
To add storage, follow these steps:
- Click All Services > Database > PostgreSQL(DBaaS) menu. You will be directed to the Service Home page for PostgreSQL(DBaaS).
- On the Service Home page, click the PostgreSQL(DBaaS) menu. You will be directed to the PostgreSQL(DBaaS) List page.
- On the PostgreSQL(DBaaS) List page, click the resource to add storage. You will be directed to the PostgreSQL(DBaaS) Detail page.
- Click Add Disk button at bottom of detailed information. Additional Storage Request popup opens.
- In Additional Storage Request popup, enter purpose and capacity, then click Confirm button.
Expanding Storage
Can expand storage added as data area up to maximum 5 TB based on initially allocated capacity. For DB configured in redundancy, expanded simultaneously to both redundancy servers.
To expand storage capacity, follow these steps:
- Click All Services > Database > PostgreSQL(DBaaS) menu. You will be directed to the Service Home page for PostgreSQL(DBaaS).
- On the Service Home page, click the PostgreSQL(DBaaS) menu. You will be directed to the PostgreSQL(DBaaS) List page.
- On the PostgreSQL(DBaaS) List page, click the resource to change server type. You will be directed to the PostgreSQL(DBaaS) Detail page.
- Click Modify icon of additional Disk to expand at bottom of detailed information. Additional Storage Modify popup opens.
- In Additional Storage Modify popup, enter expansion capacity, then click Confirm button.
Terminating PostgreSQL(DBaaS)
Can reduce operating costs by terminating unused PostgreSQL(DBaaS). However, since terminating service may immediately stop running service, proceed with termination task after fully considering impact of service interruption.
- For DB with Replica configured, even if Master DB is terminated, Replica is not deleted together. If Replica also needs to be deleted, terminate separately from resource list.
- When terminating DB, stored data and if backup is set, all backup data are deleted.
To terminate PostgreSQL(DBaaS), follow these steps:
- Click All Services > Database > PostgreSQL(DBaaS) menu. You will be directed to the Service Home page for PostgreSQL(DBaaS).
- On the Service Home page, click the PostgreSQL(DBaaS) menu. You will be directed to the PostgreSQL(DBaaS) List page.
- On the PostgreSQL(DBaaS) List page, select resource to terminate and click Service Termination button.
- When termination is complete, check if resource is terminated on PostgreSQL(DBaaS) list page.
2.2.1 - Managing DB Service
Users can manage PostgreSQL(DBaaS) through the Samsung Cloud Platform Console.
Managing Parameters
Provides functionality to easily view and modify database configuration parameters.
Viewing Parameters
Follow these steps to view configuration parameters.
- Click the All Services > Database > PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS)’s Service Home page.
- On the Service Home page, click the PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS) List page.
- On the PostgreSQL(DBaaS) List page, click the resource for which you want to view and modify parameters. You will move to the PostgreSQL(DBaaS) Detail page.
- Click the More button and click the Parameter Management button. The Parameter Management popup window will open.
- In the Parameter Management popup window, click the View button. The View Notification popup window will open.
- When the View Notification popup window opens, click the Confirm button. Viewing may take some time.
Modifying Parameters
Follow these steps to modify configuration parameters.
- Click the All Services > Database > PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS)’s Service Home page.
- On the Service Home page, click the PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS) List page.
- On the PostgreSQL(DBaaS) List page, click the resource for which you want to view and modify parameters. You will move to the PostgreSQL(DBaaS) Detail page.
- Click the More button and click the Parameter Management button. The Parameter Management popup window will open.
- In the Parameter Management popup window, click the View button. The View Notification popup window will open.
- When the View Notification popup window opens, click the Confirm button. Viewing may take some time.
- If modification is needed, click the Modify button and enter the modification in the custom value area of the Parameter to be modified.
- When input is complete, click the Complete button.
Managing DB Users
Provides management functionality to view DB user information and change status information.
Viewing DB Users
Follow these steps to view DB users.
- Click the All Services > Database > PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS)’s Service Home page.
- On the Service Home page, click the PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS) List page.
- On the PostgreSQL(DBaaS) List page, click the resource for which you want to view DB users. You will move to the PostgreSQL(DBaaS) Detail page.
- Click the More button and click the DB User Management button. You will move to the DB User Management page.
- On the DB User Management page, click the View button. Viewing may take some time.
Changing DB User Status
Follow these steps to change the status of viewed DB users.
- Click the All Services > Database > PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS)’s Service Home page.
- On the Service Home page, click the PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS) List page.
- On the PostgreSQL(DBaaS) List page, click the resource for which you want to modify DB users. You will move to the PostgreSQL(DBaaS) Detail page.
- Click the More button and click the DB User Management button. You will move to the DB User Management page.
- On the DB User Management page, click the View button. Viewing may take some time.
- If modification is needed, click the Modify button and change the status area value or enter remarks.
- When input is complete, click the Complete button.
Managing DB Access Control
Provides IP-based DB user access control management functionality. Users can directly specify IPs that can access the database, allowing access only from permitted IPs.
Viewing DB Access Control
Follow these steps to view DB users with IP access control set.
- Click the All Services > Database > PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS)’s Service Home page.
- On the Service Home page, click the PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS) List page.
- On the PostgreSQL(DBaaS) List page, click the resource for which you want to manage access control. You will move to the PostgreSQL(DBaaS) Detail page.
- Click the More button and click the DB Access Control Management button. You will move to the DB Access Control Management page.
- On the DB Access Control Management page, click the View button. Viewing may take some time.
Adding DB Access Control
Follow these steps to add IP access control.
- Click the All Services > Database > PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS)’s Service Home page.
- On the Service Home page, click the PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS) List page.
- On the PostgreSQL(DBaaS) List page, click the resource for which you want to add IP access control. You will move to the PostgreSQL(DBaaS) Detail page.
- Click the More button and click the DB Access Control Management button. You will move to the DB Access Control Management page.
- On the DB Access Control Management page, click the View button. Viewing may take some time.
- When viewing is complete, click the Add button. The Add DB Access Control popup window will open.
- In the Add DB Access Control popup window, select the DB user name and enter the IP Address.
- When input is complete, click the Complete button.
Deleting DB Access Control
Follow these steps to delete IP access control.
- Click the All Services > Database > PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS)’s Service Home page.
- On the Service Home page, click the PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS) List page.
- On the PostgreSQL(DBaaS) List page, click the resource for which you want to delete IP access control. You will move to the PostgreSQL(DBaaS) Detail page.
- Click the More button and click the DB Access Control Management button. You will move to the DB Access Control Management page.
- On the DB Access Control Management page, click the View button. Viewing may take some time.
- When viewing is complete, click the Delete button. The Delete popup window will open.
- In the Delete popup window, click the Confirm button.
Managing Archive
Provides functionality to set Archive mode and Archive Log retention period, allowing users to flexibly configure Archive log management policies according to their operating environment. Additionally, provides functionality to manually delete Archive logs, enabling users to organize unnecessary log data and effectively manage system resources.
Setting Archive Mode
Follow these steps to set Archive mode.
- Click the All Services > Database > PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS)’s Service Home page.
- On the Service Home page, click the PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS) List page.
- On the PostgreSQL(DBaaS) List page, click the resource for which you want to set Archive mode. You will move to the PostgreSQL(DBaaS) Detail page.
- Click the More button and click the Archive Settings Management button. You will move to the Archive Settings Management page.
- On the Archive Settings Management page, click the View button. Viewing may take some time.
- Click the Modify button and select usage and retention period.
- When modification is complete, click the Complete button.
Deleting Archive Files
Follow these steps to delete Archive files.
- Click the All Services > Database > PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS)’s Service Home page.
- On the Service Home page, click the PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS) List page.
- On the PostgreSQL(DBaaS) List page, click the resource for which you want to set Archive mode. You will move to the PostgreSQL(DBaaS) Detail page.
- Click the More button and click the Archive Settings Management button. You will move to the Archive Settings Management page.
- On the Archive Settings Management page, click Delete All Archive if you want to delete all Archive files, or click Delete Backed Up Archive if you want to delete only backed up Archive files.
Modifying Audit Settings
You can change the Audit log storage settings for PostgreSQL(DBaaS).
Follow these steps to change the Audit log storage settings for PostgreSQL(DBaaS).
- Click the All Services > Database > PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS)’s Service Home page.
- On the Service Home page, click the PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS) List page.
- On the PostgreSQL(DBaaS) List page, click the resource for which you want to view the service status. You will move to the PostgreSQL(DBaaS) Detail page.
- Click the Modify icon in Audit Settings at the bottom of the detailed information. The Modify Audit Settings popup window will open.
- In the Modify Audit Settings popup window, modify the usage and then click the Confirm button.
- Selecting Use sets the Audit log function. Setting Audit logs may degrade DB performance.
- Disabling Use deletes the Audit log storage file. Please back up the Audit log file separately before disabling use.
Exporting DB Log
Supports exporting audit(Audit) log data that requires long-term retention to Object Storage. Users can directly set the log type to be saved, the destination Bucket to export to, and the cycle for exporting logs. Logs are copied and stored to the specified Object Storage according to the set criteria. Additionally, to efficiently manage disk space, provides an option to automatically delete original log files while exporting logs to Object Storage. Using this option allows you to effectively secure storage capacity while safely storing necessary log data for long-term retention.
- To use the DB Log Export function, Object Storage creation is required. For Object Storage creation, please refer to the Object Storage User Guide.
- Please check the expiration date of the authentication key. If the authentication key expires, logs will not be saved to the Bucket.
- Please be careful not to expose authentication key information externally.
Setting DB Log Export Mode
Follow these steps to set DB Log export mode.
- Click the All Services > Database > PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS)’s Service Home page.
- On the Service Home page, click the PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS) List page.
- On the PostgreSQL(DBaaS) List page, click the resource for which you want to export DB Log. You will move to the PostgreSQL(DBaaS) Detail page.
- Click the More button and click the DB Log Export button. You will move to the DB Log Export page.
- On the DB Log Export page, click the Register button. You will move to the Register DB Log Export page.
- On the Register DB Log Export page, enter the corresponding information and then click the Complete button.
Category Required Detailed DescriptionLog Type Required Log type to save Storage Bucket Name Required Object Storage Bucket name to save Authentication Key > Access key Required Access key to access the Object Storage to save Authentication Key > Secret key Required Secret key to access the Object Storage to save File Creation Cycle Required Cycle for creating files in Object Storage Delete Original Log Optional Whether to delete original logs while exporting to Object Storage Table. PostgreSQL(DBaaS) DB Log Export Configuration Items
Managing DB Log Export
Follow these steps to modify, cancel, or immediately export DB Log export settings.
- Click the All Services > Database > PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS)’s Service Home page.
- On the Service Home page, click the PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS) List page.
- On the PostgreSQL(DBaaS) List page, click the resource for which you want to manage DB Log export. You will move to the PostgreSQL(DBaaS) Detail page.
- Click the More button and click the DB Log Export button. You will move to the DB Log Export page.
- On the DB Log Export page, click the More button according to the log type you want to manage and click the Immediate Export, Modify, or Cancel button.
- Immediate Export: The selected log is exported to the Bucket of the previously set Object Storage.
- Modify: Modifies the DB Log export mode settings.
- Cancel: Cancels the DB Log export mode settings.
Upgrading Minor Version
Provides version upgrade functionality for some feature improvements and security patches. Only Minor version upgrades within the same Major version are supported.
- Please check the service status first through service status synchronization before performing version upgrade.
- Please proceed with version upgrade after setting up backup. If backup is not set, some data may not be recoverable when problems occur during update.
- In DBs with Replica configured, the Master DB version cannot be higher than the Replica version. Please check the Replica version first and perform version upgrade if necessary.
- Backed up data is automatically deleted after version upgrade is complete.
Follow these steps to upgrade Minor Version.
- Click the All Services > Database > PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS)’s Service Home page.
- On the Service Home page, click the PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS) List page.
- On the PostgreSQL(DBaaS) List page, click the resource to upgrade the version. You will move to the PostgreSQL(DBaaS) Detail page.
- Click the Modify button in the Image version item. The Version Upgrade popup window will open.
- In the Version Upgrade popup window, select the modified version and backup setting, then click the Confirm button.
- In the Version Upgrade Notification popup window, click the Confirm button.
Configuring Migration
Provides Migration functionality that replicates in real-time while synchronizing with the operating database, without service interruption, using Replication method.
Follow these steps to configure Migration.
- Click the All Services > Database > PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS)’s Service Home page.
- On the Service Home page, click the PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS) List page.
- On the PostgreSQL(DBaaS) List page, click the resource to migrate. You will move to the PostgreSQL(DBaaS) Detail page.
- Click the More button and click the Migration Configuration button. The Migration Configuration popup window will open.
- In the Migration Configuration popup window, check the instructions and click the Confirm button. You will move to the Migration Configuration page.
- On the Migration Configuration page, enter the corresponding information and then click the Connection Check button.
- When connection is complete, click the Complete button.
Category Required Detailed DescriptionSource DB Database Name Required Database name of the Source DB to be migrated Source DB IP Required IP of the Source DB to be migrated Source DB Port Required Port of the Source DB to be migrated Source DB Username Required Username of the Source DB to be migrated Source DB Password Required Password of the Source DB to be migrated Table. PostgreSQL(DBaaS) Migration Configuration Items
Promoting Migration Cluster to Master Cluster
You can promote a configured Migration Cluster to Master Cluster.
Follow these steps to promote Migration Cluster to Master.
- Click the All Services > Database > PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS)’s Service Home page.
- On the Service Home page, click the PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS) List page.
- On the PostgreSQL(DBaaS) List page, click the resource to promote to Master. You will move to the PostgreSQL(DBaaS) Detail page.
- Click the More button and click the Master Promotion button. The Master Promotion Notification popup window will open.
- In the Master Promotion Notification popup window, click the Confirm button.
Upgrading OS Kernel
You can upgrade the OS Kernel to improve operating database functionality and apply security patches.
- Service is interrupted during OS upgrade.
- Upgrade time may vary depending on the version, and if upgrade fails, it will revert to the previous configuration.
- Cannot recover to the previous OS after upgrade is complete.
Follow these steps to upgrade OS Kernel.
- Click the All Services > Database > PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS)’s Service Home page.
- On the Service Home page, click the PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS) List page.
- On the PostgreSQL(DBaaS) List page, click the resource to upgrade OS Kernel. You will move to the PostgreSQL(DBaaS) Detail page.
- Click the More button and click the OS(Kernel) Upgrade button. The OS(Kernel) Upgrade Notification popup window will open.
- In the OS(Kernel) Upgrade Notification popup window, check the instructions and click the Confirm button.
2.2.2 - DB Backup and Restore
Users can set up PostgreSQL(DBaaS) backup through the Samsung Cloud Platform Console and restore using backed up files.
Backing Up PostgreSQL(DBaaS)
PostgreSQL(DBaaS) provides data backup functionality based on its own backup commands. Additionally, through backup history viewing and backup file deletion functionality, it provides a backup environment optimized for data protection and management.
Setting Up Backup
For PostgreSQL(DBaaS) backup setup method, please refer to Creating PostgreSQL(DBaaS).
Follow these steps to modify backup settings for created resources.
- For stable backup, it is recommended to add a separate BACKUP storage or sufficiently increase storage capacity. Especially when backup target data exceeds 100 GB and there are many data changes, please secure additional storage corresponding to approximately 60% of data capacity. For adding and increasing storage, please refer to Adding PostgreSQL(DBaaS) Storage, Expanding PostgreSQL(DBaaS) Storage guides.
- When backup is set, backup is performed at the specified time after the set time, and additional charges occur depending on backup capacity.
- When backup setting is changed to Not Set, backup execution stops immediately, and stored backup data is deleted and can no longer be used.
Follow these steps to set up backup.
- Click the All Services > Database > PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS)’s Service Home page.
- On the Service Home page, click the PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS) List page.
- On the PostgreSQL(DBaaS) List page, click the resource to set backup. You will move to the PostgreSQL(DBaaS) Detail page.
- Click the Modify button in the backup item. The Backup Settings popup window will open.
- To set backup, click Use in the Backup Settings popup window, select retention period, backup start time, and Archive backup cycle, then click the Confirm button.
- To stop backup settings, uncheck Use in the Backup Settings popup window and click the Confirm button.
Viewing Backup History
Follow these steps to view backup history.
- Click the All Services > Database > PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS)’s Service Home page.
- On the Service Home page, click the PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS) List page.
- On the PostgreSQL(DBaaS) List page, click the resource to view backup history. You will move to the PostgreSQL(DBaaS) Detail page.
- Click the Backup History button. The Backup History popup window will open.
- In the Backup History popup window, you can check backup status, version, backup start datetime, backup completion datetime, and capacity.
Deleting Backup Files
Follow these steps to delete backup history.
- Click the All Services > Database > PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS)’s Service Home page.
- On the Service Home page, click the PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS) List page.
- On the PostgreSQL(DBaaS) List page, click the resource to view backup history. You will move to the PostgreSQL(DBaaS) Detail page.
- Click the Backup History button. The Backup History popup window will open.
- In the Backup History popup window, check the file to delete and then click the Delete button.
Restoring PostgreSQL(DBaaS)
In case of failure or data loss requiring restoration from backup files, you can restore based on a specific point in time through the restore function. When PostgreSQL(DBaaS) restore is performed, a new server is created with the OS image at the initial provisioning time, DB is installed with the version of that backup time, and restoration proceeds with DB configuration information and data.
Follow these steps to restore PostgreSQL(DBaaS).
- Click the All Services > Database > PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS)’s Service Home page.
- On the Service Home page, click the PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS) List page.
- On the PostgreSQL(DBaaS) Resource List page, click the resource to restore. You will move to the PostgreSQL(DBaaS) Detail page.
- Click the Database Restore button. You will move to the Database Restore page.
- Enter the corresponding information in the Database Restore Configuration area and then click the Complete button.
Category RequiredDetailed Description Restore Type Required Setting the point in time user wants to restore - Backup Point(Recommended): Restore based on backup file. Select from the list of backup file time points displayed in the list
- User-Specified Point: Restore to a point user wants within the backupable time range. The recoverable period can restore from the initial backup start time to 1 hour/30 minutes/10 minutes/5 minutes before current time according to Archive backup cycle setting value. Select the date and time to backup
Server Name Prefix Required Server name of restore DB - Enter 3~16 characters starting with lowercase English letters, using lowercase letters, numbers, and special characters(
-)
- Actual server name is created with a postfix like 001, 002 attached based on server name
Cluster Name Required Cluster name of restore DB - Enter 3 ~ 20 characters using English letters
- Cluster is a unit that groups multiple servers
Service Type > Server Type Required Server type where restore DB will be installed - Standard: Standard specifications commonly used
- High Capacity: Large-capacity servers with 24vCore or more
Service Type > Planned Compute Optional Status of resources with Planned Compute set - In Use: Number of resources with Planned Compute set that are currently in use
- Set: Number of resources with Planned Compute set
- Coverage Preview: Amount applied by Planned Compute per resource
- Create Planned Compute Service: Moves to Planned Compute service application page
- For details, refer to Applying for Planned Compute
Service Type > Block Storage Required Block Storage settings used by restore DB - Basic OS: Area where DB engine is installed
- DATA: Storage area for table data and archive files, etc.
- Applied identically with Storage type set in original cluster
- Enter capacity as a multiple of 8 in the range of 16 ~ 5,120
- Additional: Storage area for DATA, Archive, TEMP, Backup data
- Applied identically with Storage type set in original cluster
- Only DATA, TEMP, Archive purposes can be added in restore DB.
- Select Use and then enter storage purpose and capacity
- To add storage, click the + button, to delete, click the x button
- Capacity can be entered as a multiple of 8 in the range of 16 ~ 5,120, and can create up to 9
Database Username Required Database username set in original DB Database Port Number Required Database Port number set in original DB IP Access Control Optional IP address to access restore 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 entered IP, click the x button next to the entered IP
Maintenance Period Optional DB maintenance period - When Use is selected, set day of week, start time, and duration
- It is recommended to set a maintenance period for stable DB management. Patching is performed at the set time and service interruption occurs
- If set to Not Used, Samsung SDS is not responsible for problems caused by unapplied patches.
Tags Optional Add tags - Click the Add Tag button and then enter or select Key, Value values
Table. PostgreSQL(DBaaS) Restore Configuration Items
2.2.3 - Configuring Read Replica
Users can enter required information for Read Replica through the Samsung Cloud Platform Console and create the service through detailed options.
Configuring Replica
Through Replica configuration, you can create replica servers for read-only or disaster recovery purposes. You can create up to 5 Replicas per Database.
Follow these steps to configure Replica.
- Click the All Services > Database > PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS)’s Service Home page.
- On the Service Home page, click the PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS) List page.
- On the PostgreSQL(DBaaS) List page, click the resource to configure Replica. You will move to the PostgreSQL(DBaaS) Detail page.
- Click the Configure Replica button. You will move to the Configure Replica page.
- Enter information in the Configure Replica area and then click the Complete button.
Category RequiredDetailed Description Region Required Region to configure Replica - Only exposed when Replica Configuration(Other Region) is selected
Replica Count Required Number of Replicas to configure - Can configure up to 5 per cluster
- When selecting a value of 2 or more, additional input is required for Replica name and service type information
Replica Name Required Replica server name - Enter 3 ~ 19 characters starting with lowercase English letters, using lowercase letters, numbers, and special characters(
-)
- The entered Replica name is displayed as cluster name in the list
Service Type > Server Type Required Replica server type - Standard: Standard specifications commonly used
- High Capacity: Large-capacity servers with 24vCore or more
Service Type > Planned Compute Optional Status of resources with Planned Compute set - In Use: Number of resources with Planned Compute set that are currently in use
- Set: Number of resources with Planned Compute set
- Coverage Preview: Amount applied by Planned Compute per resource
- Create Planned Compute Service: Moves to Planned Compute service application page
- For details, refer to Applying for Planned Compute
Service Type > Block Storage Required Block Storage settings for Replica DB - Basic OS: Area used on the server where DB is installed
- Applied identically according to the Storage type set in the original DB
- Capacity setting is not possible
- DATA: Storage area for table data and archive files, etc.
- Applied identically according to the Storage type set in the original DB
- Capacity setting is not possible
- Additional: Storage area for DATA, Archive, TEMP, Backup data
- Applied identically according to the Storage type set in the original DB
- Only DATA, TEMP purposes can be added in Replica
- Select Use and then enter the storage purpose and capacity. Enter capacity in the range of 16 ~ 5,120 as a multiple of 8
- To add storage, click the + button, to delete, click the x button. Can add up to 9.
IP Access Control Optional Service access policy setting - Sets access policy for IPs entered on the page, so no separate Security Group policy setting is 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 entered IP, click the x button next to the entered IP
Maintenance Period Optional DB maintenance period - When Use is selected, set day of week, start time, and duration
- It is recommended to set a maintenance period for stable DB management. Patching is performed at the set time and service interruption occurs
- If set to Not Used, Samsung SDS is not responsible for problems caused by unapplied patches.
Tags Optional Add tags - Click the Add Tag button and then enter or select Key, Value values
Table. PostgreSQL(DBaaS) Replica Configuration Items
Reconfiguring Replica
In case of network failure or Replication delay with Master Cluster, you can replicate Master Cluster data again through the Replica reconfiguration function.
Follow these steps to reconfigure Replica.
- Click the All Services > Database > PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS)’s Service Home page.
- On the Service Home page, click the PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS) List page.
- On the PostgreSQL(DBaaS) List page, click the resource to reconfigure Replica. You will move to the PostgreSQL(DBaaS) Detail page.
- Click the Reconfigure Replica button. The Reconfigure Replica Notification popup window will open.
- In the Reconfigure Replica Notification popup window, click the Confirm button.
Promoting Replica Cluster to Master Cluster
You can promote a configured Replica Cluster to Master Cluster.
Follow these steps to promote Replica Cluster to Master.
- Click the All Services > Database > PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS)’s Service Home page.
- On the Service Home page, click the PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS) List page.
- On the PostgreSQL(DBaaS) List page, click the resource to promote to Master. You will move to the PostgreSQL(DBaaS) Detail page.
- Click the More button and click the Master Promotion button. The Master Promotion Notification popup window will open.
- In the Master Promotion Notification popup window, click the Confirm button.
2.2.4 - Connecting to DB Server
Scenario Overview
The PostgreSQL(DBaaS) Server Connection scenario involves creating a Bastion host(Virtual Server) and Database service, and accessing the DB service through the Bastion host. To stably access PostgreSQL(DBaaS) in the Samsung Cloud Platform environment, you need to create a Bastion host and configure network connections using it. To maintain stable and high security levels, it is recommended to configure the Database service in a Private Subnet environment and the Bastion host in a restricted Public Subnet environment.
This scenario explains the process of creating a Bastion host and Database service, configuring the network environment for Bastion host and Database access, and connecting through a DB connection client.
Scenario Components
You can configure this scenario using the following services.
| Service Group | Service | Detailed Description | |
|---|---|---|---|
| Networking | VPC | Service that provides independent virtual networks in cloud environments | |
| Networking | VPC > Subnet | Service that subdivides networks according to user needs/scale within VPC | |
| Networking | VPC > Public IP | Service that reserves public IPs and assigns/releases them to Compute resources | |
| Networking | VPC > Internet Gateway | Service that connects VPC resources to the internet | |
| Networking | Security Group | Virtual firewall that controls server traffic | |
| Database | PostgreSQL(DBaaS) | Service that easily creates and manages EPAS in a web environment | |
| Compute | Virtual Server | Virtual server optimized for cloud computing | |
| Compute | Virtual Server > Keypair | Encrypted file used to connect to Virtual Server |
- The default policy of Security Group is Deny All, so you must register only allowed IPs.
- The All Open(Any IP, Any Port) policy for In/Outbound can expose cloud resources directly to external threats.
- Setting policies with specific IPs and Ports can enhance security.
Scenario Configuration Method
Create the necessary services to configure the scenario through the following procedure.
1. Configuring Network
This explains the process of configuring the network environment for accessing Bastion Host and Database service.
1-1. Creating VPC
- Click the All Services > Networking > VPC menu. You will move to the VPC’s Service Home page.
- On the Service Home page, click the Create VPC button. You will move to the Create VPC page.
- On the Create VPC page, enter the necessary information for service creation.
- Enter the IP range as
192.168.x.0/16.
- Enter the IP range as
- On the Summary panel, check the detailed creation information and estimated billing amount, then click the Complete button.
- When creation is complete, check the created resource on the VPC List page.
1-2. Creating Subnet
- Click the All Services > Networking > VPC menu. You will move to the VPC’s Service Home page.
- On the Service Home page, click the Subnet menu. You will move to the Subnet List page.
- Click the Create Subnet button. You will move to the Create Subnet page.
- On the Create Subnet page, enter the necessary information for service creation.
- Select General as the Subnet type.
- Select the previously created VPC.
- Enter the IP range as
192.168.x.0/24.
- On the Summary panel, check the detailed creation information and estimated billing amount, then click the Complete button.
- When creation is complete, check the created resource on the Subnet List page.
1-3. Creating Internet Gateway
- Click the All Services > Networking > VPC menu. You will move to the VPC’s Service Home page.
- On the Service Home page, click the Internet Gateway menu. You will move to the Internet Gateway List page.
- Click the Create Internet Gateway button. You will move to the Create Internet Gateway page.
- On the Create Internet Gateway page, enter the required information for service creation.
- Select the previously created VPC.
- Select Use for the Firewall usage item.
- On the Summary panel, check the detailed creation information and estimated billing amount, then click the Complete button.
- When creation is complete, check the created resource on the Internet Gateway List page.
1-4. Creating Public IP
- Click the All Services > Networking > VPC menu. You will move to the VPC’s Service Home page.
- On the Service Home page, click the Public IP menu. You will move to the Public IP List page.
- Click the Reserve Public IP button. You will move to the Reserve Public IP page.
- On the Reserve Public IP page, enter the required information for service reservation.
- On the Summary panel, check the detailed creation information and estimated billing amount, then click the Complete button.
- When creation is complete, check the created resource on the Public IP List page.
1-5. Creating Security Group
- Click the All Services > Networking > Security Group menu. You will move to the Security Group’s Service Home page.
- On the Service Home page, click the Create Security Group button. You will move to the Create Security Group page.
- On the Create Security Group page, enter the required information for service creation.
- Check the entered information and click the Complete button.
- When creation is complete, check the created resource on the Security Group List page.
2. Creating Bastion Host
This explains the process of configuring the Bastion Host where the DB connection client should be installed.
2-1. Creating Server Keypair
- Click the All Services > Compute > Virtual Server menu. You will move to the Virtual Server’s Service Home page.
- On the Service Home page, click the Keypair menu. You will move to the Keypair List page.
- Click the Create Keypair button. You will move to the Create Keypair page.
- On the Create Keypair page, enter the required information for service creation.
- Check the creation information and click the Complete button.
- Key download is only possible on the first attempt, and re-issuance is not provided.
- Please store the downloaded key in a safe place.
2-2. Creating Bastion Host
- Click the All Services > Compute > Virtual Server menu. You will move to the Virtual Server’s Service Home page.
- On the Service Home page, click the Create Virtual Server button. You will move to the Create Virtual Server page.
- On the Create Virtual Server page, enter the required information for service creation.
- Select Windows for the image.
- Select the previously created VPC and Subnet.
- Click Use NAT and select the Public IP reserved in 1-4. Creating Public IP.
- Connect the Keypair created in 2-1. Creating Server Keypair.
- On the Summary panel, check the detailed creation information and estimated billing amount, then click the Complete button.
- When creation is complete, check the created resource on the Virtual Server List page.
2-3. Checking Bastion Host Connection ID and Password
- Click the All Services > Compute > Virtual Server menu. You will move to the Virtual Server’s Service Home page.
- On the Service Home page, click the Virtual Server menu. You will move to the Virtual Server List page.
- On the Virtual Server List page, click the resource created in 2-2. Creating Bastion Host. You will move to the detailed information page of that resource.
- On the detailed information page, click the RDP password lookup button in the Keypair name item. The RDP password lookup popup window will open.
- In the RDP password lookup popup window, attach the keypair file downloaded in 2-1. Creating Server Keypair.
- After attaching, click the Password check button. The ID and Password for accessing that resource will be displayed.
- The ID and Password will be used as information for accessing the Bastion host later in 5-1. Connecting to Bastion Host.
3. Creating Database
This explains the process of creating the Database service.
3-1. Creating PostgreSQL(DBaaS) Service
- Click the All Services > Database > PostgreSQL(DBaaS) menu. You will move to the PostgreSQL(DBaaS)’s Service Home page.
- On the Service Home page, click the Create PostgreSQL(DBaaS) button. You will move to the Create PostgreSQL(DBaaS) page.
- On the Create PostgreSQL(DBaaS) page, enter the required information for service creation.
- Select and connect the previously created VPC and Subnet.
- Enter Database-related creation information in 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 specify it.
- On the Summary panel, check the detailed creation information and estimated billing amount, then click the Complete button.
- When creation is complete, check the created resource on the PostgreSQL(DBaaS) List page.
4. Setting Rules
This explains the process of setting rules for users to access the Bastion host and for the Bastion host to access the Database.
4-1. Adding Security Group Security Rules
- Click the All Services > Networking > Security Group menu. You will move to the Security Group’s Service Home page.
- On the Service Home page, click the Security Group menu. You will move to the Security Group List page.
- Select the Security Group resource created in [1-5. Creating Security Group]. You will move to the detailed information page of that resource.
- On the detailed information page, click the Rules tab. You will move to the Rules tab.
- On the Rules tab, click the Add Rule button. You will move to the Add Rule popup window.
- In the Add Rule popup window, enter the following rules and click the Confirm button.
Direction Remote Destination Address Protocol Port Description Inbound CIDR User PC IP TCP 3389 (RDP) Bastion connection PC → Bastion host Outbound CIDR DB IP TCP Database Port (Direct Input) Bastion host → Database Table. Security Group Security Rules to be Added
4-2. Adding IGW Firewall Rules
- Click the All Services > Networking > Firewall menu. You will move to the Firewall’s Service Home page.
- On the Service Home page, click the Firewall menu. You will move to the Firewall List page.
- On the Firewall List page, select the Internet Gateway resource name created in 1-3. Creating Internet Gateway. You will move to the detailed information page of that resource.
- On the detailed information page, click the Rules tab. You will move to the Rules tab.
- On the Rules tab, click the Add Rule button. You will move to the Add Rule popup window.
- In the Add Rule popup window, enter the following rules and click the Confirm button.
Source Address Destination Address Protocol Port Action Direction Description Bastion connection PC IP Bastion host IP TCP 3389(RDP) Allow Inbound User PC → Bastion host Table. Internet Gateway Firewall Rules to be Added
5. Connecting to Database
This explains the process of connecting to the Database through a DB connection client program.
This guide explains how to connect using pgAdmin. There are various Database client programs and CLI utilities, so users can install and use the appropriate tool.
5-1. Connecting to Bastion Host
- Run Remote Desktop Connection in the Windows environment of the PC that wants to connect to the Bastion host, enter the NAT IP of the Bastion Host, and click the Connect button.
- When Remote Desktop Connection succeeds, the User credential input window will open. Enter the ID and Password confirmed in 2-3. Checking Bastion Host Connection ID and Password and click the Confirm button.
5-2. Installing DB Connection Client Program (pgAdmin) on Bastion Host
- Go to the pgAdmin official page and download the pgAdmin program.
- pgAdmin program download path: https://www.pgadmin.org/download/
- Connect the user PC’s hard drive to upload the file to the Bastion host.
- On the Local Resources tab of Remote Desktop Connection, click the More button in the local devices and resources item.
- Select the local disk of the location where the file was downloaded and click the Confirm button.
- Copy the downloaded file to upload it to the Bastion Host, then click the pgAdmin installation file to install it.
5-3. Connecting to Database Using DB Connection Client Program (pgAdmin)
- Run pgAdmin and click the Add New Server button.
- In the Register - Server popup window, enter the Database server information created in 3-1. Creating PostgreSQL(DBaaS) Service in the General tab and Connection tab, then click the Save button.
Screen(Tab) Required Input Item Input Value General Name User-defined (ex. service name) Connection Host name/address Database server IP Connection Port Database Port Connection Maintenance database Database name Connection Password Database password Table. DB Connection Client Program Input Items - Click the database name created in pgAdmin to perform the connection.
- After connection, you can perform simple queries, etc.
2.2.5 - Using Extensions
PostgreSQL(DBaaS) Extension usage
The list of extensions that can be installed in the current database can be checked with the following SQL statement.
SQL> select * from pg_available_extensions;
PostgreSQL(DBaaS) has the following additional installation items outside of the default extension by version:
| Extension name | description |
|---|---|
| pgaudit | provides detailed audit logging functionality at the session and object level |
| pg_cron | a scheduler that allows job scheduling with cron syntax within the database |
| pg_hint_plan | Provides a feature to apply hint clauses to SQL execution plans |
| pgvector | Vector data type and similarity search, etc. AI vector operation function provided |
| postgis | GIS (Geographic Information System) provides spatial object storage and spatial query functionality |
In addition to the above items, if additional Extension installation is required, please refer to Support Center > Inquiry and inquire.
- Once the inquiry is received, we will proceed with the installation after review. Please note that some Extensions may not work normally during Replica configuration and recovery.
2.3 - API Reference
2.4 - CLI Reference
2.5 - Release Note
PostgreSQL(DBaaS)
- Enhances latest security patches and stability through OS(Kernel) upgrade function.
- Can configure disaster recovery replicas through Replica configuration (Other Region) function.
- PostgreSQL(DBaaS) feature additions
- 2nd Generation Server Type added
- Added 2nd generation (db2) server type based on Intel 4th generation (Sapphire Rapids) Processor. For details, see PostgreSQL(DBaaS) Server Type
- DB User and Access Control Management and Archive Setting Function added
- For details, see DB User Management, DB Access Control Management, Archive Management
- DB Audit Log Export function added
- For details, see DB Log Export
- Backup Notification Function provided
- Provides notification function for backup success and failure. For details, see Creating Notification Policy
- Migration Function added
- Provides replication-based zero-downtime data migration function. For details, see Configuring Migration
- HDD, HDD_KMS types added to Block Storage type
- 2nd Generation Server Type added
- PostgreSQL(DBaaS) feature changes
- PostgreSQL new versions added: 13.16, 14.13, 15.8
- 2nd generation server type added
- Added 2nd generation (dbh2) server type based on Intel 4th generation (Sapphire Rapids) Processor. For details, see PostgreSQL(DBaaS) Server Type
- Block Storage capacity expansion is possible after service creation.
- Per-server network IP setting function added allowing common settings or per-server settings depending on usage purpose.
- Samsung Cloud Platform common feature changes
- Reflected common CX changes such as Account, IAM and Service Home, tags.
- Volume encrypted storage selection option added to Block Storage type.
- Role Switch (Active ↔ Standby) function added for Active DB and Standby DB configured in redundancy.
- DB instance performance and log monitoring possible through integration with cloud monitoring service.
- Planned Compute policy setting possible according to server type selected by customer.
- PostgreSQL(DBaaS) service that allows easy creation and management of PostgreSQL in web environment has been released.
3 - MariaDB(DBaaS)
3.1 - Overview
Service Overview
MariaDB(DBaaS) is an open source relational database (RDBMS) with high compatibility with MySQL. Samsung Cloud Platform provides an environment where MariaDB installation is automated through a web-based Console and management functions for operation can be performed.
MariaDB(DBaaS) is designed with a high availability architecture considering storage-based data replication and minimizing Failover time. To prevent data loss, when the content of the Active server is changed, it is synchronously replicated to the Standby server, and up to 5 read-only servers called Replicas for read load distribution and disaster recovery (DR) are provided. In addition, to prepare for problems with the DB server or data, it provides a function to automatically backup at a time specified by the user, so that data can be recovered at a desired point in time.
Provided Features
MariaDB(DBaaS) provides the following features.
- Auto Provisioning: Database (DB) installation and settings are possible through UI, and provides Active-standby redundancy configuration based on storage replication. When Active server fails, automatic Failover to Standby occurs.
- Operation Control Management: Provides function to control running server status. In addition to start and stop, restart is possible when there is a problem with the DB or to reflect settings. When high availability (HA) is configured, the user can directly perform node switching of Active-Standby through Switch-over.
- Backup and Recovery: Provides data backup function based on own backup command. Backup time period and retention period can be set by the user, and additional fees are charged depending on backup capacity. Also provides recovery function for backed up data, and when the user performs recovery, a separate DB is created and recovery proceeds to the point selected by the user (backup storage point, user-specified point). When recovering to a user-specified point, the recovery point can be set up to 5 minutes/10 minutes/30 minutes/1 hour ago based on stored backup files and archive files.
- Version Management: Provides version upgrade (Minor) function for some function improvements and security patches. Whether to perform backup according to version upgrade can be selected by the user, and if performing backup, data is backed up before patch execution and then DB engine update is performed.
- Replica Configuration: Up to 5 Read Replicas can be configured in the same/different region for read load distribution and disaster recovery (DR).
- Audit Setting: Provides Audit setting function to monitor user DB access and DDL (Data Definition Language)/DML (Data Manipulation Language) execution results.
- Parameter Management: DB configuration parameter modification for performance improvement and security is possible.
- Service Status Inquiry: Inquires the final status of current DB service.
- Monitoring: CPU, Memory, performance monitoring information can be checked through Cloud Monitoring and Servicewatch.
- DB User Management: Manages by inquiring DB account (user) information registered in DB.
- DB Access Control Management: Allows registration and termination of access allowed IP based on DB accounts registered in DB.
- Archive Management: Archive file retention period (1 day~35 days) setting and Archive mode (On/Off) setting are possible in DB server.
- DB Log Export: Logs stored through Audit settings can be exported to user’s Object Storage.
- Migration: Supports migration using Replication method by synchronizing data in real time with operating database without service interruption.
- OS Kernel Upgrade: OS Kernel can be upgraded for some function improvements and security patch application.
Components
MariaDB(DBaaS) provides engine versions pre-verified according to open source support policy and various server types. Users can select and use them according to the service scale they want to configure.
Engine Version
The engine versions supported by MariaDB(DBaaS) are as follows.
Technical support can be used until the EoTS (End of Technical Service) date of the supplier, and the EOS date when new creation stops is set to 6 months before the EoTS date.
According to supplier policy, EOS and EoTS dates may change, so please check the supplier’s license management policy page for details.
- MariaDB (Community): https://mariadb.org/about/#maintenance-policy
| Service | Provided Version | EOS Date(Samsung Cloud Platform New Creation Stop Date) | EoTS Date(Community Technical Support End Date) |
|---|---|---|---|
| MariaDB (Community) | 10.6.5 | 2026-03-19 | 2026-07-06 |
| 10.6.9 | 2026-03-19 | 2026-07-06 | |
| 10.6.10 | 2026-03-19 | 2026-07-06 | |
| 10.6.12 | 2026-03-19 | 2026-07-06 | |
| 10.6.14 | 2026-03-19 | 2026-07-06 | |
| 10.6.15 | 2026-03-19 | 2026-07-06 | |
| 10.6.16 | 2026-03-19 | 2026-07-06 | |
| 10.6.17 | 2026-03-19 | 2026-07-06 | |
| 10.6.19 | 2026-03-19 | 2026-07-06 | |
| 10.6.22 | 2026-03-19 | 2026-07-06 | |
| 10.11.8 | 2027-09 (Scheduled) | 2028-02-16 | |
| 10.11.9 | 2027-09 (Scheduled) | 2028-02-16 | |
| 10.11.13 | 2027-09 (Scheduled) | 2028-02-16 | |
| 11.4 | 2028-12 (Scheduled) | 2029-05-29 |
Server Type
The server types supported by MariaDB(DBaaS) are as follows.
For more information on server types provided by MariaDB(DBaaS), see MariaDB(DBaaS) Server Type.
Standard db1v2m4
| Classification | Example | Detailed Description |
|---|---|---|
| Server Type | Standard | Provided server types
|
| Server Specification | db1 | Provided server specifications
|
| Server Specification | v2 | Number of vCores
|
| Server Specification | m4 | Memory capacity
|
Prerequisite Services
This is a list of services that must be pre-configured before creating this service. Please prepare in advance by referring to the guide provided for each service.
| Service Category | Service | Detailed Description |
|---|---|---|
| Networking | VPC | A service that provides an independent virtual network in a cloud environment |
3.1.1 - Server Type
MariaDB(DBaaS) Server Type
MariaDB(DBaaS) provides server types with various combinations of CPU, Memory, and Network Bandwidth. When creating a MariaDB(DBaaS), the database engine is installed according to the selected server type, which is chosen based on the intended use.
The server types supported by MariaDB(DBaaS) are as follows:
Standard db1v2m4
Classification | Example | Detailed Description |
|---|---|---|
| Server Type | Standard | Classification of provided server types
|
| Server Specification | db1 | Classification of provided server types and generation
|
| Server Specification | v2 | Number of vCores
|
| Server Specification | m4 | Memory capacity
|
db1 Server Type
The db1 server type of MariaDB(DBaaS) is provided with standard specifications (vCPU, Memory) and is suitable for various database workloads.
- Up to 3.3Ghz Intel 3rd generation (Ice Lake) Xeon Gold 6342 Processor
- Supports up to 16 vCPUs and 256 GB of memory
- Up to 12.5 Gbps networking speed
| Classification | Server Type | vCPU | Memory | Network Bandwidth |
|---|---|---|---|---|
| Standard | db1v1m2 | 1 vCore | 2 GB | Up to 10 Gbps |
| Standard | db1v2m4 | 2 vCore | 4 GB | Up to 10 Gbps |
| Standard | db1v2m8 | 2 vCore | 8 GB | Up to 10 Gbps |
| Standard | db1v2m16 | 2 vCore | 16 GB | Up to 10 Gbps |
| Standard | db1v2m24 | 2 vCore | 24 GB | Up to 10 Gbps |
| Standard | db1v2m32 | 2 vCore | 32 GB | Up to 10 Gbps |
| Standard | db1v4m8 | 4 vCore | 8 GB | Up to 10 Gbps |
| Standard | db1v4m16 | 4 vCore | 16 GB | Up to 10 Gbps |
| Standard | db1v4m32 | 4 vCore | 32 GB | Up to 10 Gbps |
| Standard | db1v4m48 | 4 vCore | 48 GB | Up to 10 Gbps |
| Standard | db1v4m64 | 4 vCore | 64 GB | Up to 10 Gbps |
| Standard | db1v6m12 | 6 vCore | 12 GB | Up to 10 Gbps |
| Standard | db1v6m24 | 6 vCore | 24 GB | Up to 10 Gbps |
| Standard | db1v6m48 | 6 vCore | 48 GB | Up to 10 Gbps |
| Standard | db1v6m72 | 6 vCore | 72 GB | Up to 10 Gbps |
| Standard | db1v6m96 | 6 vCore | 96 GB | Up to 10 Gbps |
| Standard | db1v8m16 | 8 vCore | 16 GB | Up to 10 Gbps |
| Standard | db1v8m32 | 8 vCore | 32 GB | Up to 10 Gbps |
| Standard | db1v8m64 | 8 vCore | 64 GB | Up to 10 Gbps |
| Standard | db1v8m96 | 8 vCore | 96 GB | Up to 10 Gbps |
| Standard | db1v8m128 | 8 vCore | 128 GB | Up to 10 Gbps |
| Standard | db1v10m20 | 10 vCore | 20 GB | Up to 10 Gbps |
| Standard | db1v10m40 | 10 vCore | 40 GB | Up to 10 Gbps |
| Standard | db1v10m80 | 10 vCore | 80 GB | Up to 10 Gbps |
| Standard | db1v10m120 | 10 vCore | 120 GB | Up to 10 Gbps |
| Standard | db1v10m160 | 10 vCore | 160 GB | Up to 10 Gbps |
| Standard | db1v12m24 | 12 vCore | 24 GB | Up to 12.5 Gbps |
| Standard | db1v12m48 | 12 vCore | 48 GB | Up to 12.5 Gbps |
| Standard | db1v12m96 | 12 vCore | 96 GB | Up to 12.5 Gbps |
| Standard | db1v12m144 | 12 vCore | 144 GB | Up to 12.5 Gbps |
| Standard | db1v12m192 | 12 vCore | 192 GB | Up to 12.5 Gbps |
| Standard | db1v14m28 | 14 vCore | 28 GB | Up to 12.5 Gbps |
| Standard | db1v14m56 | 14 vCore | 56 GB | Up to 12.5 Gbps |
| Standard | db1v14m112 | 14 vCore | 112 GB | Up to 12.5 Gbps |
| Standard | db1v14m168 | 14 vCore | 168 GB | Up to 12.5 Gbps |
| Standard | db1v14m224 | 14 vCore | 224 GB | Up to 12.5 Gbps |
| Standard | db1v16m32 | 16 vCore | 32 GB | Up to 12.5 Gbps |
| Standard | db1v16m64 | 16 vCore | 64 GB | Up to 12.5 Gbps |
| Standard | db1v16m128 | 16 vCore | 128 GB | Up to 12.5 Gbps |
| Standard | db1v16m192 | 16 vCore | 192 GB | Up to 12.5 Gbps |
| Standard | db1v16m256 | 16 vCore | 256 GB | Up to 12.5 Gbps |
dbh2 Server Type
The dbh2 server type of MariaDB(DBaaS) is provided with high-capacity server specifications and is suitable for large-scale data processing database workloads.
- Up to 3.2GHz Intel 4th generation (Sapphire Rapids) Xeon Gold 6448H Processor
- Supports up to 128 vCPUs and 1,536 GB of memory
- Up to 25Gbps networking speed
| Classification | Server Type | vCPU | Memory | Network Bandwidth |
|---|---|---|---|---|
| High Capacity | dbh2v24m48 | 24 vCore | 48 GB | Up to 25 Gbps |
| High Capacity | dbh2v24m96 | 24 vCore | 96 GB | Up to 25 Gbps |
| High Capacity | dbh2v24m192 | 24 vCore | 192 GB | Up to 25 Gbps |
| High Capacity | dbh2v24m288 | 24 vCore | 288 GB | Up to 25 Gbps |
| High Capacity | dbh2v32m64 | 32 vCore | 64 GB | Up to 25 Gbps |
| High Capacity | dbh2v32m128 | 32 vCore | 128 GB | Up to 25 Gbps |
| High Capacity | dbh2v32m256 | 32 vCore | 256 GB | Up to 25 Gbps |
| High Capacity | dbh2v32m384 | 32 vCore | 384 GB | Up to 25 Gbps |
| High Capacity | dbh2v48m192 | 48 vCore | 192 GB | Up to 25 Gbps |
| High Capacity | dbh2v48m576 | 48 vCore | 576 GB | Up to 25 Gbps |
| High Capacity | dbh2v64m256 | 64 vCore | 256 GB | Up to 25 Gbps |
| High Capacity | dbh2v64m768 | 64 vCore | 768 GB | Up to 25 Gbps |
| High Capacity | dbh2v72m288 | 72 vCore | 288 GB | Up to 25 Gbps |
| High Capacity | dbh2v72m864 | 72 vCore | 864 GB | Up to 25 Gbps |
| High Capacity | dbh2v96m384 | 96 vCore | 384 GB | Up to 25 Gbps |
| High Capacity | dbh2v96m1152 | 96 vCore | 1152 GB | Up to 25 Gbps |
| High Capacity | dbh2v128m512 | 128 vCore | 512 GB | Up to 25 Gbps |
| High Capacity | dbh2v128m1536 | 128 vCore | 1536 GB | Up to 25 Gbps |
3.1.2 - Monitoring Metrics
MariaDB(DBaaS) Monitoring Metrics
The following table shows the performance monitoring metrics of MariaDB(DBaaS) that can be checked through Cloud Monitoring. For detailed usage of Cloud Monitoring, refer to the Cloud Monitoring guide.
For server monitoring metrics of MariaDB(DBaaS), refer to the Virtual Server monitoring metrics guide.
| Performance Item | Detailed Description | Unit |
|---|---|---|
| Active Locks | Number of Active Locks | cnt |
| Active Sessions | Number of Active Sessions | cnt |
| Connection Usage [Total] | DB connection session usage rate | % |
| Connections | Number of connections | cnt |
| Connections [MAX] | Maximum number of connected threads | cnt |
| Binary Log Used [MB] | Binary log usage | MB |
| Data Directory Used [MB] | Data directory usage | MB |
| Open Files | Number of open DB files | cnt |
| Open Files [MAX] | Maximum number of openable DB files | cnt |
| Open Files Usage | DB file maximum usage rate | % |
| Relay Log Used [MB] | Relay log usage | MB |
| Instance Status [PID] | mariadbd process | pid |
| Safe PID | mariadbd_safe process | pid |
| Slave Behind Master seconds | Time difference between Master and Slave data (only executed on slave) | sec |
| Tablespace Used | Tablespace usage | MB |
| Tablespace Used [Total] | Total Tablespace usage | MB |
| Running Threads | Number of running threads | cnt |
| Slowqueries | Number of sessions that execute SQL for more than 10 seconds | cnt |
| Slowqueries [Total] | Total number of sessions that execute SQL for more than 10 seconds | cnt |
| Transaction Time [Long] | Longest transaction execution time | sec |
| Wait Locks | Number of sessions blocked by lock for more than 60 seconds | cnt |
3.1.3 - ServiceWatch Metrics
MariaDB sends metrics to ServiceWatch. The metrics provided by default monitoring are data collected at a 1-minute interval.
Basic Indicators
The following are the basic metrics for the MariaDB namespace.
OS Basic Metrics
| Category | Performance Item | Detailed Description | Unit | Meaningful Statistics |
|---|---|---|---|---|
| CPU | CPU Usage | CPU Usage | Percent | |
| Disk | Disk Usage | Disk Usage Rate | Percent | |
| Disk | Disk Write Bytes | Write capacity on block device (bytes/second) | Bytes/Second | |
| Disk | Disk Read Bytes | Amount read from block device (bytes/second) | Bytes/Second | |
| Disk | Disk Write Request | Number of write requests on block device (requests/second) | Count/Second | |
| Disk | Disk Read Requests | Number of read requests on block device (requests/second) | Count/Second | |
| Disk | Average Disk I/O Queue Size | Average queue length of requests issued to the block device | None | |
| Disk | Disk I/O Utilization | Block device’s actual time spent processing I/O operations | Percent | |
| Memory | Memory Usage | Memory Usage Rate | Percent | |
| Network | Network In Bytes | Received capacity on the network interface (bytes/second) | Bytes/Second | |
| Network | Network Out Bytes | Transmitted capacity from network interface (bytes/second) | Bytes/Second | |
| Network | TCP Connections | Total number of TCP connections currently established correctly | Count/Second | |
| Network | Network In Packets | Number of packets received on the network interface | Count | |
| Network | Network Out Packets | Number of packets transmitted from the network interface | Count | |
| Network | Network In Dropped | Number of packet drops received on the network interface | Count | |
| Network | Network Out Dropped | Number of packet drops transmitted from the network interface | Count | |
| Network | Network In Errors | Number of packet errors received on the network interface | Count | |
| Network | Network Out Errors | Number of packet errors transmitted from the network interface | Count |
MariaDB Basic Metrics
| Category | Performance Item | Detailed Description | Unit | Meaningful Statistics |
|---|---|---|---|---|
| Activelock | Active locks | Number of active locks | Count | |
| Activesession | Active sessions | Number of active sessions | Count | |
| Activesession | Connection usage | DB connection session usage rate | Percent | |
| Activesession | Connections | DB connection session | Count | |
| Activesession | Connections(MAX) | Maximum number of connections that can be attached to the DB | Count | |
| Datafile | Binary log used | binary log usage (MB) | Megabytes | |
| Datafile | Open files | Number of DB files in open state | Count | |
| Datafile | Open files(MAX) | Number of DB files that can be opened | Count | |
| Datafile | Open files usage | DB file maximum count usage rate | Percent | |
| Datafile | Relay log used | Relay log usage (MB) | Megabytes | |
| InnoDB | InnoDB buffer pool hit ratio | Percent | ||
| InnoDB | InnoDB row lock waits | Number of InnoDB transactions currently waiting for a lock (Lock-wait) | Count | |
| InnoDB | InnoDB row lock time | Total time waited due to InnoDB row lock (in milliseconds) | Count | |
| InnoDB | InnoDB deadlocks | Number of transactions rolled back due to deadlock occurrence (cumulative) | Count | |
| InnoDB | InnoDB table locks waits | Number of times waiting occurred to acquire table lock (cumulative) | Count | |
| State | Instance state | MariaDB Process status up/down check | Count | |
| State | Slave behind master seconds (Replica Only) | Replica delay (unit: seconds) | Seconds | |
| State | Replica Thread running (Replica Only) | |||
| State | Replica io thread running (Replica Only) | |||
| State | Replica SQL thread running (Replica Only) | |||
| Tablespace | Tablespace used | Tablespace usage | Megabytes | |
| Tablespace | Tablespace used (TOTAL) | Tablespace usage (total) | Megabytes | |
| Transactions | Slow queries | Number of slow queries | Count | |
| Transactions | Transaction time | Long Transaction time | Seconds | |
| Transactions | Wait locks | Number of sessions waiting for lock | Count | |
| Transactions | SQL Queries/Sec | Total number (cumulative) of all queries (statements) received from clients since the server started | Count |
3.2 - How-to guides
Users can create MariaDB(DBaaS) by entering required information and selecting detailed options through the Samsung Cloud Platform Console.
Creating MariaDB(DBaaS)
You can create and use MariaDB(DBaaS) service through the Samsung Cloud Platform Console.
- Before creating a service, configure the VPC Subnet type as General.
- If the Subnet type is Local, the Database service cannot be created.
- When loading large capacity data of 2 TB or more, backup may be performed for a long time or the performance of the DB itself may deteriorate. To prevent this, from an operational perspective, it is necessary to consider cleaning up unnecessary data or migrating old data to a statistical collection environment.
To create MariaDB(DBaaS), follow these steps:
- Click the All Services > Database > MariaDB(DBaaS) menu. It moves to the Service Home page of MariaDB(DBaaS).
- On the Service Home page, click the Create MariaDB(DBaaS) button. It moves to the Create MariaDB(DBaaS) page.
- On the Create MariaDB(DBaaS) page, enter the information required for service creation and select detailed options.
- Select the required information in the Image and Version Selection area.
Classification RequiredDetailed Description Image Version Required Provides version list of MariaDB(DBaaS) Table. MariaDB(DBaaS) Image and Version Selection Items - Enter or select the required information in the Service Information Entry area.
Classification RequiredDetailed Description Server Name Prefix Required Server name where DB will be installed - Start with lowercase English letters, enter 3 to 13 characters using lowercase letters, numbers, and special characters (
-)
- Actual server name is created with a postfix like 001, 002 based on the server name
Cluster Name Required Cluster name where DB servers are configured - Enter 3 to 20 characters using English
- Cluster is a unit that bundles multiple servers
Service Type > Server Type Required Server type where DB will be installed - Standard: Standard specification commonly used
- High Capacity: Large capacity server with 24 vCore or more
- For more information on server types provided by MariaDB(DBaaS), see MariaDB(DBaaS) Server Type
Service Type > Planned Compute Optional Resource status 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 resource-based Planned Compute
- Create Planned Compute Service: Move to Planned Compute service application page
- For more information, see Apply for Planned Compute
Service Type > Block Storage Required Block Storage setting used by DB according to purpose - Basic OS: Area where DB engine is installed
- DATA: Storage area for table data and archive files, etc.
- Select storage type then enter capacity. (For more information by Block Storage type, see Creating Block Storage)
- SSD: High-performance general volume
- HDD: General volume
- SSD_KMS, HDD_KMS: Additional encrypted volume using Samsung Cloud Platform KMS (Key Management System) encryption key
- Set Storage type is applied equally to additional storage
- Enter capacity in multiples of 8 within the range of 16 to 5,120
- Since service interruption may occur due to large Sort such as SQL execution or monthly batch, separate TEMP storage must be allocated and used
- Select storage type then enter capacity. (For more information by Block Storage type, see Creating Block Storage)
- Additional: DATA, Archive, TEMP, Backup data storage area
- Select Use then enter Purpose and Capacity of storage
- Storage type is applied equally to the type set in DATA, and capacity can be entered in multiples of 8 within the range of 16 to 5,120
- To add storage, click the + button, and to delete, click the x button. Can add up to 9
- Before transferring backup data, temporarily store backup data in BACKUP storage
- If backup data exceeds 100 GB and data changes are frequent, it is recommended to add separate BACKUP storage for stable backup. It is recommended to set backup capacity to about 60% of DATA capacity
- If BACKUP storage is not added,
/tmparea is used, and backup fails if capacity is insufficient
- Only one Block Storage is allocated per service for Archive, TEMP, BACKUP storage
Redundancy Configuration Optional Redundancy configuration - If using redundancy configuration, DB instances are configured as Active DB and Standby DB
Network > Common Settings Required Network settings where servers created in the service are installed - Select if you want to apply the same settings to all installed servers
- Select pre-created VPC and Subnet, IP, Public NAT
- Only automatic IP generation is possible
- Public NAT function is only available when VPC is connected to Internet Gateway. If you check Use, you can select from IPs reserved in Public IP of VPC product. For more information, see Creating Public IP
Network > Per Server Settings Required Network settings where servers created in the service are installed - Select if you want to apply different settings for each installed server
- Select pre-created VPC and Subnet, IP, Public NAT
- Enter IP for each server
- Public NAT function is only available when VPC is connected to Internet Gateway. If you check Use, you can select from IPs reserved in Public IP of VPC product. For more information, see Creating Public IP
IP Access Control Optional Service access policy setting - Since access policy is set for the IP entered on the page, you don’t need to set Security Group policy separately
- 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 the entered IP, click the x button next to the entered IP
Maintenance Period Optional DB maintenance period - If selecting Use, set day of week, start time, and duration
- It is recommended to set the maintenance period for stable DB management. Patch work is performed at the set time and service interruption occurs
- If set to not used, Samsung SDS is not responsible for problems caused by not applying patches.
Table. MariaDB(DBaaS) Service Information Entry Items - Start with lowercase English letters, enter 3 to 13 characters using lowercase letters, numbers, and special characters (
- Enter or select the required information in the Database Configuration Required Information Entry area.
Classification RequiredDetailed Description Database Name Required Server name applied when DB is installed - Start with English, enter 3 to 20 characters using English and numbers
Database Username Required DB user name - Account with that name is also created in OS
- Enter 2 to 20 characters using lowercase English letters
- Limited Database usernames can be checked in Console
Database Password Required Password to use when accessing DB - Enter 8 to 30 characters including English letters, numbers, and special characters (excluding
"’)
Database Password Confirmation Required Re-enter password to use when accessing DB identically Database Port Number Required Port number required for DB connection - Enter DB port within the range of 1200 to 65535
Backup > Use Optional Backup usage - Select Use to set backup file retention period, backup start time, and Archive backup cycle
Backup > Retention Period Optional Backup retention period - Select backup retention period. File retention period can be set from 7 days to 35 days
- Separate fees are charged for backup files depending on capacity
Backup > Backup Start Period Optional Backup start time - Select backup start time
- The minutes when backup is performed are set randomly, and backup end time cannot be set
Backup > Archive Backup Cycle Optional Archive backup cycle - Select Archive backup cycle
- 1 hour is recommended for Archive backup cycle. When selecting 5 minutes, 10 minutes, 30 minutes, it may affect DB performance
Audit Log Setting Optional Audit Log storage - Select Use to set Audit Log function
- User access information recording is stored
- Users can specify event types to Audit through
server_audit_eventsparameter, and can modify through Parameter screen
- For details on that parameter, see MariaDB documentation
- Users can specify event types to Audit through
- DB performance may deteriorate when Audit is set
- User access information recording is stored
ServiceWatch Log Collection Optional ServiceWatch log collection - Select Use to set ServiceWatch log collection function
- For details on collected logs, see ServiceWatch Metrics
- Provided free up to 5 GB for all services in Account, and fees are charged depending on storage capacity when exceeding 5 GB
- When collecting, log group and log stream are automatically created, and cannot be deleted until resource is deleted
- To prevent exceeding 5 GB, directly deleting log data or shortening retention period is recommended
Parameter Required Parameters to use for DB - Click the View button to check detailed information of parameters
- After DB creation is complete, parameter modification is possible, and DB must be restarted after modification
DB Character Set Required Character encoding method to use for DB - As a character set used when storing text data, DB is created with default setting to selected Encoding
Time Zone Required Standard time zone where Database will be used Table. MariaDB(DBaaS) Database Configuration Items - Enter or select the required information in the Additional Information Entry area.
Classification RequiredDetailed Description Tags Optional Add tags - Can add up to 50 per resource
- Click the Add Tag button then enter or select Key, Value values
Table. MariaDB(DBaaS) Additional Information Entry Items
- Select the required information in the Image and Version Selection area.
- In the Summary panel, review the detailed information and estimated charges, and click the Create button.
- Once creation is complete, check the created resource on the Resource List page.
Checking MariaDB(DBaaS) Detailed Information
MariaDB(DBaaS) service allows you to check and modify the entire resource list and detailed information. The MariaDB(DBaaS) Details page consists of Detailed Information, Tags, Operation History tabs, and for DBs with Replica configured, Replica Information tab is additionally configured.
To check the detailed information of MariaDB(DBaaS) service, follow these steps:
- Click the All Services > Database > MariaDB(DBaaS) menu. It moves to the Service Home page of MariaDB(DBaaS).
- On the Service Home page, click the MariaDB(DBaaS) menu. It moves to the MariaDB(DBaaS) List page.
- On the MariaDB(DBaaS) List page, click the resource to check detailed information. It moves to the MariaDB(DBaaS) Details page.
- At the top of the MariaDB(DBaaS) Details page, status information and additional function information are displayed.
Classification Detailed Description Cluster Status Cluster status where DB is installed - Creating: Cluster is being created
- Editing: Cluster is changing to Operation execution state
- Error: State where error occurred while cluster is performing operation
- If it occurs continuously, contact administrator
- Failed: State where cluster failed during creation process
- Restarting: State where cluster is being restarted
- Running: State where cluster is operating normally
- Starting: State where cluster is starting
- Stopped: State where cluster is stopped
- Stopping: State where cluster is in stop state
- Synchronizing: State where cluster is synchronizing
- Terminating: State where cluster is being deleted
- Unknown: State where cluster status is unknown
- If it occurs continuously, contact administrator
- Upgrading: State where cluster is changing to upgrade execution state
Cluster Control Buttons to change cluster status - Start: Start stopped cluster
- Stop: Stop running cluster
- Restart: Restart running cluster
- Switch-Over: Switch Standby cluster to Active
More Additional Functions Cluster-related management buttons - Sync Service Status: Check real-time DB service status
- Backup History: If backup is set, check backup normal execution status and history
- Database Recovery: Recover DB based on specific point in time
- Parameter Management: Check and modify DB configuration parameters
- Replica Configuration: Configure Replica which is read-only cluster
- Replica Configuration (Other-Region): Configure disaster recovery replica in different region, button is disabled if no region configured in that Account
- DB User Management: Check and manage DB account (user) information registered in DB
- DB Access Control Management: Allows registration and termination of access allowed IP based on DB accounts registered in DB
- Archive Setting Management: Archive file retention period setting and Archive mode setting are possible
- DB Log Export: Logs stored through Audit settings can be exported to user’s Object Storage
- Migration Configuration: Provides Migration function of Replication method
- OS(Kernel) Upgrade: OS Kernel version upgrade
Service Termination Button to terminate service Table. MariaDB(DBaaS) Status Information and Additional Functions
- At the top of the MariaDB(DBaaS) Details page, status information and additional function information are displayed.
Detailed Information
On the MariaDB(DBaaS) List page, you can check the detailed information of the selected resource and modify information if necessary.
| Classification | Detailed Description |
|---|---|
| Server Information | Server information configured in the cluster
|
| Service | Service name |
| Resource Type | Resource type |
| SRN | Unique resource ID in Samsung Cloud Platform
|
| Resource Name | Resource name
|
| Resource ID | Unique resource ID in the service |
| Creator | User who created the service |
| Creation Date | Date and time when the service was created |
| Modifier | User who modified the service information |
| Modification Date | Date and time when the service information was modified |
| Image Version | Installed DB image and version information
|
| Cluster Type | Cluster type (Master Cluster, Replica Cluster, Migration Cluster) |
| Cluster Name | Cluster name where DB servers are configured |
| Master Cluster Name | Master cluster name of Replica
|
| Database Name | Server name applied when DB is installed |
| Database Username | DB user name |
| Planned Compute | Resource status with Planned Compute set
|
| Maintenance Period | DB maintenance period status
|
| Backup | Backup setting status
|
| Audit Log Setting | Audit Log setting status
|
| ServiceWatch Log Collection | ServiceWatch log collection setting status
|
| DB Character Set | Character encoding method to use for DB |
| Time Zone | Standard time zone where Database will be used |
| VIP | Virtual IP information
|
| Network | Network information where DB is installed (VPC, Subnet, VIP, NAT IP(VIP)) |
| IP Access Control | Service access policy setting
|
| Active & Standby | Active/Standby server type, Basic OS, Additional Disk information
|
Replica Information
The Replica Information tab is activated only when Replica is configured in the cluster. Through the Replica Information tab, you can check Master cluster name, replica count, and Replica status.
| Classification | Detailed Description |
|---|---|
| Master Information | Name of Master cluster |
| Replica Count | Number of Replicas created in Master cluster |
| Replica Status | Replica server status created in Master cluster
|
Tags
On the MariaDB(DBaaS) List page, you can check the tag information of the selected resource and add, change, or delete it.
| Classification | Detailed Description |
|---|---|
| Tag List | Tag list
|
Operation History
You can check the operation history of the selected resource on the MariaDB(DBaaS) List page.
| Classification | Detailed Description |
|---|---|
| Operation History List | Resource change history
|
Managing MariaDB(DBaaS) Resources
If you need to change existing configuration options of created MariaDB(DBaaS) resources or perform recovery, Replica configuration, you can perform operations on the MariaDB(DBaaS) Details page.
Controlling Operation
If changes occur in running MariaDB(DBaaS) resources, you can start, stop, or restart. Also, if configured with HA, you can switch Active-Standby servers through Switch-over.
To control MariaDB(DBaaS) operation, follow these steps:
- Click the All Services > Database > MariaDB(DBaaS) menu. It moves to the Service Home page of MariaDB(DBaaS).
- On the Service Home page, click the MariaDB(DBaaS) menu. It moves to the MariaDB(DBaaS) List page.
- On the MariaDB(DBaaS) List page, click the resource to control operation. It moves to the MariaDB(DBaaS) Details page.
- Check MariaDB(DBaaS) status and complete changes through the control buttons below.
- Start: DB service installed server and DB service will run (Running).
- Stop: DB service installed server and DB service will stop (Stopped).
- Restart: Only DB service will restart.
- Switch Over: Can switch Active server and Standby server of DB.
Syncing Service Status
You can sync the real-time service status of MariaDB(DBaaS).
To check MariaDB(DBaaS) service status, follow these steps:
- Click the All Services > Database > MariaDB(DBaaS) menu. It moves to the Service Home page of MariaDB(DBaaS).
- On the Service Home page, click the MariaDB(DBaaS) menu. It moves to the MariaDB(DBaaS) List page.
- On the MariaDB(DBaaS) List page, click the resource to check service status. It moves to the MariaDB(DBaaS) Details page.
- Click the Sync Service Status button. While retrieving, the cluster changes to Synchronizing status.
- When retrieval is complete, the status is updated in the server information item, and the cluster changes to Running status.
Changing Server Type
You can change the configured server type.
To change the server type, follow these steps:
- Click the All Services > Database > MariaDB(DBaaS) menu. It moves to the Service Home page of MariaDB(DBaaS).
- On the Service Home page, click the MariaDB(DBaaS) menu. It moves to the MariaDB(DBaaS) List page.
- On the MariaDB(DBaaS) List page, click the resource to change server type. It moves to the MariaDB(DBaaS) Details page.
- Click the Edit icon of the server type you want to change at the bottom of detailed information. The Edit Server Type popup window opens.
- In the Edit Server Type popup window, select the server type and click the OK button.
Adding Storage
If data storage space of 5TB or more is needed, you can add storage. For DB configured with redundancy, both redundancy servers are added simultaneously.
- It is applied equally to the Storage type selected when creating the service.
- For DB configured with redundancy, when adding storage, it is applied simultaneously to storage of Active DB and Standby DB.
- When Replica exists, storage of Master cluster cannot be smaller than storage of Replica. Expand Replica storage first then expand Master cluster storage.
- When adding Archive/Temp storage, DB restarts and is temporarily unavailable.
To add storage, follow these steps:
- Click the All Services > Database > MariaDB(DBaaS) menu. It moves to the Service Home page of MariaDB(DBaaS).
- On the Service Home page, click the MariaDB(DBaaS) menu. It moves to the MariaDB(DBaaS) List page.
- On the MariaDB(DBaaS) List page, click the resource to add storage. It moves to the MariaDB(DBaaS) Details page.
- Click the Disk Add button at the bottom of detailed information. The Additional Storage Request popup window opens.
- In the Additional Storage Request popup window, after entering purpose and capacity, click the OK button.
Expanding Storage
Storage added as data area can be expanded up to maximum 5 TB based on the initially allocated capacity. For DB configured with redundancy, both redundancy servers are expanded simultaneously.
To expand storage capacity, follow these steps:
- Click the All Services > Database > MariaDB(DBaaS) menu. It moves to the Service Home page of MariaDB(DBaaS).
- On the Service Home page, click the MariaDB(DBaaS) menu. It moves to the MariaDB(DBaaS) List page.
- On the MariaDB(DBaaS) List page, click the resource to change server type. It moves to the MariaDB(DBaaS) Details page.
- Click the Edit icon of the additional Disk you want to expand at the bottom of detailed information. The Edit Additional Storage popup window opens.
- In the Edit Additional Storage popup window, after entering expansion capacity, click the OK button.
Terminating MariaDB(DBaaS)
You can reduce operating costs by terminating unused MariaDB(DBaaS). However, if you terminate the service, the running service may stop immediately, so you should proceed with termination after fully considering the impact caused by service interruption.
- For DB configured with Replica, even if Master DB is terminated, Replica is not deleted together. If you also want to delete Replica, terminate separately from the resource list.
- If you terminate DB, stored data and backup data are all deleted even if backup was set.
To terminate MariaDB(DBaaS), follow these steps:
- Click the All Services > Database > MariaDB(DBaaS) menu. It moves to the Service Home page of MariaDB(DBaaS).
- On the Service Home page, click the MariaDB(DBaaS) menu. It moves to the MariaDB(DBaaS) List page.
- On the MariaDB(DBaaS) List page, select the resource to terminate and click the Terminate Service button.
- When termination is complete, check if the resource is terminated on the MariaDB(DBaaS) List page.
3.2.1 - Managing DB Service
Users can manage MariaDB(DBaaS) through Samsung Cloud Platform Console.
Managing Parameter
Provides functionality to easily view and modify database configuration parameters.
Viewing Parameters
Follow these steps to view configuration parameters.
- Click All Services > Database > MariaDB(DBaaS) menu. You will be taken to MariaDB(DBaaS)’s Service Home page.
- Click MariaDB(DBaaS) menu on the Service Home page. You will be taken to the MariaDB(DBaaS) List page.
- Click the resource for which you want to view or modify parameters on the MariaDB(DBaaS) List page. You will be taken to the MariaDB(DBaaS) Detail page.
- Click More button and click Parameter Management button. Parameter Management popup window will open.
- Click View button in the Parameter Management popup window. View Notification popup window will open.
- Click Confirm button when the View Notification popup window opens. It will take some time to view.
Modifying Parameters
Follow these steps to modify configuration parameters.
- Click All Services > Database > MariaDB(DBaaS) menu. You will be taken to MariaDB(DBaaS)’s Service Home page.
- Click MariaDB(DBaaS) menu on the Service Home page. You will be taken to the MariaDB(DBaaS) List page.
- Click the resource for which you want to view or modify parameters on the MariaDB(DBaaS) List page. You will be taken to the MariaDB(DBaaS) Detail page.
- Click More button and click Parameter Management button. Parameter Management popup window will open.
- Click View button in the Parameter Management popup window. View Notification popup window will open.
- Click Confirm button when the View Notification popup window opens. It will take some time to view.
- If modification is needed, click Modify button and enter the modification in the custom value area of the Parameter to be modified.
- When input is complete, click Complete button.
If you change the character_set_server value, first check the collation that matches the character set with the following command:
SQL> SHOW COLLATION WHERE Charset = 'character set name';
Set the parameter values character-set-server, collation-server, and init_connect with the confirmed collation.
| Item | Description | Restart Required |
|---|---|---|
character-set-server | Specify default character set | Restart required |
collation-server | Specify default collation | Restart required |
init_connect | SQL statement executed when Client connects to database | Restart not required |
Managing DB Users
Provides management functionality to view DB user information and change status information.
Viewing DB Users
Follow these steps to view DB users.
- Click All Services > Database > MariaDB(DBaaS) menu. You will be taken to MariaDB(DBaaS)’s Service Home page.
- Click MariaDB(DBaaS) menu on the Service Home page. You will be taken to the MariaDB(DBaaS) List page.
- Click the resource for which you want to view DB users on the MariaDB(DBaaS) List page. You will be taken to the MariaDB(DBaaS) Detail page.
- Click More button and click DB User Management button. You will be taken to the DB User Management page.
- Click View button on the DB User Management page. It will take some time to view.
Changing DB User Status
Follow these steps to change the status of viewed DB users.
- Click All Services > Database > MariaDB(DBaaS) menu. You will be taken to MariaDB(DBaaS)’s Service Home page.
- Click MariaDB(DBaaS) menu on the Service Home page. You will be taken to the MariaDB(DBaaS) List page.
- Click the resource for which you want to modify DB users on the MariaDB(DBaaS) List page. You will be taken to the MariaDB(DBaaS) Detail page.
- Click More button and click DB User Management button. You will be taken to the DB User Management page.
- Click View button on the DB User Management page. It will take some time to view.
- If modification is needed, click Modify button and change the status area value or enter note content.
- When input is complete, click Complete button.
Managing DB Access Control
Provides IP-based DB user access control management functionality. Users can directly specify IPs that can access the database, setting it so that only allowed IPs can access.
Viewing DB Access Control
Follow these steps to view DB users with IP access control set.
- Click All Services > Database > MariaDB(DBaaS) menu. You will be taken to MariaDB(DBaaS)’s Service Home page.
- Click MariaDB(DBaaS) menu on the Service Home page. You will be taken to the MariaDB(DBaaS) List page.
- Click the resource for which you want to manage access control on the MariaDB(DBaaS) List page. You will be taken to the MariaDB(DBaaS) Detail page.
- Click More button and click DB Access Control Management button. You will be taken to the DB Access Control Management page.
- Click View button on the DB Access Control Management page. It will take some time to view.
Adding DB Access Control
Follow these steps to add IP access control.
- Click All Services > Database > MariaDB(DBaaS) menu. You will be taken to MariaDB(DBaaS)’s Service Home page.
- Click MariaDB(DBaaS) menu on the Service Home page. You will be taken to the MariaDB(DBaaS) List page.
- Click the resource for which you want to add IP access control on the MariaDB(DBaaS) List page. You will be taken to the MariaDB(DBaaS) Detail page.
- Click More button and click DB Access Control Management button. You will be taken to the DB Access Control Management page.
- Click View button on the DB Access Control Management page. It will take some time to view.
- When viewing is complete, click Add button. DB Access Control Add popup window will open.
- Enter DB username selection and IP Address in the DB Access Control Add popup window.
- When input is complete, click Complete button.
Deleting DB Access Control
Follow these steps to delete IP access control.
- Click All Services > Database > MariaDB(DBaaS) menu. You will be taken to MariaDB(DBaaS)’s Service Home page.
- Click MariaDB(DBaaS) menu on the Service Home page. You will be taken to the MariaDB(DBaaS) List page.
- Click the resource for which you want to delete IP access control on the MariaDB(DBaaS) List page. You will be taken to the MariaDB(DBaaS) Detail page.
- Click More button and click DB Access Control Management button. You will be taken to the DB Access Control Management page.
- Click View button on the DB Access Control Management page. It will take some time to view.
- When viewing is complete, click Delete button. Delete popup window will open.
- Click Confirm button in the Delete popup window.
Managing Archive
Provides Archive mode setting and Archive Log retention period setting functionality, allowing users to flexibly set Archive log management policies according to their operating environment. Additionally, it provides functionality to manually delete Archive logs, enabling effective management of system resources by cleaning up unnecessary log data.
Setting Archive Mode
Follow these steps to set Archive mode.
- Click All Services > Database > MariaDB(DBaaS) menu. You will be taken to MariaDB(DBaaS)’s Service Home page.
- Click MariaDB(DBaaS) menu on the Service Home page. You will be taken to the MariaDB(DBaaS) List page.
- Click the resource for which you want to set Archive mode on the MariaDB(DBaaS) List page. You will be taken to the MariaDB(DBaaS) Detail page.
- Click More button and click Archive Setting Management button. You will be taken to the Archive Setting Management page.
- Click View button on the Archive Setting Management page. It will take some time to view.
- Click Modify button and select usage and retention period.
- When modification is complete, click Complete button.
Deleting Archive Files
Follow these steps to delete Archive files.
- Click All Services > Database > MariaDB(DBaaS) menu. You will be taken to MariaDB(DBaaS)’s Service Home page.
- Click MariaDB(DBaaS) menu on the Service Home page. You will be taken to the MariaDB(DBaaS) List page.
- Click the resource for which you want to set Archive mode on the MariaDB(DBaaS) List page. You will be taken to the MariaDB(DBaaS) Detail page.
- Click More button and click Archive Setting Management button. You will be taken to the Archive Setting Management page.
- To delete all Archive files on the Archive Setting Management page, click Delete All Archives, and to delete only backed up Archive files, click Delete Backed Up Archives button.
Modifying Audit Settings
You can change MariaDB(DBaaS)’s Audit log storage settings.
Follow these steps to change MariaDB(DBaaS)’s Audit log storage settings.
- Click All Services > Database > MariaDB(DBaaS) menu. You will be taken to MariaDB(DBaaS)’s Service Home page.
- Click MariaDB(DBaaS) menu on the Service Home page. You will be taken to the MariaDB(DBaaS) List page.
- Click the resource for which you want to view service status on the MariaDB(DBaaS) List page. You will be taken to the MariaDB(DBaaS) Detail page.
- Click Modify icon in Audit Settings at the bottom of the detail information. Audit Settings Modify popup window will open.
- Modify usage in the Audit Settings Modify popup window and click Confirm button.
- When Use is selected, Audit log functionality is set. When Audit log is set, DB performance may degrade.
- When Use is disabled, the Audit log storage file is deleted. Back up the Audit log file separately before disabling use.
Exporting DB Log
Supports exporting audit (Audit) logs that require long-term preservation to Object Storage. Users can directly set the log type to be stored, the target Bucket to export to, and the cycle for exporting logs. Logs are copied and stored to the specified Object Storage according to the set criteria. Additionally, for efficient management of disk space, it also provides an option to automatically delete the original log file while exporting the log to Object Storage. By using this option, you can effectively secure storage capacity while safely storing necessary log data for the long term.
- To use the DB Log Export functionality, Object Storage creation is required. For Object Storage creation, please refer to Object Storage User Guide.
- Please be sure to check the expiration date of the authentication key. If the authentication key expires, logs will not be stored in the Bucket.
- Please be careful not to expose authentication key information to the outside.
Setting DB Log Export Mode
Follow these steps to set DB Log Export mode.
- Click All Services > Database > MariaDB(DBaaS) menu. You will be taken to MariaDB(DBaaS)’s Service Home page.
- Click MariaDB(DBaaS) menu on the Service Home page. You will be taken to the MariaDB(DBaaS) List page.
- Click the resource for which you want to export DB Log on the MariaDB(DBaaS) List page. You will be taken to the MariaDB(DBaaS) Detail page.
- Click More button and click DB Log Export button. You will be taken to the DB Log Export page.
- Click Register button on the DB Log Export page. You will be taken to the DB Log Export Register page.
- Enter the corresponding information on the DB Log Export Register page and click Complete button.
Category Required DescriptionLog Type Required Log type to store Storage Bucket Name Required Object Storage Bucket name to store Authentication Key > Access key Required Access key to access the Object Storage to store Authentication Key > Secret key Required Secret key to access the Object Storage to store File Creation Cycle Required Cycle for creating files in Object Storage Original Log Deletion Optional Whether to delete the original log while exporting to Object Storage Table. MariaDB(DBaaS) DB Log Export Configuration Items
Managing DB Log Export
Follow these steps to modify, cancel, or immediately export DB Log Export settings.
- Click All Services > Database > MariaDB(DBaaS) menu. You will be taken to MariaDB(DBaaS)’s Service Home page.
- Click MariaDB(DBaaS) menu on the Service Home page. You will be taken to the MariaDB(DBaaS) List page.
- Click the resource for which you want to manage DB Log Export on the MariaDB(DBaaS) List page. You will be taken to the MariaDB(DBaaS) Detail page.
- Click More button and click DB Log Export button. You will be taken to the DB Log Export page.
- On the DB Log Export page, click More button according to the log type you want to manage and click Immediate Export, Modify, or Cancel button.
- Immediate Export: Selected logs are exported to the previously set Object Storage’s Bucket.
- Modify: Modifies DB Log Export mode settings.
- Cancel: Cancels DB Log Export mode settings.
Upgrading Minor Version
Provides version upgrade functionality according to some feature improvements and security patches. Only Minor version upgrade functionality within the same Major version is supported.
- Please check the service status first through service status synchronization, then perform version upgrade.
- Please set backup before proceeding with version upgrade. If backup is not set, some data may not be recoverable if a problem occurs during upgrade.
- In a DB where Replica is configured, the Master DB version cannot be higher than the Replica version. First check the Replica version and perform version upgrade if necessary.
- Backed up data is automatically deleted after version upgrade is complete.
Follow these steps to upgrade Minor Version.
- Click All Services > Database > MariaDB(DBaaS) menu. You will be taken to MariaDB(DBaaS)’s Service Home page.
- Click MariaDB(DBaaS) menu on the Service Home page. You will be taken to the MariaDB(DBaaS) List page.
- Click the resource for which you want to upgrade version on the MariaDB(DBaaS) List page. You will be taken to the MariaDB(DBaaS) Detail page.
- Click Modify icon in the Image Version item. Version Upgrade popup window will open.
- Select the modification version and backup setting in the Version Upgrade popup window, then click Confirm button.
- Click Confirm button in the Version Upgrade Notification popup window.
Configuring Migration
Provides Migration functionality that replicates in real-time with a running database using Replication method without service interruption.
Follow these steps to configure Migration.
- Click All Services > Database > MariaDB(DBaaS) menu. You will be taken to MariaDB(DBaaS)’s Service Home page.
- Click MariaDB(DBaaS) menu on the Service Home page. You will be taken to the MariaDB(DBaaS) List page.
- Click the resource for which you want to migrate on the MariaDB(DBaaS) List page. You will be taken to the MariaDB(DBaaS) Detail page.
- Click More button and click Migration Configuration button. Migration Configuration popup window will open.
- Confirm the guidelines in the Migration Configuration popup window and click Confirm button. You will be taken to the Migration Configuration page.
- Enter the corresponding information on the Migration Configuration page and click Connection Check button.
- When connection is complete, click Complete button.
Category Required DescriptionSource DB Database Name Required Database name of the Source DB to be migrated Source DB IP Required IP of the Source DB to be migrated Source DB Port Required Port of the Source DB to be migrated Source DB Username Required Username of the Source DB to be migrated Source DB Password Required Password of the Source DB to be migrated Table. MariaDB(DBaaS) Migration Configuration Items
Promoting Migration Cluster to Master Cluster
You can promote a configured Migration Cluster to Master Cluster.
Follow these steps to promote Migration Cluster to Master.
- Click All Services > Database > MariaDB(DBaaS) menu. You will be taken to MariaDB(DBaaS)’s Service Home page.
- Click MariaDB(DBaaS) menu on the Service Home page. You will be taken to the MariaDB(DBaaS) List page.
- Click the resource for which you want to promote to Master on the MariaDB(DBaaS) List page. You will be taken to the MariaDB(DBaaS) Detail page.
- Click More button and click Master Promotion button. Master Promotion Notification popup window will open.
- Click Confirm button in the Master Promotion Notification popup window.
Upgrading OS Kernel
You can upgrade the OS Kernel to improve running database functionality and apply security patches.
- Service is interrupted while OS upgrade is in progress.
- Upgrade time may vary depending on the version, and if upgrade fails, it will revert to the previous configuration.
- Cannot recover to the previous OS after upgrade is complete.
Follow these steps to upgrade OS Kernel.
- Click All Services > Database > MariaDB(DBaaS) menu. You will be taken to MariaDB(DBaaS)’s Service Home page.
- Click MariaDB(DBaaS) menu on the Service Home page. You will be taken to the MariaDB(DBaaS) List page.
- Click the resource for which you want to upgrade OS Kernel on the MariaDB(DBaaS) List page. You will be taken to the MariaDB(DBaaS) Detail page.
- Click More button and click OS(Kernel) Upgrade button. OS(Kernel) Upgrade Notification popup window will open.
- Confirm the guidelines in the OS(Kernel) Upgrade Notification popup window and click Confirm button.
3.2.2 - DB Backup and Restore
Users can set up MariaDB(DBaaS) backup and restore using backed up files through Samsung Cloud Platform Console.
Backing up MariaDB(DBaaS)
MariaDB(DBaaS) provides data backup functionality based on its own backup command. Additionally, it provides an optimized backup environment for data protection and management through backup history verification and backup file deletion functionality.
Setting up Backup
For MariaDB(DBaaS) backup configuration method, please refer to Creating MariaDB(DBaaS).
Follow these steps to modify the backup settings of the created resource.
- For stable backup, it is recommended to add a separate BACKUP storage or sufficiently increase storage capacity. Especially if backup target data exceeds 100 GB and there is a lot of data change, please secure additional storage corresponding to approximately 60% of the data capacity. For storage addition and capacity increase methods, please refer to Adding MariaDB(DBaaS) Storage, Expanding MariaDB(DBaaS) Storage guides.
- If backup is set, backup is performed at the specified time after the set time, and additional charges occur according to backup capacity.
- If backup setting is changed to Not Set, backup execution is immediately stopped and stored backup data is deleted and can no longer be used.
- Click All Services > Database > MariaDB(DBaaS) menu. You will be taken to MariaDB(DBaaS)’s Service Home page.
- Click MariaDB(DBaaS) menu on the Service Home page. You will be taken to the MariaDB(DBaaS) List page.
- Click the resource for which you want to set up backup on the MariaDB(DBaaS) List page. You will be taken to the MariaDB(DBaaS) Detail page.
- Click Modify button in the backup item. Backup Setting popup window will open.
- To set up backup, click Use in the Backup Setting popup window, select retention period, backup start time, Archive backup cycle, and click Confirm button.
- To stop backup setting, uncheck Use in the Backup Setting popup window and click Confirm button.
Viewing Backup History
Follow these steps to view backup history.
- Click All Services > Database > MariaDB(DBaaS) menu. You will be taken to MariaDB(DBaaS)’s Service Home page.
- Click MariaDB(DBaaS) menu on the Service Home page. You will be taken to the MariaDB(DBaaS) List page.
- Click the resource for which you want to view backup history on the MariaDB(DBaaS) List page. You will be taken to the MariaDB(DBaaS) Detail page.
- Click Backup History button. Backup History popup window will open.
- In the Backup History popup window, you can view backup status, version, backup start date/time, backup completion date/time, and capacity.
Deleting Backup Files
Follow these steps to delete backup files.
- Click All Services > Database > MariaDB(DBaaS) menu. You will be taken to MariaDB(DBaaS)’s Service Home page.
- Click MariaDB(DBaaS) menu on the Service Home page. You will be taken to the MariaDB(DBaaS) List page.
- Click the resource for which you want to view backup history on the MariaDB(DBaaS) List page. You will be taken to the MariaDB(DBaaS) Detail page.
- Click Backup History button. Backup History popup window will open.
- Check the file you want to delete in the Backup History popup window and click Delete button.
Restoring MariaDB(DBaaS)
In case of failure or data loss, you can restore based on a specific point in time using the restore functionality. When MariaDB(DBaaS) restore is performed, a new server is created with the OS image at the time of initial provisioning, DB is installed with the version of that backup point, and restore is performed with the DB’s configuration information and data.
Follow these steps to restore MariaDB(DBaaS).
- Click All Services > Database > MariaDB(DBaaS) menu. You will be taken to MariaDB(DBaaS)’s Service Home page.
- Click MariaDB(DBaaS) menu on the Service Home page. You will be taken to the MariaDB(DBaaS) List page.
- Click the resource for which you want to restore on the MariaDB(DBaaS) List page. You will be taken to the MariaDB(DBaaS) Detail page.
- Click Database Restore button. You will be taken to the Database Restore page.
- Enter information in the Database restore configuration area and click Complete button.
Category RequiredDescription Restore Type Required Set the point in time the user wants to restore - Backup Point (Recommended): Restore based on backup file. Select from the list of backup file points displayed
- User-Specified Point: Restore to the point in time the user wants within the range where backup is possible. The restorable period depends on the Archive backup cycle setting value, and can restore from the initial backup start point to 1 hour/30 minutes/10 minutes/5 minutes before the current time. Select the date and time to backup
Server Name Prefix Required Server name of restore DB - Enter 3-16 characters starting with English lowercase letters, using lowercase letters, numbers, and special characters (
-)
- Actual server name is created with postfix like 001, 002 based on server name
Cluster Name Required Cluster name of restore DB - Enter 3-20 characters using English
- Cluster is a unit that groups multiple servers
Service Type > Server Type Required Server type where restore DB will be installed - Standard: Standard specifications commonly used
- High Capacity: Large capacity server with 24vCore or more (to be provided later)
Service Type > Planned Compute Optional Resource status with Planned Compute set - In Use: Number of resources in use among those with Planned Compute set
- Set: Number of resources with Planned Compute set
- Coverage Preview: Amount applied with Planned Compute per resource
- Planned Compute Service Create: Move to Planned Compute service application page
- For details, refer to Applying for Planned Compute
Service Type > Block Storage Required Block Storage settings used by restore DB - Basic OS: Area where DB engine is installed
- DATA: Storage area for table data, archive files, etc.
- Applied identically with the Storage type set in the original cluster
- Capacity is entered in multiples of 8 within the 16-5,120 range
- Additional: DATA, Archive, TEMP, Backup data storage area
- Applied identically with the Storage type set in the original cluster
- In restore DB, only DATA, TEMP, Archive purposes can be added
- Select Use and enter storage purpose and capacity
- To add storage, click + button, to delete, click x button
- Capacity can be entered in multiples of 8 within the 16-5,120 range, and can create up to 9
Database Username Required Database username set in the original DB Database Port Number Required Database Port number set in the original DB IP Access Control Optional IP address to access restore 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 Add button
- To delete entered IP, click x button next to the entered IP
Maintenance Window Optional DB maintenance window - If Use is selected, set day of week, start time, duration
- For stable DB management, set maintenance window is recommended. Patching is performed at the set time and service interruption occurs
- If set to Not Used, problems caused by not applying patching are not the responsibility of Samsung SDS.
Tag Optional Add tag - Click Add Tag button and enter or select Key, Value values
Table. MariaDB(DBaaS) Restore Configuration Items
3.2.3 - Configuring Read Replica
Users can enter required information for Read Replica through Samsung Cloud Platform Console and create the service through detailed options.
Configuring Replica
Through Replica configuration, you can create replica servers for read-only or disaster recovery purposes. You can create up to 5 Replicas per Database.
Follow these steps to configure Replica.
- Click All Services > Database > MariaDB(DBaaS) menu. You will be taken to MariaDB(DBaaS)’s Service Home page.
- Click MariaDB(DBaaS) menu on the Service Home page. You will be taken to the MariaDB(DBaaS) List page.
- Click the resource for which you want to configure Replica on the MariaDB(DBaaS) List page. You will be taken to the MariaDB(DBaaS) Detail page.
- Click Replica Configuration button. You will be taken to the Replica Configuration page.
- Enter information in the Replica configuration area and click Complete button.
Category RequiredDescription Region Required Region to configure Replica - Only exposed when Replica Configuration (Other Region) is selected
Replica Count Required Number of Replicas to configure - Can configure up to 5 per cluster
- If selecting a value of 2 or more, additionally enter Replica name and service type information
Replica Name Required Replica server name - Enter 3-19 characters starting with English lowercase letters, using lowercase letters, numbers, and special characters (
-)
- The entered Replica name is exposed as cluster name in the list
Service Type > Server Type Required Replica server type - Standard: Standard specifications commonly used
- High Capacity: Large capacity server with 24vCore or more (to be provided later)
Service Type > Planned Compute Optional Resource status with Planned Compute set - In Use: Number of resources in use among those with Planned Compute set
- Set: Number of resources with Planned Compute set
- Coverage Preview: Amount applied with Planned Compute per resource
- Planned Compute Service Create: Move to Planned Compute service application page
- For details, refer to Applying for Planned Compute
Service Type > Block Storage Required Block Storage settings used by Replica DB - Basic OS: Area where DB engine is installed
- DATA: Storage area for table data, archive files, etc.
- Applied identically with the Storage type set in the original cluster
- Capacity setting not possible
- Additional: DATA, Archive, TEMP, Backup data storage area
- Applied identically with the Storage type set in the original cluster
- In Replica, only DATA, TEMP purposes can be added
- Select Use and enter storage purpose and capacity
- To add storage, click + button, to delete, click x button
- Capacity can be entered in multiples of 8 within the 16-5,120 range, and can create up to 9 including the number set in the original cluster
IP Access Control Optional Service access policy setting - Since access policy is set for IPs entered on the page, separate Security Group policy setting 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 Add button
- To delete entered IP, click x button next to the entered IP
Maintenance Window Optional DB maintenance window - If Use is selected, set day of week, start time, duration
- For stable DB management, set maintenance window is recommended. Patching is performed at the set time and service interruption occurs
- If set to Not Used, problems caused by not applying patching are not the responsibility of the company.
Tag Optional Add tag - Click Add Tag button and enter or select Key, Value values
Table. MariaDB(DBaaS) Replica Configuration Items
Reconfiguring Replica
In case of network failure or Replication delay with Master Cluster, you can replicate Master Cluster’s data again through Replica reconfiguration functionality.
Follow these steps to reconfigure Replica.
- Click All Services > Database > MariaDB(DBaaS) menu. You will be taken to MariaDB(DBaaS)’s Service Home page.
- Click MariaDB(DBaaS) menu on the Service Home page. You will be taken to the MariaDB(DBaaS) List page.
- Click the resource for which you want to reconfigure Replica on the MariaDB(DBaaS) List page. You will be taken to the MariaDB(DBaaS) Detail page.
- Click Replica Reconfiguration button. Replica Reconfiguration Notification popup window will open.
- Click Confirm button in the Replica Reconfiguration Notification popup window.
Promoting Replica Cluster to Master Cluster
You can promote a configured Replica Cluster to Master Cluster.
Follow these steps to promote Replica Cluster to Master.
- Click All Services > Database > MariaDB(DBaaS) menu. You will be taken to MariaDB(DBaaS)’s Service Home page.
- Click MariaDB(DBaaS) menu on the Service Home page. You will be taken to the MariaDB(DBaaS) List page.
- Click the resource for which you want to promote to Master on the MariaDB(DBaaS) List page. You will be taken to the MariaDB(DBaaS) Detail page.
- Click More button and click Master Promotion button. Master Promotion Notification popup window will open.
- Click Confirm button in the Master Promotion Notification popup window.
3.2.4 - MariaDB(DBaaS) Server Connection
Scenario Overview
The MariaDB(DBaaS) Server Connection scenario involves creating a Bastion host (Virtual Server) and Database service, and accessing the DB service through the Bastion host. To securely connect to MariaDB(DBaaS) in the Samsung Cloud Platform environment, you need to create a Bastion host and configure network connections through it. We recommend configuring the Database service in a Private Subnet environment and the Bastion host in a restricted Public Subnet environment to maintain stability and high security levels.
This scenario explains the process of creating a Bastion host and Database service, configuring the network environment for Bastion host and Database access, and connecting through a DB access client.
Scenario Components
You can configure this scenario using the following services:
| Service Group | Service | Description | |
|---|---|---|---|
| Networking | VPC | Service that provides an independent virtual network in the cloud environment | |
| Networking | VPC > Subnet | Service that subdivides the network according to user’s purpose/scale within VPC | |
| Networking | VPC > Public IP | Service that reserves a public IP to assign to and release from Compute resources | |
| Networking | VPC > Internet Gateway | Service that connects VPC resources to the internet | |
| Networking | Security Group | Virtual firewall that controls server traffic | |
| Database | MariaDB(DBaaS) | Service that allows easy creation and management of MariaDB in a web environment | |
| Compute | Virtual Server | Virtual server optimized for cloud computing | |
| Compute | Virtual Server > Keypair | Encrypted file used to connect to Virtual Server |
- The default policy of Security Group is Deny All, so you must register only allowed IPs.
- The All Open (Any IP, Any Port) policy for In/Outbound can expose cloud resources to external threats.
- Setting policies by specifying necessary IPs and Ports can enhance security.
Scenario Configuration Method
Create the services required to configure the scenario through the following procedure.
1. Configure Network
This section explains the process of configuring the network environment for Bastion Host and Database service access.
1-1. Create VPC
- Click All Services > Networking > VPC menu. You will be taken to the VPC’s Service Home page.
- Click VPC Create button on the Service Home page. You will be taken to the VPC Create page.
- Enter the information required for service creation on the VPC Create page.
- Enter the IP range as
192.168.x.0/16.
- Enter the IP range as
- Review the detailed information and estimated billing amount on the Summary panel, and click Complete button.
- When creation is complete, verify the created resource on the VPC List page.
1-2. Create Subnet
- Click All Services > Networking > VPC menu. You will be taken to the VPC’s Service Home page.
- Click Subnet menu on the Service Home page. You will be taken to the Subnet List page.
- Click Subnet Create button. You will be taken to the Subnet Create page.
- Enter the information required for service creation on the Subnet Create page.
- Select Subnet type as General.
- Select the previously created VPC.
- Enter the IP range as
192.168.x.0/24.
- Review the detailed information and estimated billing amount on the Summary panel, and click Complete button.
- When creation is complete, verify the created resource on the Subnet List page.
1-3. Create Internet Gateway
- Click All Services > Networking > VPC menu. You will be taken to the VPC’s Service Home page.
- Click Internet Gateway menu on the Service Home page. You will be taken to the Internet Gateway List page.
- Click Internet Gateway Create button. You will be taken to the Internet Gateway Create page.
- Enter the required information for service creation on the Internet Gateway Create page.
- Select the previously created VPC.
- Select Use for Firewall usage item.
- Review the detailed information and estimated billing amount on the Summary panel, and click Complete button.
- When creation is complete, verify the created resource on the Internet Gateway List page.
1-4. Create Public IP
- Click All Services > Networking > VPC menu. You will be taken to the VPC’s Service Home page.
- Click Public IP menu on the Service Home page. You will be taken to the Public IP List page.
- Click Public IP Reserve button. You will be taken to the Public IP Reserve page.
- Enter the required information for service reservation on the Public IP Reserve page.
- Review the detailed information and estimated billing amount on the Summary panel, and click Complete button.
- When creation is complete, verify the created resource on the Public IP List page.
1-5. Create Security Group
- Click All Services > Networking > Security Group menu. You will be taken to Security Group’s Service Home page.
- Click Security Group Create button on the Service Home page. You will be taken to the Security Group Create page.
- Enter the required information for service creation on the Security Group Create page.
- Review the entered information and click Complete button.
- When creation is complete, verify the created resource on the Security Group List page.
2. Create Bastion Host
This section explains the process of configuring a Bastion Host where a DB access client should be installed.
2-1. Create Server Keypair
- Click All Services > Compute > Virtual Server menu. You will be taken to Virtual Server’s Service Home page.
- Click Keypair menu on the Service Home page. You will be taken to the Keypair List page.
- Click Keypair Create button. You will be taken to the Keypair Create page.
- Enter the required information for service creation on the Keypair Create page.
- Review the creation information and click Complete button.
- Key download is available only for the first time, and reissuance is not provided.
- Please save the downloaded key in a safe place.
2-2. Create Bastion Host
- Click All Services > Compute > Virtual Server menu. You will be taken to Virtual Server’s Service Home page.
- Click Virtual Server Create button on the Service Home page. You will be taken to the Virtual Server Create page.
- Enter the required information for service creation on the Virtual Server Create page.
- Select Windows for Image.
- Select the previously created VPC and Subnet.
- Click Use NAT and select the Public IP reserved in 1-4. Create Public IP.
- Connect the Keypair created in 2-1. Create Server Keypair.
- Review the detailed information and estimated billing amount on the Summary panel, and click Complete button.
- When creation is complete, verify the created resource on the Virtual Server List page.
2-3. Verify Bastion Host Access ID and PW
- Click All Services > Compute > Virtual Server menu. You will be taken to Virtual Server’s Service Home page.
- Click Virtual Server menu on the Service Home page. You will be taken to the Virtual Server List page.
- Click the resource created in 2-2. Create Bastion Host on the Virtual Server List page. You will be taken to the resource’s detail information page.
- Click RDP password query button in the Keypair name item on the detail information page. RDP password query popup window will open.
- Attach the keypair file downloaded in 2-1. Create Server Keypair in the RDP password query popup window.
- After attaching, click Password Check button. The ID and Password for accessing the resource will be displayed.
- The ID and Password will be used as information for accessing the Bastion host later in 5-1. Access Bastion Host.
3. Create Database
This section explains the process of creating a Database service.
3-1. Create MariaDB(DBaaS) Service
- Click All Services > Database > MariaDB(DBaaS) menu. You will be taken to MariaDB(DBaaS)’s Service Home page.
- Click MariaDB(DBaaS) Create button on the Service Home page. You will be taken to the MariaDB(DBaaS) Create page.
- Enter the required information for service creation on the MariaDB(DBaaS) Create page.
- Select and connect the previously created VPC and Subnet.
- Enter Database-related creation information on the required information input screen.
- Add Bastion host IP in IP access control item.
- Database Port defaults to 2866, but users can specify it.
- Review the detailed information and estimated billing amount on the Summary panel, and click Complete button.
- When creation is complete, verify the created resource on the MariaDB(DBaaS) list page.
4. Configure Rules
This section 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. Add Security Group Security Rules
- Click All Services > Networking > Security Group menu. You will be taken to Security Group’s Service Home page.
- Click Security Group menu on the Service Home page. You will be taken to the Security Group List page.
- Select the Security Group resource created in 1-5. Create Security Group. You will be taken to the resource’s detail information page.
- Click Rules tab on the detail information page. You will be taken to the Rules tab.
- Click Add Rule button on the Rules tab. You will be taken to the Add Rule popup window.
- Enter the following rules in the Add Rule popup window and click Confirm button.
Direction Remote Destination Address Protocol Port Description Inbound CIDR User PC IP TCP 3389 (RDP) Bastion Access PC → Bastion host Outbound CIDR DB IP TCP Database Port (Direct Input) Bastion host → Database Table. Security Group Security Rules to Add
4-2. Add IGW Firewall Rules
- Click All Services > Networking > Firewall menu. You will be taken to Firewall’s Service Home page.
- Click Firewall menu on the Service Home page. You will be taken to the Firewall List page.
- Select the Internet Gateway Resource Name created in 1-3. Create Internet Gateway on the Firewall List page. You will be taken to the resource’s detail information page.
- Click Rules tab on the detail information page. You will be taken to the Rules tab.
- Click Add Rule button on the Rules tab. You will be taken to the Add Rule popup window.
- Enter the following rules in the Add Rule popup window and click Confirm button.
Source Address Destination Address Protocol Port Action Direction Description Bastion Access PC IP Bastion host IP TCP 3389(RDP) Allow Inbound User PC → Bastion host Table. Internet Gateway Firewall Rules to Add
5. Access Database
This section explains the process of users accessing Database through a DB access client program.
This guide explains how to connect using MySQL Workbench. Since various Database client programs and CLI utilities are available, users can install and use the tool that suits them best.
5-1. Access Bastion Host
- Run Remote Desktop Connection in the Windows environment of the PC from which you want to access the Bastion host, enter the Bastion Host’s NAT IP, and click Connect button.
- When Remote Desktop Connection is successful, User Credential Input Window will open. Enter the ID and Password verified in 2-3. Verify Bastion Host Access ID and PW and click Confirm button.
5-2. Install DB Access Client Program (MySQL Workbench) Inside Bastion Host
- Go to the MySQL official page and download the MySQL Workbench program.
- MySQL Workbench program download path: https://dev.mysql.com/downloads/workbench
- Connect your PC’s hard drive to upload the file to the Bastion host.
- Click Details button in the local devices and resources item on the Local Resources tab of Remote Desktop Connection.
- Select the local disk of the location where the file was downloaded and click Confirm button.
- Copy the downloaded file and upload it to the Bastion Host, then click the MySQL Workbench installation file to install it.
5-3. Access Database Using DB Access Client Program (MySQL Workbench)
- Run MySQL Workbench and click Database > Manage connections. Manage Server Connection popup window will appear.
- Click New button at the bottom left of the Manage Server Connection popup window, enter the Database server information created in 3-1. Create MariaDB(DBaaS) Service, and click Test Connection button. Password popup window will appear.
Required Input Item Input Value Connection Name User specified (ex. Service Name) Host name Database Server IP Port Database Port Username Database Username Table.DB Access Client Program Input Items - Enter the password set in 3-1. Create MariaDB(DBaaS) Service in the Password popup window and click OK button. When success is complete, click OK button in the Manage Server Connection popup window.
- Click Database > Connect to Database. Connect to Database popup window will appear.
- Select the Connection Name registered in Stored Connection to perform Database access. After connection, you can perform simple queries, etc.
3.3 - API Reference
3.4 - CLI Reference
3.5 - Release Note
MariaDB(DBaaS)
- You can configure disaster recovery replicas through the Replica configuration (Other Region) feature.
- Enhance latest security patches and stability through the OS(Kernel) upgrade feature.
- You can monitor metrics and logs through integration with Servicewatch.
- MariaDB(DBaaS) feature added
- 2nd Generation Server Type added
- Added 2nd generation (db2) server type based on Intel 4th generation (Sapphire Rapids) Processor. For more information, see MariaDB(DBaaS) Server Type
- DB User and Access Control Management and Archive Setting Feature added
- For more information, see Managing DB Users, Managing DB Access Control, Managing Archive
- DB Audit Log Export feature added
- For more information, see Exporting DB Logs
- Backup notification feature provided
- Provides notification feature for backup success and failure. For more information, see Creating Notification Policy
- Migration feature added
- Provides non-disruptive data migration feature based on Replication. For more information, see Configuring Migration
- Added HDD, HDD_KMS types to Block Storage type
- 2nd Generation Server Type added
- MariaDB(DBaaS) feature changes
- Added 2nd generation server type
- Added 2nd generation (dbh2) server type based on Intel 4th generation (Sapphire Rapids) Processor. For more information, see MariaDB(DBaaS) Server Type
- After service creation, Block Storage capacity expansion is possible.
- Per server network IP setting feature added allows common settings or per server settings according to usage purpose.
- Added 2nd generation server type
- Samsung Cloud Platform common feature changes
- Reflected common CX changes such as Account, IAM and Service Home, Tags, etc.
- Added volume encrypted storage selection option to Block Storage type.
- Added function to Switch Role (Active ↔ Standby) of Active DB and Standby DB configured in redundancy.
- Integrated with Cloud Monitoring Service to enable DB instance performance and log monitoring.
- Planned Compute policy setting is available according to the server type selected by the customer.
- Released MariaDB(DBaaS) service that allows easy creation and management of MariaDB in a web environment.
4 - MySQL(DBaaS)
4.1 - Overview
Service Overview
MySQL(DBaaS) is an open source relational database management system (RDBMS). Samsung Cloud Platform provides an environment where MySQL installation is automated through a web-based Console and management functions for operation can be performed.
MySQL(DBaaS) is designed with a high availability architecture that considers storage-based data replication and minimization of failover time. To prevent data loss, when content in the Active server is changed, it is synchronously replicated to the Standby server, and up to 5 read-only servers called Replicas are provided for read load distribution and disaster recovery (DR). Additionally, to prepare for problems with the DB server or data, it provides automatic backup at a user-specified time, enabling data recovery at a desired point in time.
Provided Features
MySQL(DBaaS) provides the following features.
- Auto Provisioning: Database (DB) installation and configuration is possible through UI, and Active-standby redundancy configuration based on storage replication is provided. When the Active server fails, it automatically fails over to Standby.
- Operation Control Management: Provides functionality to control the status of running servers. In addition to start and stop, restart is possible when there is an issue with the DB or to reflect configuration values. When configured with high availability (HA), users can directly switch between Active-Standby nodes through Switch-over.
- Backup and Recovery: Provides data backup functionality based on its own backup commands. Backup time and retention period can be set by the user, and additional charges occur according to backup capacity. Additionally, it provides recovery functionality for backed-up data, and when the user performs recovery, a separate DB is created and recovery proceeds to the point in time selected by the user (backup storage point, user-specified point). When recovering to a user-specified point, the recovery point can be set up to 5 minutes/10 minutes/30 minutes/1 hour ago based on stored backup files and archive files.
- Version Management: Provides version upgrade (Minor) functionality for some feature improvements and security patches. Users can select whether to perform backup according to version upgrade, and if backup is performed, the data is backed up before patching and then the DB engine is updated.
- Replica Configuration: Up to 5 Read Replicas can be configured in the same/different region for read load distribution and disaster recovery (DR).
- Parameter Management: DB configuration parameters for performance improvement and security can be modified.
- Service Status Check: Checks the final status of the current DB service.
- Monitoring: CPU, memory, and performance monitoring information can be checked through Cloud Monitoring and Servicewatch.
- DB User Management: Manages by checking DB account (user) information registered in the DB.
- DB Access Control Management: Access allowed IP registration and cancellation based on DB accounts registered in the DB is possible.
- Archive Management: Archive file retention period (1 day ~ 35 days) in the DB server and Archive mode (On/Off) can be set.
- DB Log Export: Logs stored through Audit settings can be exported to the user’s Object Storage.
- Migration: Supports migration using Replication method by synchronizing data in real-time with the operating database without service interruption.
- OS Kernel Upgrade: OS Kernel can be upgraded for some feature improvements and security patch application.
Components
MySQL(DBaaS) provides pre-verified engine versions and various server types according to the open source support policy. Users can select and use them according to the scale of the service they want to configure.
Engine Version
The engine versions supported by MySQL(DBaaS) are as follows.
Technical support can be used until the supplier’s EoTS (End of Technical Service) date, and the EOS date when new creation stops is set to 6 months before the EoTS date.
According to the supplier’s policy, EOS and EoTS dates may change, so please refer to the supplier’s license management policy page for details.
- MySQL (Community): https://www.mysql.com/support/eol-notice.html
| Service | Provided Version | EOS Date(Samsung Cloud Platform New Creation Stop Date) | EoTS Date(Community Technical Support End Date) |
|---|---|---|---|
| MySQL (Community) | 8.0.28 | 2026-03-19 | 2026-04-30 |
| 8.0.30 | 2026-03-19 | 2026-04-30 | |
| 8.0.32 | 2026-03-19 | 2026-04-30 | |
| 8.0.33 | 2026-03-19 | 2026-04-30 | |
| 8.0.34 | 2026-03-19 | 2026-04-30 | |
| 8.0.35 | 2026-03-19 | 2026-04-30 | |
| 8.0.36 | 2026-03-19 | 2026-04-30 | |
| 8.0.37 | 2026-03-19 | 2026-04-30 | |
| 8.0.41 | 2026-03-19 | 2026-04-30 | |
| 8.0.42 | 2026-03-19 | 2026-04-30 | |
| 8.4.5 | 2031-12 (Scheduled) | 2032-04-30 |
Server Type
The server type supported by MySQL(DBaaS) is in the following format.
For details on the server types provided by MySQL(DBaaS), refer to MySQL(DBaaS) Server Types.
Standard db1v2m4
| Classification | Example | Detailed Description |
|---|---|---|
| Server Type | Standard | Provided server types
|
| Server Specification | db1 | Provided server specifications
|
| Server Specification | v2 | Number of vCores
|
| Server Specification | m4 | Memory capacity
|
Prerequisite Services
This is a list of services that must be configured in advance before creating this service. Please prepare in advance by referring to the guide provided for each service.
| Service Category | Service | Detailed Description |
|---|---|---|
| Networking | VPC | Service that provides an independent virtual network in a cloud environment |
4.1.1 - Server Type
MySQL(DBaaS) Server Type
MySQL(DBaaS) provides server types with various combinations of CPU, Memory, and Network Bandwidth. When creating a MySQL(DBaaS), the database engine is installed according to the selected server type, which is chosen based on the intended use.
The server types supported by MySQL(DBaaS) are as follows:
Standard db1v2m4
Classification | Example | Detailed Description |
|---|---|---|
| Server Type | Standard | Classification of provided server types
|
| Server Specification | db1 | Classification of provided server types and generations
|
| Server Specification | v2 | Number of vCores
|
| Server Specification | m4 | Memory capacity
|
db1 Server Type
The db1 server type of MySQL(DBaaS) is provided with standard specifications (vCPU, Memory) and is suitable for various database workloads.
- Up to 3.3Ghz Intel 3rd generation (Ice Lake) Xeon Gold 6342 Processor
- Supports up to 16 vCPUs and 256 GB of memory
- Up to 12.5 Gbps networking speed
| Classification | Server Type | vCPU | Memory | Network Bandwidth |
|---|---|---|---|---|
| Standard | db1v2m4 | 2 vCore | 4 GB | Up to 10 Gbps |
| Standard | db1v2m8 | 2 vCore | 8 GB | Up to 10 Gbps |
| Standard | db1v2m16 | 2 vCore | 16 GB | Up to 10 Gbps |
| Standard | db1v2m24 | 2 vCore | 24 GB | Up to 10 Gbps |
| Standard | db1v2m32 | 2 vCore | 32 GB | Up to 10 Gbps |
| Standard | db1v4m8 | 4 vCore | 8 GB | Up to 10 Gbps |
| Standard | db1v4m16 | 4 vCore | 16 GB | Up to 10 Gbps |
| Standard | db1v4m32 | 4 vCore | 32 GB | Up to 10 Gbps |
| Standard | db1v4m48 | 4 vCore | 48 GB | Up to 10 Gbps |
| Standard | db1v4m64 | 4 vCore | 64 GB | Up to 10 Gbps |
| Standard | db1v6m12 | 6 vCore | 12 GB | Up to 10 Gbps |
| Standard | db1v6m24 | 6 vCore | 24 GB | Up to 10 Gbps |
| Standard | db1v6m48 | 6 vCore | 48 GB | Up to 10 Gbps |
| Standard | db1v6m72 | 6 vCore | 72 GB | Up to 10 Gbps |
| Standard | db1v6m96 | 6 vCore | 96 GB | Up to 10 Gbps |
| Standard | db1v8m16 | 8 vCore | 16 GB | Up to 10 Gbps |
| Standard | db1v8m32 | 8 vCore | 32 GB | Up to 10 Gbps |
| Standard | db1v8m64 | 8 vCore | 64 GB | Up to 10 Gbps |
| Standard | db1v8m96 | 8 vCore | 96 GB | Up to 10 Gbps |
| Standard | db1v8m128 | 8 vCore | 128 GB | Up to 10 Gbps |
| Standard | db1v10m20 | 10 vCore | 20 GB | Up to 10 Gbps |
| Standard | db1v10m40 | 10 vCore | 40 GB | Up to 10 Gbps |
| Standard | db1v10m80 | 10 vCore | 80 GB | Up to 10 Gbps |
| Standard | db1v10m120 | 10 vCore | 120 GB | Up to 10 Gbps |
| Standard | db1v10m160 | 10 vCore | 160 GB | Up to 10 Gbps |
| Standard | db1v12m24 | 12 vCore | 24 GB | Up to 12.5 Gbps |
| Standard | db1v12m48 | 12 vCore | 48 GB | Up to 12.5 Gbps |
| Standard | db1v12m96 | 12 vCore | 96 GB | Up to 12.5 Gbps |
| Standard | db1v12m144 | 12 vCore | 144 GB | Up to 12.5 Gbps |
| Standard | db1v12m192 | 12 vCore | 192 GB | Up to 12.5 Gbps |
| Standard | db1v14m28 | 14 vCore | 28 GB | Up to 12.5 Gbps |
| Standard | db1v14m56 | 14 vCore | 56 GB | Up to 12.5 Gbps |
| Standard | db1v14m112 | 14 vCore | 112 GB | Up to 12.5 Gbps |
| Standard | db1v14m168 | 14 vCore | 168 GB | Up to 12.5 Gbps |
| Standard | db1v14m224 | 14 vCore | 224 GB | Up to 12.5 Gbps |
| Standard | db1v16m32 | 16 vCore | 32 GB | Up to 12.5 Gbps |
| Standard | db1v16m64 | 16 vCore | 64 GB | Up to 12.5 Gbps |
| Standard | db1v16m128 | 16 vCore | 128 GB | Up to 12.5 Gbps |
| Standard | db1v16m192 | 16 vCore | 192 GB | Up to 12.5 Gbps |
| Standard | db1v16m256 | 16 vCore | 256 GB | Up to 12.5 Gbps |
dbh2 Server Type
The dbh2 server type of MySQL(DBaaS) is provided with high-capacity server specifications and is suitable for large-scale data processing database workloads.
- Up to 3.2GHz Intel 4th generation (Sapphire Rapids) Xeon Gold 6448H Processor
- Supports up to 128 vCPUs and 1,536 GB of memory
- Up to 25Gbps networking speed
| Classification | Server Type | vCPU | Memory | Network Bandwidth |
|---|---|---|---|---|
| High Capacity | dbh2v24m48 | 24 vCore | 48 GB | Up to 25 Gbps |
| High Capacity | dbh2v24m96 | 24 vCore | 96 GB | Up to 25 Gbps |
| High Capacity | dbh2v24m192 | 24 vCore | 192 GB | Up to 25 Gbps |
| High Capacity | dbh2v24m288 | 24 vCore | 288 GB | Up to 25 Gbps |
| High Capacity | dbh2v32m64 | 32 vCore | 64 GB | Up to 25 Gbps |
| High Capacity | dbh2v32m128 | 32 vCore | 128 GB | Up to 25 Gbps |
| High Capacity | dbh2v32m256 | 32 vCore | 256 GB | Up to 25 Gbps |
| High Capacity | dbh2v32m384 | 32 vCore | 384 GB | Up to 25 Gbps |
| High Capacity | dbh2v48m192 | 48 vCore | 192 GB | Up to 25 Gbps |
| High Capacity | dbh2v48m576 | 48 vCore | 576 GB | Up to 25 Gbps |
| High Capacity | dbh2v64m256 | 64 vCore | 256 GB | Up to 25 Gbps |
| High Capacity | dbh2v64m768 | 64 vCore | 768 GB | Up to 25 Gbps |
| High Capacity | dbh2v72m288 | 72 vCore | 288 GB | Up to 25 Gbps |
| High Capacity | dbh2v72m864 | 72 vCore | 864 GB | Up to 25 Gbps |
| High Capacity | dbh2v96m384 | 96 vCore | 384 GB | Up to 25 Gbps |
| High Capacity | dbh2v96m1152 | 96 vCore | 1152 GB | Up to 25 Gbps |
| High Capacity | dbh2v128m512 | 128 vCore | 512 GB | Up to 25 Gbps |
| High Capacity | dbh2v128m1536 | 128 vCore | 1536 GB | Up to 25 Gbps |
4.1.2 - Monitoring Metrics
MySQL(DBaaS) Monitoring Metrics
The table below shows the performance monitoring metrics of MySQL (DBaaS) that can be viewed through Cloud Monitoring. For detailed usage of Cloud Monitoring, refer to the Cloud Monitoring guide.
MySQL(DBaaS)’s server monitoring metrics, please refer to the Virtual Server Monitoring Metrics guide.
| Performance Item | Detailed Description | Unit |
|---|---|---|
| Active Locks | Active Locks count | cnt |
| Active Sessions | Active Session count | cnt |
| Binary Log Used [MB] | binary log usage | MB |
| Connection Usage [Total] | DB connection session usage rate | % |
| Connections | Connection count | cnt |
| Connections [MAX] | Connection count | cnt |
| Connections | max connected threads count | cnt |
| Data Directory Used [MB] | data directory usage | MB |
| Instance Status [PID] | mysqld process pid | pid |
| Open Files | Number of DB files in open state | cnt |
| Open Files [MAX] | number of DB files that can be opened | cnt |
| Open Files Usage | DB file maximum count usage rate | % |
| Relay Log Used [MB] | relay log usage (MB) | MB |
| Running Threads | running thread number | cnt |
| Safe PID | safe program pid | pid |
| Slave Behind Master seconds | time difference with master node | sec |
| Slowqueries | Number of SQL queries running for a long time (5 minutes or more) (by DB) | cnt |
| Slowqueries [Total] | Number of SQL queries running for a long time (5 minutes or more) (total) | cnt |
| Tablespace Used | Tablespace usage | MB |
| Tablespace Used [Total] | Tablespace total usage | MB |
| Transaction Time [Long] | Transaction longest execution time | sec |
| Wait Locks | Number of sessions blocked for 60 seconds or more by lock | cnt |
4.1.3 - ServiceWatch Metrics
MySQL sends metrics to ServiceWatch. The metrics provided by basic monitoring are data collected at a 1-minute interval.
Basic Indicators
The following are the basic metrics for the MySQL namespace.
OS Basic Metrics
| Category | Performance Item | Detailed Description | Unit | Meaningful Statistics |
|---|---|---|---|---|
| CPU | CPU Usage | CPU Usage | Percent | |
| Disk | Disk Usage | Disk Usage Rate | Percent | |
| Disk | Disk Write Bytes | Write capacity on block device (bytes/second) | Bytes/Second | |
| Disk | Disk Read Bytes | Amount read from block device (bytes/second) | Bytes/Second | |
| Disk | Disk Write Request | Number of write requests in block device (requests/second) | Count/Second | |
| Disk | Disk Read Requests | Number of read requests on block device (requests/second) | Count/Second | |
| Disk | Average Disk I/O Queue Size | Average queue length of requests issued to the block device | None | |
| Disk | Disk I/O Utilization | Percentage of time the block device actually processes I/O operations | Percent | |
| Memory | Memory Usage | Memory Usage Rate | Percent | |
| Network | Network In Bytes | Received capacity on network interface (bytes/second) | Bytes/Second | |
| Network | Network Out Bytes | Amount transmitted from the network interface (bytes/second) | Bytes/Second | |
| Network | TCP Connections | Total number of TCP connections currently properly established | Count/Second | |
| Network | Network In Packets | Number of packets received on the network interface | Count | |
| Network | Network Out Packets | Number of packets transmitted from the network interface | Count | |
| Network | Network In Dropped | Number of packet drops received on the network interface | Count | |
| Network | Network Out Dropped | Number of packet drops transmitted from the network interface | Count | |
| Network | Network In Errors | Number of packet errors received on the network interface | Count | |
| Network | Network Out Errors | Number of packet errors transmitted from the network interface | Count |
MySQL Basic Metrics
| Category | Performance Item | Detailed Description | Unit | Meaningful Statistics |
|---|---|---|---|---|
| Activelock | Active locks | Number of active locks | Count | |
| Activesession | Active sessions | Number of active sessions | Count | |
| Activesession | Connection usage | DB connection session usage rate | Percent | |
| Activesession | Connections | DB connection session | Count | |
| Activesession | Connections(MAX) | Maximum number of connections that can be attached to the DB | Count | |
| Datafile | Binary log used | binary log usage (MB) | Megabytes | |
| Datafile | Open files | Number of DB files in open state | Count | |
| Datafile | Open files(MAX) | Number of DB files that can be opened | Count | |
| Datafile | Open files usage | DB file maximum count usage rate | Percent | |
| Datafile | Relay log used | Relay log usage(MB) | Megabytes | |
| InnoDB | InnoDB buffer pool hit ratio | Percent | ||
| InnoDB | InnoDB row lock waits | Number of InnoDB transactions currently waiting for a lock (Lock-wait) | Count | |
| InnoDB | InnoDB row lock time | Total time waited due to InnoDB row lock (in milliseconds) | Count | |
| InnoDB | InnoDB table locks waits | Number of times waiting occurred to acquire table lock (cumulative) | Count | |
| State | Instance state | MariaDB Process status up/down check | Count | |
| State | Slave behind master seconds (Replica Only) | Replica’s delay amount (unit: seconds) | Seconds | |
| State | Replica Thread running (Replica Only) | |||
| State | Replica io thread running (Replica Only) | |||
| State | Replica SQL thread running (Replica Only) | |||
| Tablespace | Tablespace used | Tablespace usage | Megabytes | |
| Tablespace | Tablespace used(TOTAL) | Tablespace usage (total) | Megabytes | |
| Transactions | Slow queries | Number of slow queries | Count | |
| Transactions | Transaction time | Long Transaction time | Seconds | |
| Transactions | Wait locks | Number of sessions waiting for lock | Count | |
| Transactions | SQL Queries/Sec | Total number (cumulative) of all queries (statements) received from clients since the server started | Count |
4.2 - How-to guides
Users can create the MySQL(DBaaS) service by entering required information through Samsung Cloud Platform Console and selecting detailed options.
Create MySQL(DBaaS)
You can create and use the MySQL(DBaaS) service in Samsung Cloud Platform Console.
- Before creating the service, please configure the VPC’s Subnet type as General.
- If the Subnet type is Local, the corresponding Database service cannot be created.
- If loading large amounts of data of 2 TB or more, backup may take a long time or DB performance may deteriorate. To prevent this, consideration is needed from an operational perspective, such as cleaning unnecessary data or moving old data to a statistical collection environment
Follow these steps to create MySQL(DBaaS).
- Click All Services > Database > MySQL(DBaaS) menu. You will move to the Service Home page of MySQL(DBaaS).
- On the Service Home page, click the Create MySQL(DBaaS) button. You will move to the Create MySQL(DBaaS) page.
- On the Create MySQL(DBaaS) page, enter the information required for service creation and select detailed options.
- Select the required information in the Image and Version Selection area.
Classification RequiredDetailed Description Image Version Required MySQL(DBaaS) version list provided Table. MySQL(DBaaS) Image and Version Selection Items - Enter or select the required information in the Service Information Entry area.
Classification RequiredDetailed Description Server Name Prefix Required Server name where DB will be installed - Starts with lowercase English letters, enter 3 to 13 characters using lowercase letters, numbers, and special characters (
-)
- Actual server name is created with a postfix like 001, 002 based on the server name
Cluster Name Required Cluster name where DB servers are configured - Enter 3 to 20 characters using English letters
- Cluster is a unit that bundles multiple servers
Service Type > Server Type Required Server type where DB will be installed - Standard: Standard specifications generally used
- High Capacity: Large capacity server with 24vCore or more
- For details on server types provided by MySQL(DBaaS), refer to MySQL(DBaaS) Server Types
Service Type > Planned Compute Optional Resource status where Planned Compute is set - In Use: Number of resources in use among resources where Planned Compute is set
- Set: Number of resources where Planned Compute is set
- Coverage Preview: Amount applied as Planned Compute per resource
- Create Planned Compute Service: Move to Planned Compute service application page
- For details, refer to Apply for Planned Compute
Service Type > Block Storage Required Block Storage configuration used by DB according to purpose - Basic OS: Area where DB engine is installed
- DATA: Storage area for table data and archive files, etc.
- Select storage type and enter capacity (For details on Block Storage types, refer to Create Block Storage)
- SSD: High performance general volume
- HDD: General volume
- SSD_KMS, HDD_KMS: Additional encrypted volume using Samsung Cloud Platform KMS (Key Management System) encryption key
- Configured Storage type is applied identically to additional storage as well
- Enter capacity as a multiple of 8 in the range of 16 ~ 5,120
- Since SQL execution or large Sort due to monthly batch, etc. may cause service interruption, separate TEMP storage must be allocated and used
- Select storage type and enter capacity (For details on Block Storage types, refer to Create Block Storage)
- Add: DATA, Archive, TEMP, Backup data storage area
- Select Use and enter the purpose and capacity of the storage
- Storage type is applied identically as the type set in DATA, and capacity can be entered as a multiple of 8 in the range of 16 ~ 5,120
- To add storage, click the + button, and to delete, click the x button. Maximum 9 can be added
- Before transferring backup data, temporarily store backup data in BACKUP storage
- If backup data exceeds 100 GB and there are many data changes, it is recommended to add separate BACKUP storage for stable backup. It is recommended to set backup capacity to about 60% of DATA capacity
- If BACKUP storage is not added, the
/tmparea is used, and backup fails if capacity is insufficient
- Per service, only 1 Block Storage is allocated for Archive, TEMP, BACKUP storage
Redundancy Configuration Optional Whether to configure redundancy - If redundancy configuration is used, DB instance is configured as Active DB and Standby DB
Network > Common Settings Required Network settings where servers created in the service are installed - Select if you want to apply the same settings to all servers being installed
- Select pre-created VPC and Subnet, IP, Public NAT
- Only automatic creation is possible for IP
- Public NAT function can be used only if VPC is connected to Internet Gateway. If you check Use, you can select from IPs reserved in Public IP of VPC product. For details, refer to Create Public IP
Network > Per Server Settings Required Network settings where servers created in the service are installed - Select if you want to apply different settings to each server being installed
- Select pre-created VPC and Subnet, IP, Public NAT
- Enter IP for each server
- Public NAT function can be used only if VPC is connected to Internet Gateway. If you check Use, you can select from IPs reserved in Public IP of VPC product. For details, refer to Create Public IP
IP Access Control Optional Service access policy setting - Since access policy is set for IPs entered on the page, 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 entered IP, click the x button next to the entered IP
Maintenance Window Optional DB maintenance window - If you select Use, set day of week, start time, and duration
- It is recommended to set a maintenance window for stable DB management. Patch work is performed at the set time and service interruption occurs
- If set to Not Used, Samsung SDS is not responsible for problems caused by not applying patches.
Table. MySQL(DBaaS) Service Configuration Items - Starts with lowercase English letters, enter 3 to 13 characters using lowercase letters, numbers, and special characters (
- Enter or select the required information in the Database Configuration Required Information Entry area.
Classification RequiredDetailed Description Database Name Required Server name applied when installing DB - Start with English letters, enter 3 to 20 characters using English letters and numbers
Database Username Required DB user name - Account with that name is also created in OS
- Enter 2 to 20 characters using lowercase English letters
- Restricted Database usernames can be checked in Console
Database Password Required Password to use when accessing DB - Enter 8 to 30 characters including English letters, numbers, and special characters (excluding
"’)
Database Password Confirm Required Re-enter the password to use when accessing DB identically Database Port Number Required Port number required for DB connection - Enter DB port in the range of 1200 ~ 65535
Backup > Use Optional Whether to use backup - Select Use to set backup file retention period, backup start time, and Archive backup cycle
Backup > Retention Period Optional Backup retention period - Select backup retention period. File retention period can be set from 7 days to 35 days
- Separate charges occur for backup files according to capacity
Backup > Backup Start Period Optional Backup start time - Select backup start time
- Minutes when backup is performed are set randomly, and backup end time cannot be set
Backup > Archive Backup Cycle Optional Archive backup cycle - Select Archive backup cycle
- Archive backup cycle of 1 hour is recommended. If you select 5 minutes, 10 minutes, 30 minutes, it may affect DB performance
Parameter Required Parameters to use in DB - Click the View button to check detailed information of parameters
- Parameters can be modified after DB creation is completed, and after modification, DB must be restarted
DB Character Set Required Character encoding method to use in DB Table Case Sensitivity Optional Whether DB Table is case-sensitive Time Zone Required Standard time zone where Database will be used ServiceWatch Log Collection Optional Whether to collect ServiceWatch logs - Select Use to set ServiceWatch log collection function
- For details on collected logs, refer to ServiceWatch Metrics
- Provided free up to 5 GB for all services in Account, and if exceeding 5 GB, charges are incurred according to storage capacity
- When collecting, log group and log stream are automatically created and cannot be deleted until resource is deleted
- To prevent exceeding 5 GB, direct deletion of log data or shortening of retention period is recommended
Table. MySQL(DBaaS) Database Configuration Items - Enter or select the required information in the Additional Information Entry area.
Classification RequiredDetailed Description Tags Optional Add tags - Can add up to 50 per resource
- Click the Add Tag button and then enter or select Key, Value values
Table. MySQL(DBaaS) Additional Information Entry Items
- Select the required information in the Image and Version Selection area.
- On the Summary panel, check the created detailed information and estimated billing amount, then click the Create button.
- When creation is completed, check the created resource on the Resource List page.
Check MySQL(DBaaS) Detailed Information
MySQL(DBaaS) service allows you to check and modify the entire resource list and detailed information. The MySQL(DBaaS) Details page is composed of Detailed Information, Tags, Operation History tabs, and for DBs where Replica is configured, the Replica Information tab is additionally configured.
Follow these steps to check the detailed information of MySQL(DBaaS) service.
- Click All Services > Database > MySQL(DBaaS) menu. You will move to the Service Home page of MySQL(DBaaS).
- On the Service Home page, click the MySQL(DBaaS) menu. You will move to the MySQL(DBaaS) List page.
- On the MySQL(DBaaS) List page, click the resource whose detailed information you want to check. You will move to the MySQL(DBaaS) Details page.
- At the top of the MySQL(DBaaS) Details page, status information and additional feature information are displayed.
Classification Detailed Description Cluster Status Status of cluster where DB is installed - Creating: Creating cluster
- Editing: Changing cluster to Operation execution status
- Error: Status where failure occurred while cluster was performing task
- If it occurs continuously, contact administrator
- Failed: Status where cluster failed during creation process
- Restarting: Restarting cluster
- Running: Status where cluster is operating normally
- Starting: Starting cluster
- Stopped: Status where cluster is stopped
- Stopping: Stopping cluster
- Synchronizing: Synchronizing cluster
- Terminating: Deleting cluster
- Unknown: Status where cluster status cannot be known
- If it occurs continuously, contact administrator
- Upgrading: Changing cluster to upgrade execution status
Cluster Control Buttons to change cluster status - Start: Start stopped cluster
- Stop: Stop running cluster
- Restart: Restart running cluster
- Switch-Over: Switch Standby cluster to Active
More Features Cluster-related management buttons - Sync Service Status: Check real-time DB service status
- Backup History: If backup is set, check whether backup was executed normally and history
- Database Recovery: Recover DB based on specific point in time
- Parameter Management: View and modify DB configuration parameters
- Replica Configuration: Configure Replica which is read-only cluster
- Replica Configuration (Other-Region): Configure Replica for disaster recovery in another region, button is deactivated if there is no region configured in that Account
- DB User Management: View and manage DB account (user) information registered in DB
- DB Access Control Management: Register and cancel access allowed IP based on DB accounts registered in DB
- Archive Management: Set Archive file retention period and Archive mode can be set
- DB Log Export: Logs stored through Audit settings can be exported to user’s Object Storage
- Migration Configuration: Provide Migration function using Replication method
- OS (Kernel) Upgrade: Upgrade OS Kernel version
Service Termination Button to terminate service Table. MySQL(DBaaS) Status Information and Additional Features
- At the top of the MySQL(DBaaS) Details page, status information and additional feature information are displayed.
Detailed Information
On the MySQL(DBaaS) List page, you can check the detailed information of the selected resource and modify information if necessary.
| Classification | Detailed Description |
|---|---|
| Server Information | Server information configured in that cluster
|
| Service | Service Name |
| Resource Type | Resource Type |
| SRN | Unique resource ID in Samsung Cloud Platform
|
| Resource Name | Resource name
|
| Resource ID | Unique resource ID in service |
| Creator | User who created the service |
| Creation Date | Date when service was created |
| Modifier | User who modified service information |
| Modification Date | Date when service information was modified |
| Image Version | Installed DB image and version information
|
| Cluster Type | Cluster type (Master Cluster, Replica Cluster, Migration Cluster) |
| Cluster Name | Cluster name where DB servers are configured |
| Master Cluster Name | Master cluster name of Replica
|
| Database Name | Server name applied when installing DB |
| Database Username | DB user name |
| Planned Compute | Resource status where Planned Compute is set
|
| Maintenance Window | DB maintenance window status
|
| Backup | Backup setting status
|
| ServiceWatch Log Collection | ServiceWatch log collection setting status
|
| DB Character Set | Encoding method to use in DB |
| Table Case Sensitivity | Whether DB Table is case-sensitive |
| Time Zone | Standard time zone where Database will be used |
| VIP | Virtual IP information
|
| Network | Network information where DB is installed (VPC, Subnet, VIP, NAT IP (VIP)) |
| IP Access Control | Service access policy setting
|
| Active & Standby | Active/Standby server type, basic OS, additional Disk information
|
Replica Information
The Replica Information tab is activated only if Replica is configured in the cluster. Through the Replica Information tab, you can check the Master cluster name, number of replicas, and Replica status.
| Classification | Detailed Description |
|---|---|
| Master Information | Name of Master cluster |
| Replica Count | Number of Replicas created in Master cluster |
| Replica Status | Replica server status created in Master cluster
|
Tags
On the MySQL(DBaaS) List page, you can check the tag information of the selected resource and add, modify, or delete it.
| Classification | Detailed Description |
|---|---|
| Tag List | Tag list
|
Operation History
On the MySQL(DBaaS) List page, you can check the operation history of the selected resource.
| Classification | Detailed Description |
|---|---|
| Operation History List | Resource change history
|
Manage MySQL(DBaaS) Resources
If you need to change existing configuration options of created MySQL(DBaaS) resources, or need recovery or Replica configuration, you can perform tasks on the MySQL(DBaaS) Details page.
Control Operation
If changes occur to running MySQL(DBaaS) resources, you can start, stop, or restart. Additionally, if HA is configured, you can switch Active-Standby servers through Switch-over.
Follow these steps to control operation of MySQL(DBaaS).
- Click All Services > Database > MySQL(DBaaS) menu. You will move to the Service Home page of MySQL(DBaaS).
- On the Service Home page, click the MySQL(DBaaS) menu. You will move to the MySQL(DBaaS) List page.
- On the MySQL(DBaaS) List page, click the resource to control operation. You will move to the MySQL(DBaaS) Details page.
- Check MySQL(DBaaS) status and complete the change through the control buttons below.
- Start: Server and DB service where DB is installed run (Running).
- Stop: Server and DB service where DB is installed stop (Stopped).
- Restart: Only DB service is restarted.
- Switch Over: Can swap Active server and Standby server of DB.
Sync Service Status
You can synchronize the real-time service status of MySQL(DBaaS).
Follow these steps to check the service status of MySQL(DBaaS).
- Click All Services > Database > MySQL(DBaaS) menu. You will move to the Service Home page of MySQL(DBaaS).
- On the Service Home page, click the MySQL(DBaaS) menu. You will move to the MySQL(DBaaS) List page.
- On the MySQL(DBaaS) List page, click the resource to check service status. You will move to the MySQL(DBaaS) Details page.
- Click the Sync Service Status button. While checking, cluster changes to Synchronizing status.
- When check is completed, status is updated in the server information item, and cluster changes to Running status
Change Server Type
You can change the configured server type.
Follow these steps to change server type.
- Server restart is required when modifying server type. Please check SW license modification matters or SW settings and reflection according to spec change separately.
- Click All Services > Database > MySQL(DBaaS) menu. You will move to the Service Home page of MySQL(DBaaS).
- On the Service Home page, click the MySQL(DBaaS) menu. You will move to the MySQL(DBaaS) List page.
- On the MySQL(DBaaS) List page, click the resource to change server type. You will move to the MySQL(DBaaS) Details page.
- Click the Edit icon of the server type you want to change at the bottom of detailed information. The Edit Server Type popup window opens.
- On the Edit Server Type popup window, select server type and click the Confirm button.
Add Storage
If you need more than 5 TB of data storage space, you can add storage. For DB configured with redundancy, it is added to both redundancy servers simultaneously.
- It is applied identically as the Storage type selected when creating the service.
- For DB with high availability setting, when adding storage, it is applied to both Active DB and Standby DB storage simultaneously.
- If Replica exists, Master cluster storage cannot be smaller than Replica storage. Please expand Replica storage first and then expand Master cluster storage
- When adding Archive/Temp storage, DB restarts and cannot be used temporarily
Follow these steps to add storage.
- Click All Services > Database > MySQL(DBaaS) menu. You will move to the Service Home page of MySQL(DBaaS).
- On the Service Home page, click the MySQL(DBaaS) menu. You will move to the MySQL(DBaaS) List page.
- On the MySQL(DBaaS) List page, click the resource to add storage. You will move to the MySQL(DBaaS) Details page.
- Click the Add Disk button at the bottom of detailed information. The Additional Storage Request popup window opens.
- On the Additional Storage Request popup window, enter purpose and capacity, then click the Confirm button.
Expand Storage
Storage added as data area can be expanded up to 5 TB based on initially allocated capacity. For DB configured with redundancy, it is expanded to both redundancy servers simultaneously.
Follow these steps to expand storage capacity.
- Click All Services > Database > MySQL(DBaaS) menu. You will move to the Service Home page of MySQL(DBaaS).
- On the Service Home page, click the MySQL(DBaaS) menu. You will move to the MySQL(DBaaS) List page.
- On the MySQL(DBaaS) List page, click the resource to change server type. You will move to the MySQL(DBaaS) Details page.
- Click the Edit icon of the additional Disk you want to expand at the bottom of detailed information. The Edit Additional Storage popup window opens.
- On the Edit Additional Storage popup window, enter expansion capacity and click the Confirm button.
Terminate MySQL(DBaaS)
You can reduce operating costs by terminating unused MySQL(DBaaS). However, when terminating the service, the running service may be immediately interrupted, so you should fully consider the impact of service interruption before proceeding with termination.
- For DB where Replica is configured, even if Master DB is terminated, Replica is not deleted together. If you want to delete Replica as well, please terminate separately from the resource list.
- When terminating DB, stored data and if backup is set, all backup data including backup data are deleted.
Follow these steps to terminate MySQL(DBaaS).
- Click All Services > Database > MySQL(DBaaS) menu. You will move to the Service Home page of MySQL(DBaaS).
- On the Service Home page, click the MySQL(DBaaS) menu. You will move to the MySQL(DBaaS) List page.
- On the MySQL(DBaaS) List page, select the resource to terminate and click the Terminate Service button.
- When termination is completed, check whether the resource is terminated on the MySQL(DBaaS) list page.
4.2.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.
Scenario Components
You can configure the scenario using the following services.
| Service Group | Service | Detailed Description | |
|---|---|---|---|
| Networking | VPC | A service that provides an isolated virtual network in a cloud environment | |
| Networking | VPC > Subnet | A service that allows users to subdivide the network into smaller sections for specific purposes/sizes within the VPC | |
| Networking | VPC > Public IP | A service that reserves a public IP and assigns and returns it to Compute resources | |
| Networking | VPC > Internet Gateway | A service that connects VPC resources to the internet | |
| Networking | Security Group | A virtual firewall that controls the server’s traffic | |
| Database | MySQL(DBaaS) | A service that easily creates and manages MySQL in a web environment | |
| Compute | Virtual Server | Virtual server optimized for cloud computing | |
| Compute | Virtual Server > Keypair | Encryption file used to connect to Virtual Server |
Scenario composition method
To configure the scenario, create the necessary services through the following procedure.
1. Configuring the Network
This explains the process of configuring the network environment for Bastion Host and Database service connection.
1-1. Creating a VPC
- Click All services > Networking > VPC menu. It moves to the Service Home page of VPC.
- On the Service Home page, click the Create VPC button. It moves to the Create VPC page.
- VPC Creation page, please enter the information needed to create the service.
- IP range should be entered as
192.168.x.0/16.
- IP range should be entered as
- In the Summary panel, review the detailed information and estimated 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
- Click All services > Networking > VPC menu. It moves to the Service Home page of VPC.
- Service Home page, click the Subnet menu. It moves to the Subnet list page.
- Click the Subnet Creation button. It moves to the Subnet Creation page.
- Subnet creation page where you enter the information needed to create a service.
- Subnet type should be selected as General.
- Please select a pre-created VPC.
- IP range should be entered as
192.168.x.0/24.
- In the Summary panel, review the detailed information and estimated charges, then click the Complete button.
- After creation is complete, check the created resource on the Subnet list page.
1-3. Creating an Internet Gateway
- Click All services > Networking > VPC menu. It moves to the Service Home page of VPC.
- Service Home page, click the Internet Gateway menu. It moves to the Internet Gateway list page.
- Click the Create Internet Gateway button. It moves to the Create Internet Gateway page.
- Internet Gateway creation page, please enter the required information necessary for service creation.
- Please select a pre-created VPC.
- Select use in the Firewall usage item.
- In the Summary panel, review the detailed information and estimated charges, then click the Complete button.
- Once the creation is complete, check the created resource on the Internet Gateway list page.
1-4. Creating a Public IP
- Click All services > Networking > VPC menu. It moves to the Service Home page of VPC.
- Click the Public IP menu on the Service Home page. It moves to the Public IP list page.
- Public IP Reservation button, click. Move to the Public IP Reservation page.
- Public IP Reservation page where you enter the required information necessary for service reservation.
- 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
- Click the menu for all services > Networking > Security Group. It moves to the Service Home page of Security Group.
- Click the Security Group Creation button on the Service Home page. It moves to the Security Group Creation page.
- Security Group creation page where you enter the required information necessary for service creation.
- 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
- Click All Services > Compute > Virtual Server menu. It moves to the Service Home page of Virtual Server.
- Click the Keypair menu on the Service Home page. It moves to the Keypair list page.
- Keypair creation button should be clicked. It moves to the Keypair creation page.
- Keypair creation page, please enter the required information necessary for service creation.
- Check the creation information and click the Complete button.
- The key can only be downloaded for the first time, and re-issuance is not provided.
- Please keep the downloaded key in a safe place.
2-2. Creating a Bastion Host
- Click All Services > Compute > Virtual Server menu. It moves to the Service Home page of Virtual Server.
- Click the Virtual Server Creation button on the Service Home page. It moves to the Virtual Server Creation page.
- Virtual Server Creation page, please enter the required information necessary for service creation.
- The image is Windows, please select.
- Please select the pre-created VPC and Subnet.
- Click NAT Use and select the Public IP reserved in 1-4. Creating Public IP.
- 2-1. Creating a server Keypair Connect the Keypair created from
- 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
- Click All Services > Compute > Virtual Server menu. It moves to the Service Home page of Virtual Server.
- Service Home page, click the Virtual Server menu. Move to the Virtual Server list page.
- Virtual Serve list page, click on the resource created in 2-2. Creating a Bastion host. It moves to the detailed information page of the corresponding resource.
- Click the RDP password inquiry button in the Keypair item on the detailed information page. The RDP password inquiry popup window opens.
- RDP password inquiry popup window, attach the keypair file downloaded from 2-1. Creating a server keypair.
- After attaching, click the Password Check button. The ID and password required to access the resource will be displayed.
- The ID and Password will be used as information to access the Bastion host later in 5-1. Connect to Bastion host.
3. Creating a Database
It describes the process of creating a database service.
3-1. Creating a MySQL (DBaaS) Service
- Click on the menu for all services > Database > MySQL(DBaaS). It moves to the Service Home page of MySQL(DBaaS).
- On the Service Home page, click the Create MySQL(DBaaS) button. It moves to the Create MySQL(DBaaS) page.
- 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.
- 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
- Click the menu for all services > Networking > Security Group. It moves to the Service Home page of Security Group.
- Service Home page, click the Security Group menu. Move to the Security Group list page.
- 1-5. Creating a Security Group Select the Security Group resource created from. It will move to the detailed information page of the corresponding resource.
- Click the Rules tab on the detailed information page. It moves to the Rules tab.
- Click the Rule tab and click the Add Rule button. It moves to the Add Rule popup window.
- Add Rule popup window, enter the rules below, and click the OK button
| Direction | Remote | Destination Address | Protocol | Port | Description |
|---|---|---|---|---|---|
| Inbound | CIDR | User PC IP | TCP | 3389 (RDP) | Bastion connection PC → Bastion host |
| Outbound | CIDR | DB IP | TCP | Database Port (direct input) | Bastion host → Database |
4-2. Adding IGW Firewall Rules
- Click All services > Networking > Firewall menu. It moves to the Service Home page of Firewall.
- Service Home page, click the Firewall menu. It moves to the Firewall list page.
- Firewall list page, select the Internet Gateway resource name created in 1-3. Creating Internet Gateway, and move to the detailed information page of the corresponding resource.
- Click the Rules tab on the detailed information page. It moves to the Rules tab.
- Click the Rule tab and click the Add Rule button. It moves to the Add Rule popup window.
- Add Rule In the popup window, enter the rules below and click the OK button.
| Departure Address | Destination Address | Protocol | Port | Action | Direction | Description |
|---|---|---|---|---|---|---|
| Bastion connection PC IP | Bastion host IP | TCP | 3389(RDP) | Allow | Inbound | User 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
- 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.
- 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
- Go to the official MySQL page and download the MySQL Workbench program.
- MySQL Workbench program download path: https://dev.mysql.com/downloads/workbench
- Connect the hard drive of the user’s PC to upload the file to the Bastion host.
- Click the Details button for local devices and resources entries in the Local Resources tab of Remote Desktop Connection.
- Select the local disk where the file was downloaded to the drive and click the Confirm button.
- Copy the downloaded file and upload it to the Bastion Host, then click the MySQL Workbench installation file to install it.
5-3. Using DB connection client program (MySQL Workbench) to connect to the Database
- Run MySQL Workbench and click Database > Manage connections. The Manage Server Connection popup window will appear.
- Manage Server Connection popup window, click the New button at the bottom left and enter the database server information created in 3-1. MySQL(DBaaS) service creation, then click the Test Connection button. A Password popup window will appear.
Required Input Element Items Input Value Connection Name Custom (ex. Service Name) Host name Database server IP Port Database Port Username Database username DB connection client program input items - In the Password popup window, enter the password set in 3-1. MySQL(DBaaS) service creation and click the OK button. When the connection is successful, click the OK button in the Manage Server Connection popup window.
- Database > Connect to Database should be clicked. The Connect to Database popup window will appear.
- Select the Connection Name registered in Stored Connection to perform database connection. After connection, you can try simple queries, etc.
4.2.2 - Manage DB Service
Users can manage MySQL(DBaaS) through Samsung Cloud Platform Console.
Manage Parameters
Provides functionality to easily view and modify database configuration parameters.
View Parameters
Follow these steps to view configuration parameters.
- Click All Services > Database > MySQL(DBaaS) menu. You will move to the Service Home page of MySQL(DBaaS).
- On the Service Home page, click the MySQL(DBaaS) menu. You will move to the MySQL(DBaaS) List page.
- On the MySQL(DBaaS) List page, click the resource whose parameters you want to view and modify. You will move to the MySQL(DBaaS) Details page.
- Click the More button and click the Parameter Management button. The Parameter Management popup window opens.
- On the Parameter Management popup window, click the View button. The View Notification popup window opens.
- When the View Notification popup window opens, click the Confirm button. It takes some time to view.
Modify Parameters
Follow these steps to modify configuration parameters.
- Click All Services > Database > MySQL(DBaaS) menu. You will move to the Service Home page of MySQL(DBaaS).
- On the Service Home page, click the MySQL(DBaaS) menu. You will move to the MySQL(DBaaS) List page.
- On the MySQL(DBaaS) List page, click the resource whose parameters you want to view and modify. You will move to the MySQL(DBaaS) Details page.
- Click the More button and click the Parameter Management button. The Parameter Management popup window opens.
- On the Parameter Management popup window, click the View button. The View Notification popup window opens.
- When the View Notification popup window opens, click the Confirm button. It takes some time to view.
- If modification is needed, click the Edit button and enter modification content in the user-defined value area of the Parameter to modify.
- When input is completed, click the Complete button.
When changing character_set_server value, first check the collation matching that character set with the following command.
SQL> SHOW COLLATION WHERE Charset = 'character set name';
Set parameter values of character-set-server, collation-server, init_connect with the confirmed collation.
| Item | Detailed Description | Restart Required |
|---|---|---|
character-set-server | Specify default character set | Restart Required |
collation-server | Specify default collation | Restart Required |
init_connect | SQL statement executed when Client connects to database | No Restart Required |
Manage DB Users
Provides management functionality to view DB user information and change status information.
View DB Users
Follow these steps to view DB users.
- Click All Services > Database > MySQL(DBaaS) menu. You will move to the Service Home page of MySQL(DBaaS).
- On the Service Home page, click the MySQL(DBaaS) menu. You will move to the MySQL(DBaaS) List page.
- On the MySQL(DBaaS) List page, click the resource whose DB users you want to view. You will move to the MySQL(DBaaS) Details page.
- Click the More button and click the DB User Management button. You will move to the DB User Management page.
- On the DB User Management page, click the View button. It takes some time to view.
Change DB User Status
Follow these steps to change the status of viewed DB users.
- Click All Services > Database > MySQL(DBaaS) menu. You will move to the Service Home page of MySQL(DBaaS).
- On the Service Home page, click the MySQL(DBaaS) menu. You will move to the MySQL(DBaaS) List page.
- On the MySQL(DBaaS) List page, click the resource whose DB users you want to modify. You will move to the MySQL(DBaaS) Details page.
- Click the More button and click the DB User Management button. You will move to the DB User Management page.
- On the DB User Management page, click the View button. It takes some time to view.
- If modification is needed, click the Edit button and change the status area value or enter remarks content.
- When input is completed, click the Complete button.
Manage DB Access Control
Provides IP-based DB user access control management functionality. Users can directly specify IPs that can access the database and set it so that only allowed IPs can access.
View DB Access Control
Follow these steps to view DB users where IP access control is set.
- Click All Services > Database > MySQL(DBaaS) menu. You will move to the Service Home page of MySQL(DBaaS).
- On the Service Home page, click the MySQL(DBaaS) menu. You will move to the MySQL(DBaaS) List page.
- On the MySQL(DBaaS) List page, click the resource whose access control you want to manage. You will move to the MySQL(DBaaS) Details page.
- Click the More button and click the DB Access Control Management button. You will move to the DB Access Control Management page.
- On the DB Access Control Management page, click the View button. It takes some time to view.
Add DB Access Control
Follow these steps to add IP access control.
- Click All Services > Database > MySQL(DBaaS) menu. You will move to the Service Home page of MySQL(DBaaS).
- On the Service Home page, click the MySQL(DBaaS) menu. You will move to the MySQL(DBaaS) List page.
- On the MySQL(DBaaS) List page, click the resource whose IP access control you want to add. You will move to the MySQL(DBaaS) Details page.
- Click the More button and click the DB Access Control Management button. You will move to the DB Access Control Management page.
- On the DB Access Control Management page, click the View button. It takes some time to view.
- When viewing is completed, click the Add button. The Add DB Access Control popup window opens.
- On the Add DB Access Control popup window, select DB username and enter IP Address.
- When input is completed, click the Complete button.
Delete DB Access Control
Follow these steps to delete IP access control.
- Click All Services > Database > MySQL(DBaaS) menu. You will move to the Service Home page of MySQL(DBaaS).
- On the Service Home page, click the MySQL(DBaaS) menu. You will move to the MySQL(DBaaS) List page.
- On the MySQL(DBaaS) List page, click the resource whose IP access control you want to delete. You will move to the MySQL(DBaaS) Details page.
- Click the More button and click the DB Access Control Management button. You will move to the DB Access Control Management page.
- On the DB Access Control Management page, click the View button. It takes some time to view.
- When viewing is completed, click the Delete button. The Delete popup window opens.
- On the Delete popup window, click the Confirm button.
Manage Archive
Provides Archive mode setting and Archive Log retention period setting functionality so users can flexibly set Archive log management policies according to their operating environment. Additionally, it provides functionality to manually delete Archive logs together, enabling efficient management of system resources by cleaning unnecessary log data.
Set Archive Mode
Follow these steps to set Archive mode.
- Click All Services > Database > MySQL(DBaaS) menu. You will move to the Service Home page of MySQL(DBaaS).
- On the Service Home page, click the MySQL(DBaaS) menu. You will move to the MySQL(DBaaS) List page.
- On the MySQL(DBaaS) List page, click the resource whose Archive mode you want to set. You will move to the MySQL(DBaaS) Details page.
- Click the More button and click the Archive Settings Management button. You will move to the Archive Settings Management page.
- On the Archive Settings Management page, click the View button. It takes some time to view.
- Click the Edit button and select whether to use and retention period.
- When modification is completed, click the Complete button.
Delete Archive Files
Follow these steps to delete Archive files.
- Click All Services > Database > MySQL(DBaaS) menu. You will move to the Service Home page of MySQL(DBaaS).
- On the Service Home page, click the MySQL(DBaaS) menu. You will move to the MySQL(DBaaS) List page.
- On the MySQL(DBaaS) List page, click the resource whose Archive mode you want to set. You will move to the MySQL(DBaaS) Details page.
- Click the More button and click the Archive Settings Management button. You will move to the Archive Settings Management page.
- On the Archive Settings Management page, if you want to delete all Archive files, click the Delete All Archives button, and if you want to delete only backed-up Archive files, click the Delete Backed-up Archives button.
Export DB Log
Supports exporting log data requiring long-term retention among audit (Audit) logs to Object Storage. Users can directly set the log type requiring storage, target Bucket to export, and cycle to export logs. According to the set criteria, logs are copied and stored to the specified Object Storage. Additionally, for efficient management of disk space, it also provides an option to automatically delete original log files while exporting logs to Object Storage. By using that option, you can effectively secure storage capacity while safely storing necessary log data for long-term retention
- Object Storage creation is required to use DB Log Export functionality. For Object Storage creation, refer to Object Storage User Guide.
- Please make sure to check the expiration date of the authentication key. If the authentication key expires, logs are not stored in the Bucket.
- Please be careful not to expose authentication key information to the outside.
Set DB Log Export Mode
Follow these steps to set DB Log export mode.
- Click All Services > Database > MySQL(DBaaS) menu. You will move to the Service Home page of MySQL(DBaaS).
- On the Service Home page, click the MySQL(DBaaS) menu. You will move to the MySQL(DBaaS) List page.
- On the MySQL(DBaaS) List page, click the resource whose DB logs you want to export. You will move to the MySQL(DBaaS) Details page.
- Click the More button and click the DB Log Export button. You will move to the DB Log Export page.
- On the DB Log Export page, click the Register button. You will move to the DB Log Export Register page.
- On the DB Log Export Register page, enter the information and click the Complete button.
Classification Required Detailed DescriptionLog Type Required Log type to store Storage Bucket Name Required Object Storage Bucket name to store Authentication Key > Access key Required Access key to access Object Storage to store Authentication Key > Secret key Required Secret key to access Object Storage to store File Creation Cycle Required Cycle to create files in Object Storage Original Log Deletion Optional Whether to delete original log while exporting to Object Storage Table. MySQL(DBaaS) DB Log Export Configuration Items
Manage DB Log Export
Follow these steps to modify, terminate, or immediately export DB Log export settings.
- Click All Services > Database > MySQL(DBaaS) menu. You will move to the Service Home page of MySQL(DBaaS).
- On the Service Home page, click the MySQL(DBaaS) menu. You will move to the MySQL(DBaaS) List page.
- On the MySQL(DBaaS) List page, click the resource whose DB Log export you want to manage. You will move to the MySQL(DBaaS) Details page.
- Click the More button and click the DB Log Export button. You will move to the DB Log Export page.
- On the DB Log Export page, click the More button according to the log type you want to manage and click the Immediate Export, Edit, Terminate buttons.
- Immediate Export: Selected logs are exported to the Bucket of Object Storage previously set.
- Edit: Modifies DB Log export mode settings.
- Terminate: Terminates DB Log export mode settings.
Minor Version Upgrade
Provides version upgrade functionality for some feature improvements and security patches. Only Minor version upgrade functionality within the same Major version is supported.
- Please check service status through service status synchronization first, then perform version upgrade.
- Please proceed with version upgrade after setting backup. If backup is not set, some data may not be recoverable when problems occur during update.
- In DB where Replica is configured, Master DB version cannot be higher than Replica version. Please check Replica version first and perform version upgrade if needed.
- Backed-up data is automatically deleted after version upgrade is completed.
Follow these steps to upgrade version.
- Click All Services > Database > MySQL(DBaaS) menu. You will move to the Service Home page of MySQL(DBaaS).
- On the Service Home page, click the MySQL(DBaaS) menu. You will move to the MySQL(DBaaS) List page.
- On the MySQL(DBaaS) List page, click the resource whose version you want to upgrade. You will move to the MySQL(DBaaS) Details page.
- Click the Edit button in the Image Version item. The Version Upgrade popup window opens.
- On the Version Upgrade popup window, select modified version and whether to set backup, then click the Confirm button.
- On the Version Upgrade Notification popup window, click the Confirm button.
Configure Migration
Provides Migration functionality that replicates in real-time while synchronizing with the operating database using Replication method without service interruption.
Follow these steps to configure Migration.
- Click All Services > Database > MySQL(DBaaS) menu. You will move to the Service Home page of MySQL(DBaaS).
- On the Service Home page, click the MySQL(DBaaS) menu. You will move to the MySQL(DBaaS) List page.
- On the MySQL(DBaaS) List page, click the resource to migrate. You will move to the MySQL(DBaaS) Details page.
- Click the More button and click the Migration Configuration button. The Migration Configuration popup window opens.
- On the Migration Configuration popup window, check the notice and click the Confirm button. You will move to the Migration Configuration page.
- On the Migration Configuration page, enter the information and click the Connection Check button.
- When connection is completed, click the Complete button.
Classification Required Detailed DescriptionSource DB Database Name Required Database name of Source DB to be Migration target Source DB IP Required IP of Source DB to be Migration target Source DB Port Required Port of Source DB to be Migration target Source DB Username Required Username of Source DB to be Migration target Source DB Password Required Password of Source DB to be Migration target Table. MySQL(DBaaS) Migration Configuration Items
Promote Migration Cluster to Master Cluster
You can promote the configured Migration Cluster to Master Cluster.
Follow these steps to promote Migration Cluster to Master.
- Click All Services > Database > MySQL(DBaaS) menu. You will move to the Service Home page of MySQL(DBaaS).
- On the Service Home page, click the MySQL(DBaaS) menu. You will move to the MySQL(DBaaS) List page.
- On the MySQL(DBaaS) List page, click the resource to promote to Master. You will move to the MySQL(DBaaS) Details page.
- Click the More button and click the Master Promotion button. The Master Promotion Notification popup window opens.
- On the Master Promotion Notification popup window, click the Confirm button.
Upgrade OS Kernel
You can upgrade OS Kernel for operating database feature improvements and security patch application.
- Service is interrupted while OS upgrade is in progress.
- Upgrade time may vary depending on version, and if upgrade fails, it reverts to previous configuration.
- Cannot recover to previous OS after upgrade is completed.
Follow these steps to upgrade OS Kernel.
- Click All Services > Database > MySQL(DBaaS) menu. You will move to the Service Home page of MySQL(DBaaS).
- On the Service Home page, click the MySQL(DBaaS) menu. You will move to the MySQL(DBaaS) List page.
- On the MySQL(DBaaS) List page, click the resource whose OS Kernel you want to upgrade. You will move to the MySQL(DBaaS) Details page.
- Click the More button and click the OS (Kernel) Upgrade button. The OS (Kernel) Upgrade Notification popup window opens.
- On the OS (Kernel) Upgrade Notification popup window, check the notice and click the Confirm button.
4.2.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.
- 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.
- All Services > Database > MySQL(DBaaS) menu is clicked. It moves to the Service Home page of MySQL(DBaaS).
- Service Home page, click the MySQL(DBaaS) menu. Move to the MySQL(DBaaS) list page.
- MySQL(DBaaS) list page, click the resource to set the backup. It moves to the MySQL(DBaaS) details page.
- Click the Edit button of the backup item. The Backup Settings popup window opens.
- If you set up a backup, click Use in the Backup Settings popup window, select the retention period, backup start time, and Archive backup cycle, and then click the 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
To view the backup history, follow these steps.
- All Services > Database > MySQL(DBaaS) menu is clicked. It moves to the Service Home page of MySQL(DBaaS).
- On the Service Home page, click the MySQL(DBaaS) menu. It moves to the MySQL(DBaaS) list page.
- MySQL(DBaaS) list page, click the resource to check the backup history. Move to the MySQL(DBaaS) details page.
- Click the Backup History button. The Backup History popup window opens.
- Backup History popup window where you can check the backup status, version, backup start time, backup completion time, and capacity.
Delete backup files
To delete the backup history, follow these steps.
- Click All Services > Database > MySQL(DBaaS) menu. It moves to the Service Home page of MySQL(DBaaS).
- On the Service Home page, click the MySQL(DBaaS) menu. It moves to the MySQL(DBaaS) list page.
- MySQL(DBaaS) list page, click the resource to check the backup history. Move to the MySQL(DBaaS) detail page.
- Click the Backup History button. The Backup History popup window opens.
- 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.
To restore MySQL(DBaaS), follow these steps.
- All Services > Database > MySQL(DBaaS) menu is clicked. It moves to the Service Home page of MySQL(DBaaS).
- On the Service Home page, click the MySQL(DBaaS) menu. It moves to the MySQL(DBaaS) list page.
- MySQL(DBaaS) resource list page, click the resource you want to restore. It moves to the MySQL(DBaaS) details page.
- Database Recovery Click the button. Database Recovery Navigate to the page.
- Enter the corresponding information in the Database Recovery Configuration area, and then click the Complete button.
| Classification | Necessity | Detailed Description |
|---|---|---|
| Recovery Type | Required | Set the point in time you want to recover
|
| Server name prefix | Required | Server name of the recovery DB
|
| Cluster Name | Required | Cluster name of the recovery DB
|
| Service Type > Server Type | Required | Server type where the recovery DB will be installed
|
| Service Type > Planned Compute | Selection | Current status of resources with Planned Compute set
|
| Service Type > Block Storage | Required | Recovery DB uses Block Storage settings
|
| Database username | required | Database username set in the original DB |
| Database Port number | required | Database Port number set in the original DB |
| IP Access Control | Select | IP address to access the recovery DB
|
| Maintenance period | Select | DB maintenance period
|
| tag | selection | add tag
|
4.2.4 - Configure Read Replica
Users can create the service by entering required information for Read Replica through Samsung Cloud Platform Console and selecting detailed options.
Configure Replica
Through Replica configuration, you can create replica servers for read-only or disaster recovery purposes. You can create up to 5 Replicas per Database.
Follow these steps to configure Replica.
- Click All Services > Database > MySQL(DBaaS) menu. You will move to the Service Home page of MySQL(DBaaS).
- On the Service Home page, click the MySQL(DBaaS) menu. You will move to the MySQL(DBaaS) List page.
- On the MySQL(DBaaS) List page, click the resource to configure Replica. You will move to the MySQL(DBaaS) Details page.
- Click the Replica Configuration button. You will move to the Replica Configuration page.
- After entering information in the Replica Configuration area, click the Complete button.
Classification RequiredDetailed Description Region Required Region to configure Replica - Displayed only when Replica Configuration (Other Region) is selected
Replica Count Required Number of Replicas to configure - Can configure up to 5 per cluster
- If you select a value of 2 or more, you need to additionally enter Replica name and service type information
Replica Name Required Replica server name - Start with lowercase English letters and enter 3 to 19 characters using lowercase letters, numbers, and special characters (
-)
- Entered Replica name is displayed as cluster name in the list
Service Type > Server Type Required Replica server type - Standard: Standard specifications generally used
- High Capacity: Large capacity server with 24vCore or more
Service Type > Planned Compute Optional Resource status where Planned Compute is set - In Use: Number of resources in use among resources where Planned Compute is set
- Set: Number of resources where Planned Compute is set
- Coverage Preview: Amount applied as Planned Compute per resource
- Create Planned Compute Service: Move to Planned Compute service application page
- For details, refer to Apply for Planned Compute
IP Access Control Optional Service access policy setting - Since access policy is set for IPs entered on the page, 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 entered IP, click the x button next to the entered IP
Maintenance Window Optional DB maintenance window - If you select Use, set day of week, start time, and duration
- It is recommended to set a maintenance window for stable DB management. Patch work is performed at the set time and service interruption occurs
- If set to Not Used, Samsung SDS is not responsible for problems caused by not applying patches.
Tags Optional Add tags - Click the Add Tag button and then enter or select Key, Value values
Table. MySQL(DBaaS) Replica Configuration Items
Reconfigure Replica
In case of network failure or Replication delay with Master Cluster occurs, you can replicate Master Cluster’s data again through Replica reconfiguration functionality.
Follow these steps to reconfigure Replica.
- Click All Services > Database > MySQL(DBaaS) menu. You will move to the Service Home page of MySQL(DBaaS).
- On the Service Home page, click the MySQL(DBaaS) menu. You will move to the MySQL(DBaaS) List page.
- On the MySQL(DBaaS) List page, click the resource to reconfigure Replica. You will move to the MySQL(DBaaS) Details page.
- Click the Replica Reconfiguration button. The Replica Reconfiguration Notification popup window opens.
- On the Replica Reconfiguration Notification popup window, click the Confirm button.
Promote Replica Cluster to Master Cluster
You can promote the configured Replica Cluster to Master Cluster.
Follow these steps to promote Replica Cluster to Master.
- Click All Services > Database > MySQL(DBaaS) menu. You will move to the Service Home page of MySQL(DBaaS).
- On the Service Home page, click the MySQL(DBaaS) menu. You will move to the MySQL(DBaaS) List page.
- On the MySQL(DBaaS) List page, click the resource to promote to Master. You will move to the MySQL(DBaaS) Details page.
- Click the More button and click the Master Promotion button. The Master Promotion Notification popup window opens.
- On the Master Promotion Notification popup window, click the Confirm button.
4.3 - API Reference
4.4 - CLI Reference
4.5 - Release Note
MySQL(DBaaS)
- You can configure a disaster recovery Replica through the Replica configuration (Other Region) function.
- Enhances latest security patches and stability through the OS(Kernel) upgrade function.
- You can monitor metrics and logs through integration with Servicewatch.
- MySQL(DBaaS) function additions
- 2nd generation server type added
- Added 2nd generation (db2) server type based on Intel 4th generation (Sapphire Rapids) Processor. For details, refer to MySQL(DBaaS) Server Type
- DB user and access control management and Archive setting function added
- For details, refer to DB User Management, DB Access Control Management, Archive Management
- DB Audit Log export function added
- For details, refer to DB Log Export
- Backup notification function provided
- Provides notification function for backup success and failure. For details, refer to Create Notification Policy
- Migration function added
- Provides non-stop data migration function based on Replication. For details, refer to Configure Migration
- Added HDD, HDD_KMS types to Block Storage type
- 2nd generation server type added
- MySQL(DBaaS) function changes
- 2nd generation server type added
- Added 2nd generation (dbh2) server type based on Intel 4th generation (Sapphire Rapids) Processor. For details, refer to MySQL(DBaaS) Server Type
- After service creation, Block Storage capacity expansion is possible.
- Per-server network IP setting function added to allow common settings or per-server settings depending on usage purpose.
- 2nd generation server type added
- Samsung Cloud Platform common function changes
- Reflected common CX changes for Account, IAM, Service Home, and tags.
- MySQL(DBaaS) service has been released that allows easy creation and management of MariaDB in a web environment.
5 - Microsoft SQL Server(DBaaS)
5.1 - Overview
Service Overview
Microsoft SQL Server (DBaaS) is a representative relational database management system (RDBMS) used in various applications. Samsung Cloud Platform provides an environment that can automate the installation of Microsoft SQL Server through a web-based console and perform management functions for operation.
Microsoft SQL Server(DBaaS) is designed with an Always On based availability architecture, and when the content of the Primary server changes, it is synchronously replicated to the Secondary server. Additionally, it provides an automatic backup function at user-specified times to prepare for issues with the DB server or data, supporting data recovery at the desired point in time.
Provided Features
Microsoft SQL Server(DBaaS) provides the following features.
- Auto Provisioning: Allows installation and configuration of Database (DB) via UI, provides a Primary-Secondary redundancy configuration built on Always On. In case of Primary server failure, it automatically fails over to Secondary.
- Operation Control Management: Provides a function to control the status of running servers. In addition to start and stop, restart is possible if there is an issue with the DB or to apply configuration values. When configured for high availability (HA), the user can directly perform node switching between Primary-Secondary via Switch-over.
- Backup and Recovery: Provides data backup functionality based on its own backup commands. Backup time windows, retention agencies, and full backup days can be set by the user, and additional fees may apply based on backup volume. It also provides a recovery function for backed-up data, creating a separate database when the user performs a recovery, and the recovery proceeds to the point in time selected by the user (backup storage point, user-specified point). When restoring to a user-specified point, the restore point can be set to 5 minutes/10 minutes/30 minutes/1 hour before the stored backup file and archive file.
- Version Management: Provides version upgrade (Minor) functionality due to some feature improvements and security patches. Whether to perform backup for the version upgrade can be selected by the user, and if backup is performed, data is backed up before applying the patch, then the DB engine is updated.
- Secondary configuration: You can additionally configure a read-only Read Replica (Secondary Replica), enabling read performance scaling and load balancing.
- Audit setting: Provides an Audit setting feature that can monitor the user’s DB access and the results of DDL (Data Definition Language)/DML (Data Manipulation Language) execution.
- Parameter Management: Performance improvement and security-related DB configuration parameter modifications are possible.
- Service status query: Retrieves the final status of the current DB service.
- Monitoring: CPU, Memory, DB performance monitoring information can be checked through the Cloud Monitoring service.
- DB User Management: View and manage DB account (user) information registered in the DB.
- DB Log Export: Through Audit settings, you can export the stored logs to the user’s Object Storage.
Components
Microsoft SQL Server(DBaaS) provides pre-validated engine versions and various server types. Users can select and use them according to the scale of the service they want to configure.
Engine Version
The engine versions supported by Microsoft SQL Server (DBaaS) are as follows.
Technical support can be used until the supplier’s EoTS (End of Technical Service) date, and the EOS date when new creation is stopped is set to six months before the EoTS date.
According to the supplier’s policy, the EOS and EoTS dates may change, so please refer to the supplier’s license management policy page for details.
- Microsoft SQL Server: https://learn.microsoft.com/ko-kr/lifecycle/products/?terms=sql%20server
| Provided version | EOS Date(Samsung Cloud Platform New creation stop date) | EoTS Date(Community Technical support end date) |
|---|---|---|
| Microsoft SQL Server 2019 Enterprise | 2029-06 (Planned) | 2030-01-08(Extended Support) 2025-02-28(Standard Support) |
| Microsoft SQL Server 2019 Standard | 2029-06 (planned) | 2030-01-08(Extended Support) 2025-02-28(Standard Support) |
| Microsoft SQL Server 2022 Enterprise | 2032-06 (planned) | 2033-01-11(Extended Support) 2028-01-11(Standard Support) |
| Microsoft SQL Server 2022 Standard | 2032-06 (planned) | 2033-01-11(Extended Support) 2028-01-11(Standard Support) |
Server Type
Microsoft SQL Server(DBaaS) supported server types are as follows.
For detailed information about the server types provided by Microsoft SQL Server(DBaaS), refer to Microsoft SQL Server(DBaaS) Server Type.
Standard db1v2m4
| Category | Example | Detailed description |
|---|---|---|
| Server Type | Standard | Provided Server Types
|
| Server specifications | db1 | Provided server specifications
|
| Server specifications | v2 | Number of vCores
|
| Server specifications | m4 | Memory capacity
|
Preliminary Service
This is a list of services that must be pre-configured before creating the service. Please refer to the guide provided for each service for details and prepare in advance.
| Service Category | Service | Detailed Description |
|---|---|---|
| Networking | VPC | A service that provides an independent virtual network in a cloud environment |
5.1.1 - Server Type
Microsoft SQL Server(DBaaS) server type
Microsoft SQL Server(DBaaS) provides a server type composed of various combinations such as CPU, Memory, Network Bandwidth, etc. When creating Microsoft SQL Server (DBaaS), the Database Engine is installed according to the server type selected for the purpose of use.
The server types supported by Microsoft SQL Server (DBaaS) are as follows.
Standard db1v2m4
Classification | Example | Detailed Description |
|---|---|---|
| Server Type | Standard | Provided server type distinction
|
| Server Specifications | db1 | Classification of provided server type and generation
|
| Server Specification | v2 | Number of vCores
|
| Server Specification | m4 | Memory Capacity
|
db1 server type
The db1 server type of Microsoft SQL Server (DBaaS) is provided with standard specifications (vCPU, Memory) and is suitable for various database workloads.
- Up to 3.3Ghz Intel 3rd generation (Ice Lake) Xeon Gold 6342 Processor
- Supports up to 16 vCPUs and 256 GB of memory
- Up to 12.5 Gbps networking speed
| Classification | Server Type | vCPU | Memory | Network Bandwidth |
|---|---|---|---|---|
| Standard | db1v2m4 | 2 vCore | 4 GB | Up to 10 Gbps |
| Standard | db1v2m8 | 2 vCore | 8 GB | Up to 10 Gbps |
| Standard | db1v2m16 | 2 vCore | 16 GB | Up to 10 Gbps |
| Standard | db1v2m24 | 2 vCore | 24 GB | Up to 10 Gbps |
| Standard | db1v2m32 | 2 vCore | 32 GB | Up to 10 Gbps |
| Standard | db1v4m8 | 4 vCore | 8 GB | Up to 10 Gbps |
| Standard | db1v4m16 | 4 vCore | 16 GB | Up to 10 Gbps |
| Standard | db1v4m32 | 4 vCore | 32 GB | Up to 10 Gbps |
| Standard | db1v4m48 | 4 vCore | 48 GB | Up to 10 Gbps |
| Standard | db1v4m64 | 4 vCore | 64 GB | Up to 10 Gbps |
| Standard | db1v6m12 | 6 vCore | 12 GB | Up to 10 Gbps |
| Standard | db1v6m24 | 6 vCore | 24 GB | Up to 10 Gbps |
| Standard | db1v6m48 | 6 vCore | 48 GB | Up to 10 Gbps |
| Standard | db1v6m72 | 6 vCore | 72 GB | Up to 10 Gbps |
| Standard | db1v6m96 | 6 vCore | 96 GB | Up to 10 Gbps |
| Standard | db1v8m16 | 8 vCore | 16 GB | Up to 10 Gbps |
| Standard | db1v8m32 | 8 vCore | 32 GB | Up to 10 Gbps |
| Standard | db1v8m64 | 8 vCore | 64 GB | Up to 10 Gbps |
| Standard | db1v8m96 | 8 vCore | 96 GB | Up to 10 Gbps |
| Standard | db1v8m128 | 8 vCore | 128 GB | Up to 10 Gbps |
| Standard | db1v10m20 | 10 vCore | 20 GB | Up to 10 Gbps |
| Standard | db1v10m40 | 10 vCore | 40 GB | up to 10 Gbps |
| Standard | db1v10m80 | 10 vCore | 80 GB | Up to 10 Gbps |
| Standard | db1v10m120 | 10 vCore | 120 GB | Up to 10 Gbps |
| Standard | db1v10m160 | 10 vCore | 160 GB | Up to 10 Gbps |
| Standard | db1v12m24 | 12 vCore | 24 GB | Up to 12.5 Gbps |
| Standard | db1v12m48 | 12 vCore | 48 GB | Up to 12.5 Gbps |
| Standard | db1v12m96 | 12 vCore | 96 GB | Up to 12.5 Gbps |
| Standard | db1v12m144 | 12 vCore | 144 GB | Up to 12.5 Gbps |
| Standard | db1v12m192 | 12 vCore | 192 GB | Up to 12.5 Gbps |
| Standard | db1v14m28 | 14 vCore | 28 GB | Up to 12.5 Gbps |
| Standard | db1v14m56 | 14 vCore | 56 GB | Up to 12.5 Gbps |
| Standard | db1v14m112 | 14 vCore | 112 GB | Up to 12.5 Gbps |
| Standard | db1v14m168 | 14 vCore | 168 GB | Up to 12.5 Gbps |
| Standard | db1v14m224 | 14 vCore | 224 GB | Up to 12.5 Gbps |
| Standard | db1v16m32 | 16 vCore | 32 GB | Up to 12.5 Gbps |
| Standard | db1v16m64 | 16 vCore | 64 GB | Up to 12.5 Gbps |
| Standard | db1v16m128 | 16 vCore | 128 GB | Up to 12.5 Gbps |
| Standard | db1v16m192 | 16 vCore | 192 GB | Up to 12.5 Gbps |
| Standard | db1v16m256 | 16 vCore | 256 GB | up to 12.5 Gbps |
DB2 server type
The db2 server type of Microsoft SQL Server(DBaaS) is provided with standard specifications (vCPU, Memory) and is suitable for various database workloads.
- Up to 3.2GHz Intel 4th generation (Sapphire Rapids) Xeon Gold 6448H Processor
- Supports up to 16 vCPUs and 256 GB of memory
- Up to 12.5 Gbps networking speed
| Classification | Server Type | vCPU | Memory | Network Bandwidth |
|---|---|---|---|---|
| Standard | db2v2m4 | 2 vCore | 4 GB | Up to 10 Gbps |
| Standard | db2v2m8 | 2 vCore | 8 GB | Up to 10 Gbps |
| Standard | db2v2m16 | 2 vCore | 16 GB | Up to 10 Gbps |
| Standard | db2v2m24 | 2 vCore | 24 GB | Up to 10 Gbps |
| Standard | db2v2m32 | 2 vCore | 32 GB | Up to 10 Gbps |
| Standard | db2v4m8 | 4 vCore | 8 GB | Up to 10 Gbps |
| Standard | db2v4m16 | 4 vCore | 16 GB | Up to 10 Gbps |
| Standard | db2v4m32 | 4 vCore | 32 GB | Up to 10 Gbps |
| Standard | db2v4m48 | 4 vCore | 48 GB | Up to 10 Gbps |
| Standard | db2v4m64 | 4 vCore | 64 GB | Up to 10 Gbps |
| Standard | db2v6m12 | 6 vCore | 12 GB | Up to 10 Gbps |
| Standard | db2v6m24 | 6 vCore | 24 GB | Up to 10 Gbps |
| Standard | db2v6m48 | 6 vCore | 48 GB | Up to 10 Gbps |
| Standard | db2v6m72 | 6 vCore | 72 GB | Up to 10 Gbps |
| Standard | db2v6m96 | 6 vCore | 96 GB | Up to 10 Gbps |
| Standard | db2v8m16 | 8 vCore | 16 GB | Up to 10 Gbps |
| Standard | db2v8m32 | 8 vCore | 32 GB | Up to 10 Gbps |
| Standard | db2v8m64 | 8 vCore | 64 GB | Up to 10 Gbps |
| Standard | db2v8m96 | 8 vCore | 96 GB | Up to 10 Gbps |
| Standard | db2v8m128 | 8 vCore | 128 GB | up to 10 Gbps |
| Standard | db2v10m20 | 10 vCore | 20 GB | Up to 10 Gbps |
| Standard | db2v10m40 | 10 vCore | 40 GB | Up to 10 Gbps |
| Standard | db2v10m80 | 10 vCore | 80 GB | Up to 10 Gbps |
| Standard | db2v10m120 | 10 vCore | 120 GB | Up to 10 Gbps |
| Standard | db2v10m160 | 10 vCore | 160 GB | Up to 10 Gbps |
| Standard | db2v12m24 | 12 vCore | 24 GB | Up to 12.5 Gbps |
| Standard | db2v12m48 | 12 vCore | 48 GB | Up to 12.5 Gbps |
| Standard | db2v12m96 | 12 vCore | 96 GB | Up to 12.5 Gbps |
| Standard | db2v12m144 | 12 vCore | 144 GB | Up to 12.5 Gbps |
| Standard | db2v12m192 | 12 vCore | 192 GB | up to 12.5 Gbps |
| Standard | db2v14m28 | 14 vCore | 28 GB | Up to 12.5 Gbps |
| Standard | db2v14m56 | 14 vCore | 56 GB | Up to 12.5 Gbps |
| Standard | db2v14m112 | 14 vCore | 112 GB | up to 12.5 Gbps |
| Standard | db2v14m168 | 14 vCore | 168 GB | Up to 12.5 Gbps |
| Standard | db2v14m224 | 14 vCore | 224 GB | Up to 12.5 Gbps |
| Standard | db2v16m32 | 16 vCore | 32 GB | Up to 12.5 Gbps |
| Standard | db2v16m64 | 16 vCore | 64 GB | Up to 12.5 Gbps |
| Standard | db2v16m128 | 16 vCore | 128 GB | Up to 12.5 Gbps |
| Standard | db2v16m192 | 16 vCore | 192 GB | Up to 12.5 Gbps |
| Standard | db2v16m256 | 16 vCore | 256 GB | Up to 12.5 Gbps |
DBH2 Server Type
The dbh2 server type of Microsoft SQL Server (DBaaS) is provided with large-capacity server specifications and is suitable for database workloads for large-scale data processing.
- Up to 3.2GHz Intel 4th generation (Sapphire Rapids) Xeon Gold 6448H Processor
- Supports up to 128 vCPUs and 1,536 GB of memory
- up to 25Gbps of networking speed
| Classification | Server Type | vCPU | Memory | Network Bandwidth |
|---|---|---|---|---|
| High Capacity | dbh2v24m48 | 24 vCore | 48 GB | Up to 25 Gbps |
| High Capacity | dbh2v24m96 | 24 vCore | 96 GB | Up to 25 Gbps |
| High Capacity | dbh2v24m192 | 24 vCore | 192 GB | Up to 25 Gbps |
| High Capacity | dbh2v24m288 | 24 vCore | 288 GB | Up to 25 Gbps |
| High Capacity | dbh2v32m64 | 32 vCore | 64 GB | Up to 25 Gbps |
| High Capacity | dbh2v32m128 | 32 vCore | 128 GB | Up to 25 Gbps |
| High Capacity | dbh2v32m256 | 32 vCore | 256 GB | Up to 25 Gbps |
| High Capacity | dbh2v32m384 | 32 vCore | 384 GB | Up to 25 Gbps |
| High Capacity | dbh2v48m192 | 48 vCore | 192 GB | Up to 25 Gbps |
| High Capacity | dbh2v48m576 | 48 vCore | 576 GB | Up to 25 Gbps |
| High Capacity | dbh2v64m256 | 64 vCore | 256 GB | Up to 25 Gbps |
| High Capacity | dbh2v64m768 | 64 vCore | 768 GB | Up to 25 Gbps |
| High Capacity | dbh2v72m288 | 72 vCore | 288 GB | Up to 25 Gbps |
| High Capacity | dbh2v72m864 | 72 vCore | 864 GB | Up to 25 Gbps |
| High Capacity | dbh2v96m384 | 96 vCore | 384 GB | Up to 25 Gbps |
| High Capacity | dbh2v96m1152 | 96 vCore | 1152 GB | Up to 25 Gbps |
| High Capacity | dbh2v128m512 | 128 vCore | 512 GB | Up to 25 Gbps |
| High Capacity | dbh2v128m1536 | 128 vCore | 1536 GB | Up to 25 Gbps |
5.1.2 - Monitoring Metrics
Microsoft SQL Server(DBaaS) Monitoring Metrics
The following table shows the performance monitoring metrics of Microsoft SQL Server(DBaaS) that can be checked through Cloud Monitoring. For detailed usage of Cloud Monitoring, please refer to the Cloud Monitoring guide.
For server monitoring metrics of Microsoft SQL Server(DBaaS), please refer to the Virtual Server monitoring metrics guide.
| Performance Item | Detailed Description | Unit |
|---|---|---|
| Active Locks | Number of Active Locks | cnt |
| Active Sessions | Number of Active Sessions | cnt |
| Active Transactions [Total] | Number of active transactions | cnt |
| Blocking Session ID | Long-running query (slow query) | ID |
| Connected Users | Number of users connected to the system | cnt |
| Datavolume Size [Free] | Available space | bytes |
| DBFiles [Not Online] | Query to check if all data files are ONLINE | cnt |
| Instance State [Cluster] | State when configuring MSSQL cluster | state |
| Instance State [PID] | sqlservr.exe process pid | PID |
| Lock Processes [Blocked] | Number of SQL processes blocked by other processes | cnt |
| Lock Waits [Per Second] | Average number of lock waits per second | cnt |
| Page IO Latch Wait Time | Average wait time for Page IO latch waits | ms |
| Slowqueries | Long-running query (slow query) | cnt |
| Slowquery CPU Time | Long-running query (slow query) | ms |
| Slowquery Execute Context ID | Long-running query (slow query) | ID |
| Slowquery Memory Usage | Long-running query (slow query) | bytes |
| Slowquery Session ID | Long-running query (slow query) | ID |
| Slowquery Wait Duration Time | Long-running query (slow query) | ms |
| Tablespace Used | Datavolume size | bytes |
| Transaction Time [MAX] | Long-running transaction | cnt |
5.2 - How-to guides
The user can enter the required information for Microsoft SQL Server (DBaaS) through the Samsung Cloud Platform Console, select detailed options, and create the service.
Microsoft SQL Server(DBaaS) Create
You can create and use the Microsoft SQL Server (DBaaS) service from the Samsung Cloud Platform Console.
Before creating the service, please configure the VPC’s Subnet type as General.
- If the Subnet type is Local, the creation of the corresponding Database service is not possible.
To create Microsoft SQL Server (DBaaS), follow the steps below.
- All Services > Database > Microsoft SQL Server(DBaaS) Click the menu. Navigate to the Service Home page of Microsoft SQL Server(DBaaS).
- Click the Microsoft SQL Server(DBaaS) Create button on the Service Home page. You will be taken to the Microsoft SQL Server(DBaaS) Create page.
- Microsoft SQL Server(DBaaS) Creation On the page, enter the information required to create the service, and select detailed options.
- Image and version selection Select the required information in the area.
Category Required or notDetailed description Image Version Required Provide version list of Microsoft SQL Server (DBaaS) Table. Microsoft SQL Server (DBaaS) Image and version selection items - Service Information Input Enter or select the required information in the area.
Category RequiredDetailed description Server Name Prefix Required Server name where DB will be installed - Start with a lowercase English letter, and use lowercase letters, numbers, and the special character (
-) to input 3 to 13 characters
- Based on the server name, a postfix such as 001, 002 is attached to create the actual server name
Cluster Name Required Cluster name composed of DB servers - Enter using English letters, 3 to 20 characters
- A cluster is a unit that groups multiple servers
Service Type > Server Type Required Server type where DB will be installed - Standard: Standard specifications commonly used
- High Capacity: Large-capacity server with 24 vCore or more
- For detailed information about server types provided by Microsoft SQL Server (DBaaS), refer to Microsoft SQL Server (DBaaS) Server Types
Service Type > Planned Compute Select Status of resources with Planned Compute set - In Use: Number of resources with Planned Compute set that are currently in use
- Configured: Number of resources with Planned Compute set
- Coverage Preview: Amount applied by Planned Compute per resource
- Create Planned Compute Service: Go to the Planned Compute service application page
- For more details, refer to Apply for Planned Compute
Service Type > Block Storage Required Block Storage settings used by DB according to purpose - Basic OS: Area where the DB engine is installed
- DATA: Storage area for table data, archive files, etc.
- Select the storage type and then enter the capacity (refer to Block Storage Creation for details on each Block Storage type)
- SSD: High-performance general volume
- HDD: General volume
- SSD_KMS, HDD_KMS: Additional encrypted volumes using Samsung Cloud Platform KMS (Key Management System) encryption keys
- The configured storage type is applied identically to additional storage
- Capacity must be entered as a multiple of 8 within the range 16 ~ 5,120
- After selecting Use, enter the storage’s purpose and capacity
- Select the storage type and then enter the capacity (refer to Block Storage Creation for details on each Block Storage type)
- Capacity can be entered as a multiple of 8 within the range 16 ~ 5,120, and up to 9 can be created
Redundancy Configuration Select Redundancy Configuration Status - If redundancy configuration is used, the DB instance is configured as Active DB and Standby DB
Network > Common Settings Required Network settings where servers generated by the service are installed - Select if you want to apply the same settings to all servers being installed
- Select a pre‑created VPC, Subnet, IP, and Public NAT
- IP can only be auto‑generated
- The Public NAT feature is available only when the VPC is connected to an Internet Gateway. If you check Use, you can select from reserved IPs in the VPC product’s Public IP. For more information, see Create Public IP
Network > Server-specific Settings Required Network settings where servers generated by the service are deployed - 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 Use is checked, you can select from reserved IPs in the VPC product’s Public IP. For more information, see Create Public IP.
IP Access Control Select Service Access Policy Settings - Since the access policy is set for the IP entered on the page, a separate Security Group policy setting is not required
- Enter in IP format (e.g.,
192.168.10.1) or CIDR format (e.g.,192.168.10.0/24,192.168.10.1/32) and click the Add button
- To delete an entered IP, click the x button next to the entered IP
Maintenance Period Select DB Maintenance Period - Use to 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 patches not being applied.
Table. Microsoft SQL Server (DBaaS) Service Configuration Items - Start with a lowercase English letter, and use lowercase letters, numbers, and the special character (
- Database configuration required information input Enter or select the required information in the area.
Category Required or notDetailed description Database Service Name Required Database Management Unit Name - Start with an uppercase English letter and use English characters, input 1~15
Database name > Default Required Server name applied when installing DB - Starts with an English letter, and using English letters, numbers, and special characters (
.,_) input 3 ~ 20 characters
Database name > Add Required Server name applied when installing DB - Select Use, then enter the name of the Database to install. It must start with an English letter, and be entered using English letters, numbers, and special characters (
.,_) for 3 - 20 characters
- For each Database, the drive where data is stored can be selected from the drives added in Service Type > Block Storage
- Adding Databases is only possible in the Enterprise version, up to a maximum of 100
Database username Required DB user name - An account with the same name is also created on the OS
- Enter using lowercase English letters, 2 to 20 characters
- The following names cannot be used as a Database username
- root, user, sdscmpif, hacluster, adm, games, nobody, sshd, system, mail, postfix, sa, maxigent_cl
Database password Required DB connection password - Enter 8-30 characters including letters, numbers, and special characters (
“‘excluded)
Database password verification Required DB connection password verification - Re-enter the DB connection password identically
Database Port number Required DB connection port number - Enter DB port within the range 1200 - 65535
License Required SQL Server License Key - Enter the issued license key
- If the entered license key is not valid, the service may not be created
Backup > Use Select Backup usage status - Use select to set backup file retention period, backup start time, Full backup schedule (day of week), Archive backup cycle
Backup > Retention Period Select Backup Retention Period - Select the backup retention period. File retention period can be set from 7 days to 35 days.
- Backup files incur additional charges based on size.
Backup > Backup Start Period Select Backup Start Time - Select backup start time
- The minutes during which the backup is performed are set randomly, and the backup end time cannot be set
Backup > Full Backup Schedule(Day of Week) Select Full Backup Schedule - Select the day of week for Full backup execution
- Full backup is performed every week
Backup > Archive backup frequency Select Archive backup frequency - Select the Archive backup frequency
- Archive backup frequency is recommended at 1 hour. Selecting 5 minutes, 10 minutes, or 30 minutes may affect DB performance
Audit Log Settings Select Whether to save Audit Log - Select Use to configure the Audit Log feature
- DDL and user connection information records are saved
- Enabling Audit may degrade DB performance
Parameter Required DB configuration parameters - Search button can be clicked to view detailed information of the parameter
- Parameters can be modified after the service creation is completed, and a DB restart is required after modification
DB Collation Select Data sorting method - A command that specifies the data sorting and comparison method, and the result of the operation may differ depending on the setting.
Time zone Required Standard time zone to be used by the Database Table. Microsoft SQL Server(DBaaS) Database configuration items
- Image and version selection Select the required information in the area.
- Additional Information Input area, please enter or select the required information.
Category Required or notDetailed description Tag Select Add Tag - Up to 50 can be added per resource
- After clicking the Add Tag button, enter or select Key, Value values
Table. Microsoft SQL Server (DBaaS) Additional Information Input Items
- Summary Check the detailed information and estimated billing amount generated in the panel, and click the Generate button.
- When creation is complete, check the created resource on the Resource List page.
Microsoft SQL Server(DBaaS) Check detailed information
Microsoft SQL Server(DBaaS) service allows you to view and edit the full resource list and detailed information. Microsoft SQL Server(DBaaS) Details page consists of Details, Tags, Operation History tabs, and for databases with a configured Replica, a Replica Information tab is additionally provided.
Microsoft SQL Server(DBaaS) To view detailed information, follow the steps below.
- All Services > Database > Microsoft SQL Server(DBaaS) Click the menu. Navigate to the Service Home page of Microsoft SQL Server(DBaaS).
- Click the Microsoft SQL Server(DBaaS) menu on the Service Home page. You will be taken to the Microsoft SQL Server(DBaaS) List page.
- Microsoft SQL Server(DBaaS) List Click the resource to view detailed information on the page. Microsoft SQL Server(DBaaS) Details It navigates to the page.
- Microsoft SQL Server(DBaaS) Details At the top of the page, status information and information about additional features are displayed.
Category Detailed description Cluster Status Cluster status with DB installed - Creating: Cluster is being created
- Editing: Cluster is changing to operation execution state
- Error: Cluster encountered a failure while performing tasks
- If it occurs continuously, contact the administrator
- Failed: Cluster failed during creation
- Restarting: Cluster is being restarted
- Running: Cluster is operating normally
- Starting: Cluster is being started
- Stopped: Cluster is stopped
- Stopping: Cluster is being stopped
- Synchronizing: Cluster is being synchronized
- Terminating: Cluster is being deleted
- Unknown: Cluster status is unknown
- If it occurs continuously, contact the administrator
- Upgrading: Cluster is changing to upgrade execution state
Cluster Control Button to change cluster state - Start: Start a stopped cluster
- Stop: Stop a running cluster
- Restart: Restart a running cluster
- Switch-Over: Switch a standby cluster to Active
More additional features Cluster-related management button - Service status synchronization: Query real-time DB service status
- Backup history: If backup is configured, check whether backup runs correctly and view history
- Database recovery: Recover DB based on a specific point in time
- Parameter management: View and modify DB configuration parameters
- Add secondary: Configure a read-only cluster Replica
- DB user management: View and manage DB accounts (users) registered in the DB
- Export DB Log: Logs stored via Audit settings can be exported to the user’s Object Storage
Service termination Button to cancel the service Table. Microsoft SQL Server (DBaaS) status information and additional features
Detailed Information
Microsoft SQL Server(DBaaS) List On the page, you can view detailed information of the selected resource and, if necessary, edit the information.
| Category | Detailed description |
|---|---|
| Server Information | Server information configured in the respective cluster
|
| Service | Service Name |
| Resource Type | Resource Type |
| SRN | Unique resource ID in Samsung Cloud Platform
|
| Resource | Resource Name
|
| Resource ID | Unique resource ID in the service |
| Creator | User who created the service |
| Creation Date/Time | Service creation date/time |
| Editor | User who modified the service information |
| Modification Date | Date and time when service information was modified |
| Image Version | Installed DB Image and Version Information
|
| Cluster Name | Name of the cluster where the servers are configured |
| Databse service name | Database management unit name |
| Database username | DB user name |
| Database name > default Database | Server name applied when installing DB |
| Database name > Add Database | Server name applied when installing DB |
- When adding a Database, click the **Add** button to add. Refer to [Add Database](/userguide/database/mssql/how_to_guides/managing.md#database-추가하기)
- If you want to delete an added Database, click the **Edit** icon to add. Refer to [Delete Database](/userguide/database/mssql/how_to_guides/managing.md#database-삭제하기)
- For more details, refer to [Planned Compute Apply](/userguide/financial_management/planned_compute/how_to_guides/)
- If maintenance period setting is required, click the **Edit** icon to set
- If backup configuration is needed, **Edit** icon to set
- For details, refer to [Microsoft SQL Server(DBaas) Backup](/userguide/database/mssql/how_to_guides/backupandrestore.md#microsoft-sql-serverdbaas-백업하기)
- If Audit Log settings are needed, click the **Edit** icon to configure
- For details, refer to [Edit Audit Settings](/userguide/database/mssql/how_to_guides/managing.md#audit-설정-수정하기)
- Can be checked only when high availability is configured
- If you need to add or delete an IP, click the **Edit** icon to set
- If you need to modify the server type, click the **Edit** icon next to the server type to set it. Refer to [Change Server Type](#서버-타입-변경하기) for the server type modification procedure
- 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 [Expand Storage](#스토리지-증설하기) for the storage expansion procedure
- If you need to add storage, click the **Add Disk** button next to Additional Disk to add. Refer to [Add Storage](#스토리지-추가하기) for the storage addition procedure
Tag
Microsoft SQL Server(DBaaS) List page allows you to view the tag information of the selected resource, and you can add, modify, or delete it.
| Category | Detailed description |
|---|---|
| Tag List | Tag List
|
Work History
Microsoft SQL Server(DBaaS) List page allows you to view the operation history of the selected resource.
| Category | Detailed description |
|---|---|
| Work History List | Resource Change History
|
Microsoft SQL Server(DBaaS) Managing Resources
If you need to change the existing configuration options of a created Microsoft SQL Server (DBaaS) resource, or recover it, or manage parameters, you can perform the work on the Microsoft SQL Server (DBaaS) Details page.
Operating Control
If changes occur to a running Microsoft SQL Server (DBaaS) resource, you can start, stop, or restart it. Also, if HA is configured, you can switch the Primary-Secondary servers via a switch-over.
To control the operation of Microsoft SQL Server (DBaaS), follow the steps below.
- Click the All Services > Database > Microsoft SQL Server(DBaaS) menu. Navigate to the Service Home page of Microsoft SQL Server(DBaaS).
- Click the Microsoft SQL Server(DBaaS) menu on the Service Home page. Navigate to the Microsoft SQL Server(DBaaS) List page.
- Microsoft SQL Server(DBaaS) List page, click the resource to control operation. It moves to the Microsoft SQL Server(DBaaS) Details page.
- Microsoft SQL Server(DBaaS) Check the status and complete the change using the control button below.
- Start: The server where the DB service is installed and the DB service is running.
- Stop: The server where the DB service is installed and the DB service are stopped (Stopped).
- Restart: Only the DB service will be restarted.
- Switch Over: You can switch the DB’s Primary server and Secondary server.
Synchronize Service Status
You can synchronize the real-time service status of Microsoft SQL Server (DBaaS).
To check the service status of Microsoft SQL Server (DBaaS), follow the steps below.
- All Services > Database > Microsoft SQL Server(DBaaS) Click the menu. Navigate to the Service Home page of Microsoft SQL Server(DBaaS).
- Click the Microsoft SQL Server(DBaaS) menu on the Service Home page. Navigate to the Microsoft SQL Server(DBaaS) List page.
- Click the resource to view the service status on the Microsoft SQL Server(DBaaS) List page. It moves to the Microsoft SQL Server(DBaaS) Details page.
- Service Status Synchronization Click the button. While it is being queried, the cluster will change to Synchronizing state.
- When the query is completed, the status is updated in the server information item, and the cluster changes to Running status.
Change Server Type
You can change the configured server type.
To change the server type, follow the steps below.
- If you modify the server type, a server restart is required. Please separately verify any SW license changes or SW settings and reflections due to server specification changes.
- Click the All Services > Database > Microsoft SQL Server(DBaaS) menu. Go to the Service Home page of Microsoft SQL Server(DBaaS).
- Click the Microsoft SQL Server(DBaaS) menu on the Service Home page. Go to the Microsoft SQL Server(DBaaS) List page.
- Microsoft SQL Server(DBaaS) List Click the resource to change the server type on the page. Microsoft SQL Server(DBaaS) Detail Navigate to the page.
- Click the Edit icon of the server type you want to change at the bottom of the detailed information. Server Type Edit popup window opens.
- Edit Server Type 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.
To add storage capacity, follow the steps below.
- It is applied the same as the selected Storage type when creating a service.
- For a high‑availability configured DB, adding storage is applied simultaneously to the storage of the Primary DB and the Secondary DB.
- Click the All Services > Database > Microsoft SQL Server(DBaaS) menu. Go to the Service Home page of Microsoft SQL Server(DBaaS).
- Click the Microsoft SQL Server(DBaaS) menu on the Service Home page. Navigate to the Microsoft SQL Server(DBaaS) list page.
- Microsoft SQL Server(DBaaS) List page, click the resource to add storage. Microsoft SQL Server(DBaaS) Details page will be opened.
- Click the Add Disk button at the bottom of the detailed information. The Add Storage Request popup window opens.
- Additional Storage Request In the popup window, after entering the purpose and capacity, click the Confirm button.
Expanding storage
You can expand the storage added to the data area up to a maximum of 5 TB based on the initially allocated capacity. In the case of a redundant DB configuration, all redundant servers are expanded simultaneously.
To increase storage capacity, follow the steps below.
- Click the All Services > Database > Microsoft SQL Server(DBaaS) menu. Navigate to the Service Home page of Microsoft SQL Server(DBaaS).
- Click the Microsoft SQL Server(DBaaS) menu on the Service Home page. Go to the Microsoft SQL Server(DBaaS) List page.
- Microsoft SQL Server(DBaaS) List Click the resource to change the server type on the page. Microsoft SQL Server(DBaaS) Details Navigate to the page.
- Click the Edit icon of the additional Disk you want to add at the bottom of the detailed information. The Edit Additional Storage popup window opens.
- Add Storage Modification After entering the expansion capacity in the popup window, click the Confirm button.
Microsoft SQL Server(DBaaS) Cancel
You can cancel unused Microsoft SQL Server (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.
To cancel Microsoft SQL Server (DBaaS), follow the steps below.
- Click the All Services > Database > Microsoft SQL Server(DBaaS) menu. Go to the Service Home page of Microsoft SQL Server(DBaaS).
- Click the Microsoft SQL Server(DBaaS) menu on the Service Home page. Navigate to the Microsoft SQL Server(DBaaS) List page.
- Microsoft SQL Server(DBaaS) List page, select the resource to cancel, and click the Cancel Service button.
- Once the termination is complete, check whether the resource has been terminated on the Microsoft SQL Server(DBaaS) list page.
5.2.1 - Managing DB Service
Users can manage Microsoft SQL Server(DBaaS) through the Samsung Cloud Platform Console.
Managing Database
For Microsoft SQL Server Enterprise version, you can add new Databases. You can add up to 100 per cluster.
Adding Database
Follow these steps to add Database.
- Click the All Services > Database > Microsoft SQL Server(DBaaS) menu. You will move to the Microsoft SQL Server(DBaaS)’s Service Home page.
- On the Service Home page, click the Microsoft SQL Server(DBaaS) menu. You will move to the Microsoft SQL Server(DBaaS) List page.
- On the Microsoft SQL Server(DBaaS) List page, click the resource to add storage. You will move to the Microsoft SQL Server(DBaaS) Detail page.
- Click the Add button in the Database name item. The Add Database popup window will open.
- In the Add Database popup window, click the + button to enter Database name and select drive, then click the Confirm button.
Deleting Database
Follow these steps to delete Database.
- Click the All Services > Database > Microsoft SQL Server(DBaaS) menu. You will move to the Microsoft SQL Server(DBaaS)’s Service Home page.
- On the Service Home page, click the Microsoft SQL Server(DBaaS) menu. You will move to the Microsoft SQL Server(DBaaS) List page.
- On the Microsoft SQL Server(DBaaS) List page, click the resource to add storage. You will move to the Microsoft SQL Server(DBaaS) Detail page.
- Click the Modify button in the Database name item. The Delete Added Database popup window will open.
- In the Delete Added Database Request popup window, check the Database to delete and click the Delete button. The Delete Database popup window will open.
- In the Delete Database popup window, enter the Database name to delete and then click the Confirm button.
Managing Parameters
Provides functionality to easily view and modify database configuration parameters.
Viewing Parameters
Follow these steps to view configuration parameters.
- Click the All Services > Database > Microsoft SQL Server(DBaaS) menu. You will move to the Microsoft SQL Server(DBaaS)’s Service Home page.
- On the Service Home page, click the Microsoft SQL Server(DBaaS) menu. You will move to the Microsoft SQL Server(DBaaS) List page.
- On the Microsoft SQL Server(DBaaS) List page, click the resource for which you want to view and modify parameters. You will move to the Microsoft SQL Server(DBaaS) Detail page.
- Click the More button and click the Parameter Management button. The Parameter Management popup window will open.
- In the Parameter Management popup window, click the View button. The View Notification popup window will open.
- When the View Notification popup window opens, click the Confirm button. Viewing may take some time.
Modifying Parameters
Follow these steps to modify configuration parameters.
- Click the All Services > Database > Microsoft SQL Server(DBaaS) menu. You will move to the Microsoft SQL Server(DBaaS)’s Service Home page.
- On the Service Home page, click the Microsoft SQL Server(DBaaS) menu. You will move to the Microsoft SQL Server(DBaaS) List page.
- On the Microsoft SQL Server(DBaaS) List page, click the resource for which you want to view and modify parameters. You will move to the Microsoft SQL Server(DBaaS) Detail page.
- Click the More button and click the Parameter Management button. The Parameter Management popup window will open.
- In the Parameter Management popup window, click the View button. The View Notification popup window will open.
- When the View Notification popup window opens, click the Confirm button. Viewing may take some time.
- If modification is needed, click the Modify button and enter the modification in the custom value area of the Parameter to be modified.
- When input is complete, click the Complete button.
Managing DB Users
Provides functionality to view and manage DB user information.
Viewing DB Users
Follow these steps to view DB users.
- Click the All Services > Database > Microsoft SQL Server(DBaaS) menu. You will move to the Microsoft SQL Server(DBaaS)’s Service Home page.
- On the Service Home page, click the Microsoft SQL Server(DBaaS) menu. You will move to the Microsoft SQL Server(DBaaS) List page.
- On the Microsoft SQL Server(DBaaS) List page, click the resource for which you want to view DB users. You will move to the Microsoft SQL Server(DBaaS) Detail page.
- Click the More button and click the DB User Management button. You will move to the DB User Management page.
- On the DB User Management page, click the View button. Viewing may take some time.
Changing DB User Status
Follow these steps to change the status of viewed DB users.
- Click the All Services > Database > Microsoft SQL Server(DBaaS) menu. You will move to the Microsoft SQL Server(DBaaS)’s Service Home page.
- On the Service Home page, click the Microsoft SQL Server(DBaaS) menu. You will move to the Microsoft SQL Server(DBaaS) List page.
- On the Microsoft SQL Server(DBaaS) List page, click the resource for which you want to modify DB users. You will move to the Microsoft SQL Server(DBaaS) Detail page.
- Click the More button and click the DB User Management button. You will move to the DB User Management page.
- On the DB User Management page, click the View button. Viewing may take some time.
- If modification is needed, click the Modify button and change the status area value or enter remarks.
- When input is complete, click the Complete button.
Modifying Audit Settings
You can change the Audit log storage settings for Microsoft SQL Server(DBaaS).
Follow these steps to change the Audit log storage settings for Microsoft SQL Server(DBaaS).
- Click the All Services > Database > Microsoft SQL Server(DBaaS) menu. You will move to the Microsoft SQL Server(DBaaS)’s Service Home page.
- On the Service Home page, click the Microsoft SQL Server(DBaaS) menu. You will move to the Microsoft SQL Server(DBaaS) List page.
- On the Microsoft SQL Server(DBaaS) List page, click the resource for which you want to view the service status. You will move to the Microsoft SQL Server(DBaaS) Detail page.
- Click the Modify icon in Audit Settings at the bottom of the detailed information. The Modify Audit Settings popup window will open.
- In the Modify Audit Settings popup window, modify the usage and then click the Confirm button.
- Selecting Use sets the Audit log function. Setting Audit logs may degrade DB performance.
- Disabling Use deletes the Audit log storage file. Please back up the Audit log file separately before disabling use.
Exporting DB Log
Supports exporting audit(Audit) log data that requires long-term retention to Object Storage. Users can directly set the log type to be saved, the destination Bucket to export to, and the cycle for exporting logs. Logs are copied and stored to the specified Object Storage according to the set criteria. Additionally, to efficiently manage disk space, provides an option to automatically delete original log files while exporting logs to Object Storage. Using this option allows you to effectively secure storage capacity while safely storing necessary log data for long-term retention.
- To use the DB Log Export function, Object Storage creation is required. For Object Storage creation, please refer to the Object Storage User Guide.
- Please check the expiration date of the authentication key. If the authentication key expires, logs will not be saved to the Bucket.
- Please be careful not to expose authentication key information externally.
Setting DB Log Export Mode
Follow these steps to set DB Log export mode.
- Click the All Services > Database > Microsoft SQL Server(DBaaS) menu. You will move to the Microsoft SQL Server(DBaaS)’s Service Home page.
- On the Service Home page, click the Microsoft SQL Server(DBaaS) menu. You will move to the Microsoft SQL Server(DBaaS) List page.
- On the Microsoft SQL Server(DBaaS) List page, click the resource for which you want to export DB Log. You will move to the Microsoft SQL Server(DBaaS) Detail page.
- Click the More button and click the DB Log Export button. You will move to the DB Log Export page.
- On the DB Log Export page, click the Register button. You will move to the Register DB Log Export page.
- On the Register DB Log Export page, enter the corresponding information and then click the Complete button.
Category Required Detailed DescriptionLog Type Required Log type to save Storage Bucket Name Required Object Storage Bucket name to save Authentication Key > Access key Required Access key to access the Object Storage to save Authentication Key > Secret key Required Secret key to access the Object Storage to save File Creation Cycle Required Cycle for creating files in Object Storage Delete Original Log Optional Whether to delete original logs while exporting to Object Storage Table. Microsoft SQL Server(DBaaS) DB Log Export Configuration Items
Managing DB Log Export
Follow these steps to modify, cancel, or immediately export DB Log export settings.
- Click the All Services > Database > Microsoft SQL Server(DBaaS) menu. You will move to the Microsoft SQL Server(DBaaS)’s Service Home page.
- On the Service Home page, click the Microsoft SQL Server(DBaaS) menu. You will move to the Microsoft SQL Server(DBaaS) List page.
- On the Microsoft SQL Server(DBaaS) List page, click the resource for which you want to manage DB Log export. You will move to the Microsoft SQL Server(DBaaS) Detail page.
- Click the More button and click the DB Log Export button. You will move to the DB Log Export page.
- On the DB Log Export page, click the More button according to the log type you want to manage and click the Immediate Export, Modify, or Cancel button.
- Immediate Export: The selected log is exported to the Bucket of the previously set Object Storage.
- Modify: Modifies the DB Log export mode settings.
- Cancel: Cancels the DB Log export mode settings.
Upgrading Minor Version
Provides version upgrade functionality for some feature improvements and security patches. Only Minor version upgrades within the same Major version are supported.
- Please check the service status first through service status synchronization before performing version upgrade.
- Please proceed with version upgrade after setting up backup. If backup is not set, some data may not be recoverable when problems occur during upgrade.
- Backed up data is automatically deleted after version upgrade is complete.
Follow these steps to upgrade Minor Version.
- Click the All Services > Database > Microsoft SQL Server(DBaaS) menu. You will move to the Microsoft SQL Server(DBaaS)’s Service Home page.
- On the Service Home page, click the Microsoft SQL Server(DBaaS) menu. You will move to the Microsoft SQL Server(DBaaS) List page.
- On the Microsoft SQL Server(DBaaS) List page, click the resource to upgrade the version. You will move to the Microsoft SQL Server(DBaaS) Detail page.
- Click the Modify button in the Image version item. The Version Upgrade popup window will open.
- In the Version Upgrade popup window, select the modified version and backup setting, then click the Confirm button.
- In the Version Upgrade Notification popup window, click the Confirm button.
5.2.2 - DB Backup and Recovery
The user can set up a backup of Microsoft SQL Server(DBaaS) through the Samsung Cloud Platform Console and restore it with the backed-up file.
Microsoft SQL Server(DBaaS) backup
Microsoft SQL Server(DBaaS) provides a data backup feature based on its own backup command, and also provides an optimized backup environment for data protection and management through backup history checking and backup file deletion functions.
Setting up backup
The method for configuring a backup for Microsoft SQL Server(DBaaS) is described in the Microsoft SQL Server(DBaaS) creation guide; please refer to it.
To modify the backup settings of the generated resource, follow these steps.
If backup is set, backup is performed at the specified time after the set time, and additional fees are incurred depending on the backup capacity.
- If the backup setting is changed to unset, the backup operation will be stopped immediately, and the saved backup data will be deleted and can no longer be used.
- All services > Database > Microsoft SQL Server(DBaaS) menu, click. It moves to the Service Home page of Microsoft SQL Server(DBaaS).
- On the Service Home page, click the Microsoft SQL Server(DBaaS) menu. It moves to the Microsoft SQL Server(DBaaS) list page.
- Click the resource to set up backup on the Microsoft SQL Server(DBaaS) list page. It moves to the Microsoft SQL Server(DBaaS) details page.
- Click the Edit button of the backup item. The Backup Settings popup window opens.
- If you set up a backup, click Use in the Backup Settings popup window, select the retention period, backup start time, and Archive backup cycle, and then click the OK button.
- If you want to stop the backup setting, uncheck Use in the Backup Settings popup window and click the OK button.
Check Backup History
To view the backup history, follow these steps.
- Click All Services > Database > Microsoft SQL Server(DBaaS) menu. It moves to the Service Home page of Microsoft SQL Server(DBaaS).
- Service Home page, click the Microsoft SQL Server(DBaaS) menu. It moves to the Microsoft SQL Server(DBaaS) list page.
- Microsoft SQL Server(DBaaS) list page, click the resource to check the backup history. It moves to the Microsoft SQL Server(DBaaS) details page.
- Click the Backup History button. The Backup History popup window opens.
- Backup History popup window where you can check the backup status, version, backup start time, backup completion time, and capacity.
Deleting backup files
To delete the backup history, follow these steps.
- Click All Services > Database > Microsoft SQL Server(DBaaS) menu. It moves to the Service Home page of Microsoft SQL Server(DBaaS).
- Service Home page, click the Microsoft SQL Server(DBaaS) menu. It moves to the Microsoft SQL Server(DBaaS) list page.
- Microsoft SQL Server(DBaaS) list page, click the resource to check the backup history. It moves to the Microsoft SQL Server(DBaaS) details page.
- Click the Backup History button. The Backup History popup window opens.
- Backup History popup window, check the file you want to delete, and then click the Delete button.
Microsoft SQL Server(DBaaS) Recovery
In the event of a disability or data loss that requires restoration with a backup file, recovery is possible based on a specific point in time through the recovery function. When performing Microsoft SQL Server (DBaaS) recovery, a new server is created with the OS image at the initial provisioning time, and the DB is installed with the version at the backup point, and the recovery proceeds with the DB configuration information and data.
To restore Microsoft SQL Server(DBaaS), follow these procedures.
- Click All Services > Database > Microsoft SQL Server(DBaaS) menu. It moves to the Service Home page of Microsoft SQL Server(DBaaS).
- Service Home page, click the Microsoft SQL Server(DBaaS) menu. Move to the Microsoft SQL Server(DBaaS) list page.
- Microsoft SQL Server(DBaaS) resource list page, click the resource you want to restore. Move to the Microsoft SQL Server(DBaaS) details page.
- Click the Database Recovery button. Go to the Database Recovery page.
- Database Recovery Configuration area, enter the corresponding information and click the Complete button.
| Classification | Necessity | Detailed Description |
|---|---|---|
| Recovery Type | Required | Set the point in time to recover
|
| Server name prefix | Required | Recovery DB server name
|
| Cluster Name | Required | Recovery DB Cluster Name
|
| Service Type > Server Type | Required | Recovery DB Server Type
|
| Service Type > Planned Compute | Selection | Current status of resources with Planned Compute set
|
| Service Type > Block Storage | Required | Recovery DB uses Block Storage settings
|
| Database username | required | Database username
|
| Database Port number | required | Database Port number
|
| IP Access Control | Select | Set service access policy
|
| Maintenance period | Select | DB maintenance period
|
| Tag | Select | Add Tag
|
5.2.3 - Adding Secondary
Users can enter required information for Secondary through the Samsung Cloud Platform Console and create the service through detailed options.
Adding Secondary
Through Secondary configuration, you can create read-only replica servers. To configure Secondary additionally, it must be created with HA (High Availability) and Enterprise Edition, and the backup function must be enabled.
Follow these steps to configure Secondary.
- Click the All Services > Database > Microsoft SQL Server(DBaaS) menu. You will move to the Microsoft SQL Server(DBaaS)’s Service Home page.
- On the Service Home page, click the Microsoft SQL Server(DBaaS) menu. You will move to the Microsoft SQL Server(DBaaS) List page.
- On the Microsoft SQL Server(DBaaS) List page, click the resource to configure Secondary. You will move to the Microsoft SQL Server(DBaaS) Detail page.
- Click the Add Secondary button. You will move to the Add Secondary page.
- Enter information in the Secondary Configuration area and then click the Create button.
Category RequiredDetailed Description Secondary Count Required Number of Secondaries to configure - Can configure only 1 per cluster
Secondary Name Required Secondary server name - Enter 3 ~ 15 characters starting with lowercase English letters, using lowercase letters, numbers, and special characters(
-)
- The entered Secondary name is displayed as cluster name in the list
Service Type > Server Type Required Secondary server type - Applied identically according to the server type set in the original DB
Service Type > Planned Compute Optional Status of resources with Planned Compute set - In Use: Number of resources with Planned Compute set that are currently in use
- Set: Number of resources with Planned Compute set
- Coverage Preview: Amount applied by Planned Compute per resource
- Create Planned Compute Service: Moves to Planned Compute service application page
- For details, refer to Applying for Planned Compute
Network > Common Settings Required Network settings where servers created in the service are installed - Applied identically with network settings set in original DB
Network > Per-Server Settings Required Network settings where servers created in the service are installed - Select when applying different settings for each server being installed
- Applied identically with network settings set in original DB
- When setting per server, enter IP address within
10.10.10.0/24range
License Required SQL Server License Key - Enter the issued license key
- If the entered license key is invalid, the service may not be created
Table. Microsoft SQL Server(DBaaS) Secondary Configuration Items
5.2.4 - Microsoft SQL Server(DBaaS) server connection
Scenario Overview
The Microsoft SQL Server(DBaaS) server connection scenario is a scenario where a Bastion host (Virtual Server) and a Database service are created, and the DB service is accessed through the Bastion host. To securely access Microsoft SQL Server (DBaaS) 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, and accessing it through a DB connection client.
Scenario Components
You can configure the scenario using the following services.
| Service Group | Service | Detailed Description | |
|---|---|---|---|
| Networking | VPC | A service that provides an independent virtual network in a cloud environment | |
| Networking | VPC > Subnet | A service that allows users to subdivide the network into smaller segments according to purpose/size within the VPC | |
| Networking | VPC > Public IP | A service that reserves public IP and assigns and returns it to Compute resources | |
| Networking | VPC > Internet Gateway | A service that connects VPC resources to the internet | |
| Networking | Security Group | A virtual firewall that controls the server’s traffic | |
| Database | Microsoft SQL Server(DBaaS) | A service that easily creates and manages Microsoft SQL Server in a web environment | |
| Compute | Virtual Server | Virtual server optimized for cloud computing | |
| Compute | Virtual Server > Keypair | Encryption file used to connect to the Virtual Server |
- The default policy of Security Group is Deny All, so only allowed IPs must be registered.
- In/Outbound’s All Open(Any IP, Any Port) policy can expose cloud resources to external threats.
- By specifying the necessary IP and Port to set the policy, you can enhance security.
Scenario composition method
To configure the scenario, create the necessary services through the following procedure.
1. Configuring the Network
This describes the process of configuring the network environment for connecting to the Bastion Host and Database services.
1-1. Creating a VPC
- Click All services > Networking > VPC menu. It moves to the Service Home page of VPC.
- On the Service Home page, click the Create VPC button. It moves to the Create VPC page.
- VPC Creation page, please enter the information required for service creation.
- IP range should be entered as
192.168.x.0/16.
- IP range should be entered as
- In the Summary panel, review the detailed information and estimated charges, and click the Complete button.
- Once creation is complete, check the resource you created on the VPC list page.
1-2. Creating a Subnet
- Click All services > Networking > VPC menu. It moves to the Service Home page of VPC.
- Service Home page, click the Subnet menu. It moves to the Subnet list page.
- Click the Subnet Creation button. It moves to the Subnet Creation page.
- Subnet Creation page where you enter the information needed to create a service.
- Subnet type should be selected as General.
- Please select a pre-created VPC.
- IP range should be entered as
192.168.x.0/24.
- In the Summary panel, review the detailed information and estimated charges, and click the Complete button.
- Once creation is complete, check the created resource on the Subnet list page.
1-3. Creating an Internet Gateway
- Click All services > Networking > VPC menu. It moves to the Service Home page of VPC.
- On the Service Home page, click the Internet Gateway menu. It moves to the Internet Gateway list page.
- Click the Create Internet Gateway button. It moves to the Create Internet Gateway page.
- Internet Gateway Creation page, please enter the required information necessary for service creation.
- Please select a pre-created VPC.
- Select Use in the Firewall usage item.
- In the Summary panel, review the detailed information and estimated charges, and then click the Complete button.
- Once the creation is complete, check the created resource on the Internet Gateway list page.
1-4. Creating a Public IP
- Click All services > Networking > VPC menu. It moves to the Service Home page of VPC.
- Service Home page, click the Public IP menu. It moves to the Public IP list page.
- Public IP Reservation button, click. Move to the Public IP Reservation page.
- Public IP Reservation page where you enter the required information necessary for service reservation.
- In the Summary panel, review the detailed information and estimated billing amount, and click the Complete button.
- Once creation is complete, check the created resource on the Public IP list page.
1-5. Creating a Security Group
- Click All services > Networking > Security Group menu. It moves to the Service Home page of Security Group.
- Service Home page, click the Create Security Group button. Move to the Create Security Group page.
- Security Group Creation page, please enter the required information necessary for service creation.
- 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 Server Keypair
- Click All Services > Compute > Virtual Server menu. It moves to the Service Home page of Virtual Server.
- Service Home page, click the Keypair menu. It moves to the Keypair list page.
- Create Keypair button will be clicked. It moves to the Create Keypair page.
- Keypair creation page where you enter the required information necessary for service creation.
- Check the creation information and click the Complete button.
- The key can only be downloaded for the first time, and re-issuance is not provided.
- Please make sure to store the downloaded key in a safe place.
2-2. Creating a Bastion Host
- Click All Services > Compute > Virtual Server menu. It moves to the Service Home page of Virtual Server.
- Service Home page, click the Virtual Server creation button. Move to the Virtual Server creation page.
- Virtual Server Creation page, please enter the required information necessary for service creation.
- Image is Windows, please select it.
- Please select a pre-created VPC and Subnet.
- Click NAT and select the Public IP reserved in 1-4. Create Public IP.
- 2-1. Create Server Keypair and connect the Keypair created from there.
- Summary panel, check the detailed information generated and the expected billing amount, and click the Complete button.
- After creation is complete, check the created resource on the Virtual Server list page.
2-3. Check Bastion host connection ID and PW
- Click All Services > Compute > Virtual Server menu. It moves to the Service Home page of Virtual Server.
- Service Home page, click the Virtual Server menu. Move to the Virtual Server list page.
- Virtual Serve list page, click on the resource created in 2-2. Bastion host creation. It moves to the detailed information page of the corresponding resource.
- In the detailed information page, click the RDP password inquiry button in the Keypair name item. The RDP password inquiry pop-up window opens.
- RDP password inquiry popup window, attach the keypair file downloaded from 2-1. Server Keypair creation.
- After attaching, click the Password check button. The ID and password required to access the resource will be displayed.
- The ID and password will be used as credentials to connect to the Bastion host later in 5-1. Connect to Bastion host.
3. Creating a Database
It describes the process of creating a Database service.
3-1. Creating Microsoft SQL Server (DBaaS) Service
- Click on the menu for all services > Database > Microsoft SQL Server(DBaaS). It moves to the Service Home page of Microsoft SQL Server(DBaaS).
- On the Service Home page, click the Create Microsoft SQL Server(DBaaS) button. It moves to the Create Microsoft SQL Server(DBaaS) page.
- Microsoft SQL Server(DBaaS) creation page, please enter the required information needed for service creation.
- Select and connect to the pre-created VPC and Subnet.
- Enter Database related creation information on the required information input screen.
- Add the Bastion host IP in the IP access control item.
- Database Port is 2866 by default, but users can also specify it.
- In the Summary panel, review the detailed information and estimated charges, and then click the Complete button.
- Once creation is complete, check the created resource from the Microsoft SQL Server(DBaaS) list page.
4. Setting Rules
This describes the process of setting rules for users to connect to the Bastion host and rules for the Bastion host to connect to the Database.
4-1. Security Group Add Security Rules
- Click All Services > Networking > Security Group menu. It moves to the Service Home page of Security Group.
- Service Home page, click the Security Group menu. Move to the Security Group list page.
- 1-5. Creating a Security Group Select the Security Group resource created from 1-5. Creating a Security Group. It moves to the detailed information page of the corresponding resource.
- Click the Rules tab on the detailed information page. It moves to the Rules tab.
- Rule tab where you click the Add Rule button. Move to the Add Rule popup window.
- In the Add Rule popup window, enter the rules below and click the OK button
| Direction | Remote | Destination Address | Protocol | Port | Description |
|---|---|---|---|---|---|
| Inbound | CIDR | User PC IP | TCP | 3389 (RDP) | Bastion connection PC → Bastion host |
| Outbound | CIDR | DB IP | TCP | Database Port (direct input) | Bastion host → Database |
4-2. Adding IGW Firewall Rules
- Click All services > Networking > Firewall menu. It moves to the Service Home page of Firewall.
- Service Home page, click the Firewall menu. It moves to the Firewall list page.
- Firewall list page, select the Internet Gateway resource name created in 1-3. Creating Internet Gateway. It moves to the detailed information page of the corresponding resource.
- Click the Rules tab on the detailed information page. It moves to the Rules tab.
- Rule tab, click the Add Rule button. Move to the Add Rule popup window.
- Add Rule In the popup window, enter the following rules and click the OK button.
| Departure Address | Destination Address | Protocol | Port | Action | Direction | Description |
|---|---|---|---|---|---|---|
| Bastion connection PC IP | Bastion host IP | TCP | 3389(RDP) | Allow | Inbound | User PC → Bastion host |
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 SSMS (Microsoft SQL Server Management Studio). Since there are various database client programs and CLI utilities, you can also install and use the tools that are suitable for you.
5-1. Connect to the Bastion host
- Run Remote Desktop Connection in the Windows environment of the PC that wants to access the Bastion host, enter the NAT IP of the Bastion Host, and click the Connect button.
- When the remote desktop connection is successful, the User Credential Input Window opens. Enter the ID and Password confirmed in 2-3. Check Bastion host access ID and PW and click the Confirm button.
5-2. Install DB connection client program (SSMS) on Bastion host
- Go to the official Microsoft SQL Server page and download the SSMS program.
- SSMS program download path: https://learn.microsoft.com/en-us/ssms/download-sql-server-management-studio-ssms
- Connect the hard drive of the user PC to upload the file to the Bastion host.
- Click the Details button for local devices and resources entries in the Local Resources tab of Remote Desktop Connection.
- Select the local disk where the file was downloaded to the drive and click the Confirm button.
- Download the file, copy it to the Bastion Host, and upload it, then click the SSMS (Microsoft SQL Server Management Studio) installation file to install it.
5-3. Using DB Connection Client Program (SSMS) to Connect to Database
- Run SSMS (Microsoft SQL Server Management Studio). The Connect to Server popup window will appear.
- Connect to Server popup window, enter the database server information created in 3-1. Microsoft SQL Server(DBaaS) service creation and click the Connect button.
Required Input Element Items Input Value Server type Database Engine Server name Database server IP, Database Port (ex. 192.168.10.1,2866) Authentication SQL Server Authentication Login Database username Password Database password Encryption Optional DB Connection Client Program Input Items - Once the connection is complete, the Database will be connected. After connection, you can try performing simple queries, etc.
5.3 - API Reference
5.4 - CLI Reference
5.5 - Release Note
Microsoft SQL Server(DBaaS)
- Microsoft SQL Server(DBaaS) feature added
- 2nd generation server type added
- Intel 4th generation (Sapphire Rapids) processor-based 2nd generation (db2) server type added. For more information, see Microsoft SQL Server (DBaaS) server type
- DB User and Access Control Management added
- For more detailed information, please refer to DB User Management, DB Access Control Management
- DB Audit Log Export feature added
- For more information, see Exporting DB Log
- Backup Notification Feature provided
* Provides notification features for backup success and failure. For more information, see Creating a Notification Policy
- Block Storage type added **HDD, HDD_KMS type
- A Microsoft SQL Server (DBaaS) service that allows you to easily create and manage Microsoft SQL Server in a web environment has been released.
6 - CacheStore(DBaaS)
6.1 - Overview
Service Overview
CacheStore(DBaaS) is a service that provides the in‑memory based data stores Redis OSS and Valkey. Samsung Cloud Platform provides an environment that can automate the installation of Redis OSS and Valkey through a web‑based console and perform management functions for operation.
CacheStore (DBaaS) provides a Sentinel architecture consisting of a Master server that performs read/write operations and read‑only Replica servers that replicate the Master data. Sentinel checks the status of DB servers where the engine is installed and automatically fails over the Replica servers to become the Master server if a failure occurs on the Master server. Additionally, it provides an automatic backup feature at user‑specified times to prepare for issues with the DB server or data, allowing data recovery based on the backup point.
Provided Features
CacheStore(DBaaS) provides the following features.
- Auto Provisioning: It is possible to install and configure the Database (DB) via UI, and a redundant configuration with a Sentinel-based Single Master server and Replica server(s) (1 or 2) is possible.
- Operation Control Function: Provides a function to control the status of running servers. In addition to start and stop, restart is possible if there is an issue with the DB or to apply configuration values. When configured for high availability (HA), you can switch Active-Standby servers via Switch-over.
- Backup and Recovery: Provides a data backup function based on its own backup commands. The backup time window and storage agency can be set by the user, and additional fees are incurred based on backup size. It also provides a recovery function for backed-up data; when the user performs a recovery, a separate DB is created and the recovery proceeds to the point in time selected by the user.
- Parameter management: It is possible to modify DB configuration parameters related to performance improvement and security.
- Service Status Query: Retrieves the final status of the current DB service.
- Monitoring: CPU, memory, DB performance monitoring information can be checked through the Cloud Monitoring service.
- Minor version upgrade: Minor version upgrades can be performed within the same Major version to apply some feature improvements and security patches.
Components
CacheStore (DBaaS) provides pre-validated engine versions and various server types according to the open source support policy. Users can select and use them according to the scale of the service they want to configure.
Engine Version
The engine versions supported by CacheStore (DBaaS) are as follows.
Technical support can be used until the supplier’s EoTS (End of Technical Service) date, and the EOS date when new creation is stopped is set to 6 months before the EoTS date.
Since the dates for EOS and EoTS may vary according to the supplier’s policy, please refer to the supplier’s license management policy page for details.
- Redis: https://redis.io/docs/latest/operate/oss_and_stack/install/version-mgmt/
- Valkey: https://valkey.io/topics/releases/
| Image | Provided Version | EoS Date | EoTS Date |
|---|---|---|---|
| Redis OSS Sentinel | 7.2.11 | 2029-06 (planned) | 2029-12-31 |
| valkey Sentinel | 8.1.4 | TBD | TBD |
Server Type
The server types supported by CacheStore (DBaaS) are as follows.
For detailed information about the server types provided by CacheStore(DBaaS), see CacheStore(DBaaS) Server Types.
Standard redis1v2m4
| Category | Example | Detailed description |
|---|---|---|
| Server Type | Standard | Provided Server Type
|
| Server Specifications | redis1 | Provided Server Specifications
|
| Server Specifications | v2 | Number of vCores
|
| Server Specifications | m4 | Memory Capacity
|
Preliminary Service
This is a list of services that must be pre-configured before creating the service. Please refer to the guide provided for each service for detailed information and prepare in advance.
| Service Category | Service | Detailed Description |
|---|---|---|
| Networking | VPC | A service that provides an independent virtual network in a cloud environment |
6.1.1 - Server Type
CacheStore(DBaaS) server type
CacheStore(DBaaS) provides a server type composed of various combinations such as CPU, Memory, Network Bandwidth, etc. When creating CacheStore(DBaaS), Redis is installed according to the selected server type suitable for the purpose of use.
The server types supported by CacheStore(DBaaS) are as follows.
Standard redis1v2m4
Classification | Example | Detailed Description |
|---|---|---|
| Server Type | Standard | Provided server type distinction
|
| Server Specification | redis1 | Provided server type distinction and generation
|
| Server specifications | v2 | Number of vCores
|
| Server specification | m4 | Memory capacity
|
redis1 server type
The redis1 server type of CacheStore(DBaaS) is provided with standard specifications (vCPU, Memory) and is suitable for various database workloads.
Up to 3.3Ghz Intel 3rd generation (Ice Lake) Xeon Gold 6342 Processor Supports up to 16 vCPUs and 256 GB of memory Up to 12.5 Gbps of networking speed
| Classification | Server Type | vCPU | Memory | Network Bandwidth |
|---|---|---|---|---|
| Standard | redis1v1m2 | 1 vCore | 2 GB | Up to 10 Gbps |
| Standard | redis1v2m4 | 2 vCore | 4 GB | Up to 10 Gbps |
| Standard | redis1v2m8 | 2 vCore | 8 GB | Up to 10 Gbps |
| Standard | redis1v2m16 | 2 vCore | 16 GB | Up to 10 Gbps |
| Standard | redis1v2m24 | 2 vCore | 24 GB | Up to 10 Gbps |
| Standard | redis1v4m8 | 4 vCore | 8 GB | Up to 10 Gbps |
| Standard | redis1v4m16 | 4 vCore | 16 GB | Up to 10 Gbps |
| Standard | redis1v4m32 | 4 vCore | 32 GB | Up to 10 Gbps |
| Standard | redis1v4m48 | 4 vCore | 48 GB | Up to 10 Gbps |
| Standard | redis1v4m64 | 4 vCore | 64 GB | Up to 10 Gbps |
| Standard | redis1v6m72 | 6 vCore | 72 GB | Up to 10 Gbps |
| Standard | redis1v6m96 | 6 vCore | 96 GB | Up to 10 Gbps |
| Standard | redis1v8m128 | 8 vCore | 128 GB | Up to 10 Gbps |
| Standard | redis1v10m160 | 10 vCore | 160 GB | Up to 10 Gbps |
| Standard | redis1v12m192 | 12 vCore | 192 GB | Up to 12.5 Gbps |
| Standard | redis1v14m224 | 14 vCore | 224 GB | Up to 12.5 Gbps |
| Standard | redis1v16m256 | 16 vCore | 256 GB | Up to 12.5 Gbps |
css1 server type
The css1 server type of CacheStore(DBaaS) is provided with standard specifications (vCPU, Memory) and is suitable for various database workloads.
Up to 3.3Ghz Intel 3rd generation (Ice Lake) Xeon Gold 6342 Processor Supports up to 16 vCPUs and 256 GB of memory Up to 12.5 Gbps of networking speed
| Classification | Server Type | vCPU | Memory | Network Bandwidth |
|---|---|---|---|---|
| Standard | css1v1m2 | 1 vCore | 2 GB | Up to 10 Gbps |
| Standard | css1v2m4 | 2 vCore | 4 GB | Up to 10 Gbps |
| Standard | css1v2m8 | 2 vCore | 8 GB | Up to 10 Gbps |
| Standard | css1v2m16 | 2 vCore | 16 GB | Up to 10 Gbps |
| Standard | css1v2m24 | 2 vCore | 24 GB | Up to 10 Gbps |
| Standard | css1v4m8 | 4 vCore | 8 GB | Up to 10 Gbps |
| Standard | css1v4m16 | 4 vCore | 16 GB | Up to 10 Gbps |
| Standard | css1v4m32 | 4 vCore | 32 GB | Up to 10 Gbps |
| Standard | css1v4m48 | 4 vCore | 48 GB | Up to 10 Gbps |
| Standard | css1v4m64 | 4 vCore | 64 GB | Up to 10 Gbps |
| Standard | css1v6m72 | 6 vCore | 72 GB | Up to 10 Gbps |
| Standard | css1v6m96 | 6 vCore | 96 GB | Up to 10 Gbps |
| Standard | css1v8m128 | 8 vCore | 128 GB | Up to 10 Gbps |
| Standard | css1v10m160 | 10 vCore | 160 GB | Up to 10 Gbps |
| Standard | css1v12m192 | 12 vCore | 192 GB | Up to 12.5 Gbps |
| Standard | css1v14m224 | 14 vCore | 224 GB | Up to 12.5 Gbps |
| Standard | css1v16m256 | 16 vCore | 256 GB | Up to 12.5 Gbps |
| Table. CacheStore(DBaaS) server type specification - css1 server type |
6.1.2 - Monitoring Metrics
CacheStore(DBaaS) Monitoring Metrics
The following table shows the performance monitoring metrics of CacheStore(DBaaS) that can be checked through Cloud Monitoring. For detailed instructions on using Cloud Monitoring, refer to the Cloud Monitoring guide.
For server monitoring metrics of CacheStore(DBaaS), refer to the Virtual Server Monitoring Metrics guide.
| Performance Item | Detailed Description | Unit |
|---|---|---|
| Active Defragmentation Keys [Hits] | Number of keys defragmented | cnt |
| Active Defragmentation Keys [Miss] | Number of keys skipped in the active defragmentation process | cnt |
| Active Defragmentationd [Hits] | Number of value reassignments performed by the active defragmentation process | cnt |
| Active Defragmentations [Miss] | Number of value reassignments started and aborted by the active defragmentation process | cnt |
| Allocated Bytes [OS] | Number of bytes allocated by CacheStore(DBaaS) and recognized by the operating system (resident set size) | bytes |
| Allocated Bytes [Redis] | Total number of bytes allocated by CacheStore(DBaaS) | bytes |
| AOF Buffer Size | AOF buffer size | bytes |
| AOF File Size [Current] | Current AOF file size | bytes |
| AOF File Size [Lastest Startup] | AOF file size at the latest startup or rewrite | bytes |
| AOF Rewrite Buffer Size | AOF rewrite buffer size | bytes |
| AOF Rewrite Current Time | Time of the ongoing AOF rewrite operation, if any | sec |
| AOF Rewrite Last Time | Time of the last AOF rewrite operation | sec |
| Calls | Number of calls that reached command execution (not rejected) | cnt |
| Changes [Last Saved] | Number of changes since the last dump | cnt |
| Client Output Buffer [MAX] | Longest output list among current client connections | cnt |
| Clients [Sentinel] | Number of client connections (Sentinel) | cnt |
| Connected Slaves | Number of connected slaves | cnt |
| Connections [Blocked] | Number of clients waiting for blocking calls (BLPOP, BRPOP, BRPOPLPUSH) | cnt |
| Connections [Current] | Number of client connections (excluding slave connections) | cnt |
| Copy On Write Allocated Size [AOF] | COW allocation size during the last RDB save operation | bytes |
| Copy On Write Allocated Size [RDB] | COW allocation size during the last RDB save operation | bytes |
| CPU Time [Average] | Average CPU time used per command execution | cnt |
| CPU Time [Total] | Total CPU time used by these commands | usec |
| CPU Usage [System Process] | System CPU usage by background processes | % |
| CPU Usage [System] | System CPU usage by the CacheStore(DBaaS) server | % |
| CPU Usage [User Process] | User CPU usage by background processes | % |
| CPU Usage [User] | System CPU usage by background processes | % |
| Dataset Used | Dataset size | bytes |
| Disk Used | Datadir usage | MB |
| Evicted Keys | Number of evicted keys due to maxmemory limit | cnt |
| Fsyncs [Delayed] | Delayed fsync counter | cnt |
| Fsyncs [Pending] | Number of fsync operations pending in the background I/O queue | cnt |
| Full Resyncs | Number of full resynchronizations with slaves | cnt |
| Keys [Expired] | Total number of key expiration events | cnt |
| Keys [Keyspace] | Number of keys in the keyspace | cnt |
| Lastest Fork Duration Time | Time of the latest fork (fork) operation | usec |
| Lookup Keys [Hit] | Number of successful key lookups in the main dictionary | cnt |
| Lookup Keys [Miss] | Number of failed key lookups in the main dictionary | cnt |
| Lua Engine Memory Used | Memory used by the Lua engine | bytes |
| Master Last Interaction Time Ago | Time since the last interaction with the master | sec |
| Master Last Interaction Time Ago [Sync] | Time since the last interaction with the master | sec |
| Master Offset | Current replication offset of the server | pid |
| Master Second Offset | Offset until the replication ID is accepted | pid |
| Master Sync Left Bytes | Number of bytes left to synchronize | bytes |
| Memory Fragmentation Rate | Ratio of used_memory_rss to used_memory | % |
| Memory Fragmentation Rate [Allocator] | Fragmentation ratio | % |
| Memory Fragmentation Used | Difference between used_memory_rss and used_memory in bytes | bytes |
| Memory Fragmentation Used [Allocator] | Resident bytes | bytes |
| Memory Max Value | Memory limit | bytes |
| Memory Resident [Allocator] | Resident memory | bytes |
| Memory RSS Rate [Allocator] | Resident ratio | % |
| Memory Used [Active] | Active memory | bytes |
| Memory Used [Allocated] | Allocated memory | bytes |
| Memory Used [Resident] | Resident bytes | bytes |
| Network In Bytes [Total] | Total network input (bytes) | bytes |
| Network Out Bytes [Total] | Total network output (bytes) | bytes |
| Network Read Rate | Network read rate per second (KB/sec) | cnt |
| Network Write Rate | Network write rate per second (KB/sec) | cnt |
| Partial Resync Requests [Accepted] | Number of accepted partial resynchronization requests | cnt |
| Partial Resync Requests [Denied] | Number of denied partial resynchronization requests | cnt |
| Peak Memory Consumed | Maximum memory used by CacheStore(DBaaS) | bytes |
| Processed Commands | Number of commands processed per second | cnt |
| Processed Commands [Total] | Total number of processed commands | cnt |
| Pub/Sub Channels | Global number of pub/sub channels with client subscriptions | cnt |
| Pub/Sub Patterns | Global number of pub/sub patterns with client subscriptions | cnt |
| RDB Saved Duration Time [Current] | Time of the ongoing RDB save operation, if any | sec |
| RDB Saved Duration Time [Last] | Time of the last RDB save operation | sec |
| Received Connections [Total] | Total number of received connections | cnt |
| Rejected Connections [Total] | Total number of rejected connections | cnt |
| Replication Backlog Actove Count | Flag indicating whether replication backlog is active | cnt |
| Replication Backlog Master Offset | Master offset of the replication backlog buffer | cnt |
| Replication Backlog Size | Size of data in the replication backlog buffer | bytes |
| Replication Backlog Size [Total] | Total size of the replication backlog buffer | bytes |
| Slave Priority | Priority of the server as a failover target | cnt |
| Slave Replication Offset | Replication offset of the slave server | pid |
| Slow Operations | Number of slow operations | cnt |
| Sockets [MIGRATE] | Number of sockets open for migration | cnt |
| Tracked Keys [Expiry] | Number of keys tracked for expiration (only for writable slaves) | cnt |
| Instance Status [PID] | PID of the redis-server process | pid |
| Sentinel Status [PID] | PID of the sentinel process | pid |
6.2 - How-to guides
Users can create CacheStore(DBaaS) by entering required information and selecting detailed options through the Samsung Cloud Platform Console.
Creating CacheStore(DBaaS)
You can create and use CacheStore(DBaaS) service through the Samsung Cloud Platform Console.
Before creating a service, configure the VPC Subnet type as General.
- If the Subnet type is Local, the Database service cannot be created.
To create CacheStore(DBaaS), follow these steps:
- Click the All Services > Database > CacheStore(DBaaS) menu. It moves to the Service Home page of CacheStore(DBaaS).
- On the Service Home page, click the Create CacheStore(DBaaS) button. It moves to the Create CacheStore(DBaaS) page.
- On the Create CacheStore(DBaaS) page, enter the information required for service creation and select detailed options.
- Select the required information in the Image and Version Selection area.
Classification RequiredDetailed Description Image Version Required Provides version list of CacheStore(DBaaS) Table. CacheStore(DBaaS) Image and Version Selection Items - Enter or select the required information in the Service Information Entry area.
Classification RequiredDetailed Description Server Name Prefix Required Server name where Redis/Valkey will be installed - Start with lowercase English letters, enter 3 to 13 characters using lowercase letters, numbers, and special characters (
-)
- Actual server name is created with a postfix like 001, 002 based on the server name
Cluster Name Required Cluster name where Redis/Valkey is installed - Enter 3 to 20 characters using English
- Cluster is a unit that bundles multiple servers
Service Type > Server Type Required Server type where Redis/Valkey will be installed - Standard: Standard specification commonly used
- For more information on server types provided by CacheStore(DBaaS), see CacheStore(DBaaS) Server Type
Service Type > Planned Compute Required Resource status 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 resource-based Planned Compute
- Create Planned Compute Service: Move to Planned Compute service application page
- For more information, see Apply for Planned Compute
Service Type > Block Storage Required Block Storage setting used by DB according to purpose - Basic OS: Area where DB engine is installed
- DATA: Storage area for table data and archive files, etc.
- Select storage type then enter capacity. (For more information by Block Storage type, see Creating Block Storage)
- SSD: High-performance general volume
- HDD: General volume
- SSD_KMS, HDD_KMS: Additional encrypted volume using Samsung Cloud Platform KMS (Key Management System) encryption key
- Set Storage type is applied equally to additional storage
- Enter capacity in multiples of 8 within the range of 16 to 5,120
- Select storage type then enter capacity. (For more information by Block Storage type, see Creating Block Storage)
High Availability Optional High Availability (HA) configuration - If using HA configuration, provided as Master-Replica configuration with 1 or 2 replicas
- Sentinel Port Number: Port number used when connecting to Sentinel
- Port for Master-Replica communication, enter within the range of 1200 to 65535
- Replica Count: Number of replicas to configure
- If selecting 1, configured as Master-Replica-Sentinel
- If selecting 2, configured as Master-Replica-Replica, and Sentinel is automatically installed on the server where Redis is installed
- Sentinel server type is set to minimum specification
Network Required Network where CacheStore(DBaaS) is installed - Select and connect to pre-created VPC and Subnet
- Only automatic IP generation is possible
Network > Common Settings Required Network settings where servers created in the service are installed - Select if you want to apply the same settings to all installed servers
- Select pre-created VPC and Subnet
- Only automatic IP generation is possible
Network > Per Server Settings Required Network settings where servers created in the service are installed - Select if you want to apply different settings for each installed server
- Select pre-created VPC and Subnet, IP, Public NAT
- Enter IP for each server
- Public NAT function is only available when VPC is connected to Internet Gateway. If you check Use, you can select from IPs reserved in Public IP of VPC product. For more information, see Creating Public IP
IP Access Control Optional Service access policy setting - Since access policy is set for the IP entered on the page, you don’t need to set Security Group policy separately
- 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 the entered IP, click the x button next to the entered IP
Maintenance Period Optional CacheStore(DBaaS) maintenance period - If selecting Use, set day of week, start time, and duration
- It is recommended to set the maintenance period for stable DB management. Patch work is performed at the set time and service interruption occurs
- If set to not used, Samsung SDS is not responsible for problems caused by not applying patches.
Table. CacheStore(DBaaS) Service Configuration Items - Start with lowercase English letters, enter 3 to 13 characters using lowercase letters, numbers, and special characters (
- Enter or select the required information in the Database Configuration Required Information Entry area.
Classification RequiredDetailed Description Backup Optional Backup usage - If selecting Use, set backup file retention period and backup start time
- Separate fees are charged for backup files depending on capacity
- File retention period can be set from 7 days to 35 days
- The minutes when backup is performed are set randomly, and backup end time cannot be set
Redis/Valkey Port Number Required Port number required for Redis/Valkey connection - Enter port within the range of 1200 to 65535
Redis/Valkey Password Required Password required for Redis/Valkey connection - Enter 8 to 30 characters including English letters, numbers, and special characters (excluding
$"’)
Redis/Valkey Password Confirmation Required Re-enter password identically Parameter Required Parameters to use for Redis/Valkey - Click the View button to check detailed information of parameters
- After creation is complete, parameter modification is possible, and DB restart is required after modification
Time Zone Required Time zone where Database will be used Table. CacheStore(DBaaS) Database Configuration Items - Enter or select the required information in the Additional Information Entry area.
Classification RequiredDetailed Description Tags Optional Add tags - Can add up to 50 per resource
- Click the Add Tag button then enter or select Key, Value values
Table. CacheStore(DBaaS) Additional Information Entry Items
- Select the required information in the Image and Version Selection area.
- In the Summary panel, review the detailed information and estimated charges, and click the Create button.
- Once creation is complete, check the created resource on the Resource List page.
Checking CacheStore(DBaaS) Detailed Information
CacheStore(DBaaS) service allows you to check and modify the entire resource list and detailed information. The CacheStore(DBaaS) Details page consists of Detailed Information, Tags, Operation History tabs.
To check the detailed information of CacheStore(DBaaS) service, follow these steps:
- Click the All Services > Database > CacheStore(DBaaS) menu. It moves to the Service Home page of CacheStore(DBaaS).
- On the Service Home page, click the CacheStore(DBaaS) menu. It moves to the CacheStore(DBaaS) List page.
- On the CacheStore(DBaaS) List page, click the resource to check detailed information. It moves to the CacheStore(DBaaS) Details page.
- At the top of the CacheStore(DBaaS) Details page, status information and additional function information are displayed.
Classification Detailed Description Cluster Status Cluster status where Redis is installed - Creating: Cluster is being created
- Editing: Cluster is changing to Operation execution state
- Error: State where error occurred while cluster is performing operation
- If it occurs continuously, contact administrator
- Failed: State where cluster failed during creation process
- Restarting: State where cluster is being restarted
- Running: State where cluster is operating normally
- Starting: State where cluster is starting
- Stopped: State where cluster is stopped
- Stopping: State where cluster is in stop state
- Synchronizing: State where cluster is synchronizing
- Terminating: State where cluster is being deleted
- Unknown: State where cluster status is unknown
- If it occurs continuously, contact administrator
Cluster Control Buttons to change cluster status - Start: Start stopped cluster
- Stop: Stop running cluster
- Restart: Restart running cluster
- Switch-Over: Switch Replica cluster to Master
More Additional Functions Cluster-related management buttons - Sync Service Status: Check real-time Redis/Valkey service status
- Backup History: If backup is set, check backup normal execution status and history
- Database Recovery: Recover DB based on specific point in time
- Parameter Management: Check and modify Redis/Valkey configuration parameters
- Rename-Command: Change name of Redis/Valkey Command
Service Termination Button to terminate service Table. CacheStore(DBaaS) Status Information and Additional Functions
- At the top of the CacheStore(DBaaS) Details page, status information and additional function information are displayed.
Detailed Information
On the CacheStore(DBaaS) List page, you can check the detailed information of the selected resource and modify information if necessary.
| Classification | Detailed Description |
|---|---|
| Server Information | Server information configured in the cluster
|
| Service | Service name |
| Resource Type | Resource type |
| SRN | Unique resource ID in Samsung Cloud Platform
|
| Resource Name | Resource name
|
| Resource ID | Unique resource ID in the service |
| Creator | User who created the service |
| Creation Date | Date and time when the service was created |
| Modifier | User who modified the service information |
| Modification Date | Date and time when the service information was modified |
| Image Version | Installed Redis/Valkey image and version information
|
| Cluster Name | Cluster name where Redis/Valkey servers are configured |
| Planned Compute | Resource status with Planned Compute set
|
| Maintenance Period | DB patch work period setting status
|
| Backup | Backup setting status
|
| Redis/Valkey Port Number | Port number required for Redis/Valkey connection |
| Time Zone | Redis/Valkey time zone |
| Sentinel Port Number | Port number for Master and Replica communication |
| VIP | Virtual IP information
|
| Network | Network information where CacheStore(DBaaS) is installed (VPC, Subnet) |
| IP Access Control | Service access policy setting
|
| Master & Replica | Master, Replica server type, Basic OS, Additional Disk information
|
| Sentinel | Sentinel server type, Basic OS information
|
Tags
On the CacheStore(DBaaS) List page, you can check the tag information of the selected resource and add, change, or delete it.
| Classification | Detailed Description |
|---|---|
| Tag List | Tag list
|
Operation History
You can check the operation history of the selected resource on the CacheStore(DBaaS) List page.
| Classification | Detailed Description |
|---|---|
| Operation History List | Resource change history
|
Managing CacheStore(DBaaS) Resources
If you need to change existing configuration options of created CacheStore(DBaaS) resources or perform recovery, command changes, etc., you can perform operations on the CacheStore(DBaaS) Details page.
Controlling Operation
If changes occur in running CacheStore(DBaaS) resources, you can start, stop, or restart. Also, if configured with HA, you can switch Master-Replica servers through Switch-over.
To control CacheStore(DBaaS) operation, follow these steps:
- Click the All Services > Database > CacheStore(DBaaS) menu. It moves to the Service Home page of CacheStore(DBaaS).
- On the Service Home page, click the CacheStore(DBaaS) menu. It moves to the CacheStore(DBaaS) List page.
- On the CacheStore(DBaaS) List page, click the resource to control operation. It moves to the CacheStore(DBaaS) Details page.
- Check CacheStore status and complete changes through the control buttons below.
- Start: CacheStore service installed server and CacheStore service will run (Running).
- Stop: CacheStore service installed server and CacheStore service can stop (Stopped).
- Restart: Can restart only CacheStore service.
- Switch Over: Can switch Master server and Replica server.
Syncing Service Status
You can sync the real-time service status of CacheStore(DBaaS).
To check CacheStore(DBaaS) service status, follow these steps:
- Click the All Services > Database > CacheStore(DBaaS) menu. It moves to the Service Home page of CacheStore(DBaaS).
- On the Service Home page, click the CacheStore(DBaaS) menu. It moves to the CacheStore(DBaaS) List page.
- On the CacheStore(DBaaS) List page, click the resource to check service status. It moves to the CacheStore(DBaaS) Details page.
- Click the Sync Service Status button. While retrieving, the cluster changes to Synchronizing status.
- When retrieval is complete, the status is updated in the server information item, and the cluster changes to Running status.
Changing Server Type
You can change the configured server type.
To change the server type, follow these steps:
- Click the All Services > Database > CacheStore(DBaaS) menu. It moves to the Service Home page of CacheStore(DBaaS).
- On the Service Home page, click the CacheStore(DBaaS) menu. It moves to the CacheStore(DBaaS) List page.
- On the CacheStore(DBaaS) List page, click the resource to change server type. It moves to the CacheStore(DBaaS) Details page.
- Click the Edit icon of the server type you want to change at the bottom of detailed information. The Edit Server Type popup window opens.
- In the Edit Server Type popup window, select the server type and click the OK button.
Terminating CacheStore(DBaaS)
You can reduce operating costs by terminating unused CacheStore(DBaaS). However, if you terminate the service, the running service may stop immediately, so you should proceed with termination after fully considering the impact caused by service interruption.
To terminate CacheStore(DBaaS), follow these steps:
- Click the All Services > Database > CacheStore(DBaaS) menu. It moves to the Service Home page of CacheStore(DBaaS).
- On the Service Home page, click the CacheStore(DBaaS) menu. It moves to the CacheStore(DBaaS) List page.
- On the CacheStore(DBaaS) List page, select the resource to terminate and click the Terminate Service button.
- When termination is complete, check if the resource is terminated on the CacheStore(DBaaS) List page.
6.2.1 - Managing CacheStore Service
Users can manage CacheStore(DBaaS) through the Samsung Cloud Platform Console.
Managing Parameters
Provides a feature to easily view and modify database configuration parameters.
Viewing Parameters
To view configuration parameters, follow these steps:
- Click the All Services > Database > CacheStore(DBaaS) menu. It moves to the Service Home page of CacheStore(DBaaS).
- On the Service Home page, click the CacheStore(DBaaS) menu. It moves to the CacheStore(DBaaS) List page.
- On the CacheStore(DBaaS) List page, click the resource to view and modify parameters. It moves to the CacheStore(DBaaS) Details page.
- Click the More button and click the Parameter Management button. The Parameter Management popup window opens.
- Click the View button in the Parameter Management popup window. The View Notification popup window opens.
- 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:
- Click the All Services > Database > CacheStore(DBaaS) menu. It moves to the Service Home page of CacheStore(DBaaS).
- On the Service Home page, click the CacheStore(DBaaS) menu. It moves to the CacheStore(DBaaS) List page.
- On the CacheStore(DBaaS) List page, click the resource to view and modify parameters. It moves to the CacheStore(DBaaS) Details page.
- Click the More button and click the Parameter Management button. The Parameter Management popup window opens.
- Click the View button in the Parameter Management popup window. The View Notification popup window opens.
- When the View Notification popup window opens, click the OK button. It takes some time to view.
- If modification is needed, click the Edit button and enter modification contents in the user-defined value area of the parameter to be modified.
- When input is complete, click the Complete button.
Changing Command Name
Provides Redis OSS/Valkey Command viewing and Command name modification features. To view and modify Command names, follow these steps:
- Click the All Services > Database > CacheStore(DBaaS) menu. It moves to the Service Home page of CacheStore(DBaaS).
- On the Service Home page, click the CacheStore(DBaaS) menu. It moves to the CacheStore(DBaaS) List page.
- On the CacheStore(DBaaS) List page, click the resource to modify Command name. It moves to the CacheStore(DBaaS) Details page.
- Click the More button and click the Rename-Command button. It moves to the Rename-Command page.
- Click the View button on the Rename-Command page. The View Notification popup window opens.
- When the View Notification popup window opens, click the OK button. It takes some time to view.
- If modification is needed, click the Edit button and enter modification contents in the user-defined value area of the Command to be modified.
- When input is complete, click the Complete button.
Upgrading Minor Version
Provides version upgrade feature for some function improvements and security patches. Only minor version upgrade function within the same Major version is supported.
To upgrade Minor Version, follow these steps:
- Click the All Services > Database > CacheStore(DBaaS) menu. It moves to the Service Home page of CacheStore(DBaaS).
- On the Service Home page, click the CacheStore(DBaaS) menu. It moves to the CacheStore(DBaaS) List page.
- On the CacheStore(DBaaS) List page, click the resource to upgrade version. It moves to the CacheStore(DBaaS) Details page.
- Click the Edit icon of the Image Version item. The Version Upgrade popup window opens.
- Select the upgrade version in the Version Upgrade popup window and click the OK button.
- Click the OK button in the Version Upgrade Notification popup window.
6.2.2 - CacheStore Backup and Recovery
The user can set up backups of CacheStore(DBaaS) through the Samsung Cloud Platform Console and recover with the backed-up files.
CacheStore(DBaaS) backup
CacheStore(DBaaS) provides a data backup function based on its own backup command. It also provides an optimized backup environment for data protection and management through backup history check and backup file deletion functions.
Setting up backup
The method for setting up a backup for CacheStore(DBaaS) is described in CacheStore(DBaaS) creation guide, please refer to it.
To modify the backup settings of the generated resource, follow these steps.
If backup is set, backup will be performed at the specified time after the set time, and additional fees will be incurred depending on the backup capacity.
- If the backup setting is changed to unset, the backup operation will be stopped immediately, and the stored backup data will be deleted and can no longer be used.
- All Services > Database > CacheStore(DBaaS) menu, click. It moves to the Service Home page of CacheStore(DBaaS).
- On the Service Home page, click the CacheStore(DBaaS) menu. It moves to the CacheStore(DBaaS) list page.
- CacheStore(DBaaS) list page, click the resource to set the backup. It moves to the CacheStore(DBaaS) detail page.
- Click the Edit icon of the backup item. The Backup Settings popup window opens.
- If you set up a backup, click Use in the Backup Settings popup window, select the retention period, backup start time, and Archive backup cycle, and then click the OK button.
- If you want to stop the backup setting, uncheck Use in the Backup Setting popup window and click the OK button.
Check Backup History
To check the backup history, follow these steps.
- Click All Services > Database > CacheStore(DBaaS) menu. It moves to the Service Home page of CacheStore(DBaaS).
- On the Service Home page, click the CacheStore(DBaaS) menu. It moves to the CacheStore(DBaaS) list page.
- CacheStore(DBaaS) list page, click the resource to check the backup history. It moves to the CacheStore(DBaaS) details page.
- Click the Backup History button. The Backup History popup window opens.
- Backup History popup window where you can check the backup status, version, backup start time, backup completion time, and capacity.
Deleting Backup Files
To delete the backup history, follow these steps.
- Click All Services > Database > CacheStore(DBaaS) menu. It moves to the Service Home page of CacheStore(DBaaS).
- On the Service Home page, click the CacheStore(DBaaS) menu. It moves to the CacheStore(DBaaS) list page.
- CacheStore(DBaaS) list page, click the resource to check the backup history. It moves to the CacheStore(DBaaS) detail page.
- Click the Backup History button. The Backup History popup window opens.
- Backup History popup window, check the file you want to delete and click the Delete button.
CachStore(DBaaS) recovery
In the event of a failure or data loss, where recovery from a backup file is necessary, the recovery function allows recovery based on a specific point in time.
To recover CacheStore(DBaaS), follow these steps.
- Click All Services > Database > CacheStore(DBaaS) menu. It moves to the Service Home page of CacheStore(DBaaS).
- On the Service Home page, click the CacheStore(DBaaS) menu. It moves to the CacheStore(DBaaS) list page.
- CacheStore(DBaaS) list page, click the resource you want to restore. It moves to the CacheStore(DBaaS) details page.
- Click the Database Recovery button. It moves to the Database Recovery page.
- After entering information in the Database recovery configuration area, click the Complete button.
| Classification | Necessity | Detailed Description |
|---|---|---|
| Recovery Type | Required | User sets the point in time to recover
|
| Server name prefix | Required | Server name of the recovery DB
|
| Cluster Name | Required | Cluster name of the recovery DB
|
| Service Type > Server Type | Required | Server type where the recovery DB will be installed
|
| Service Type > Planned Compute | Selection | Current status of resources with Planned Compute set
|
| Service Type > Block Storage | Required | Block Storage setting used by recovery DB
|
| Redis/Valkey Port number | required | Redis/Valkey Port number set in the original DB |
| IP Access Control | Select | Set service access policy
|
| Maintenance period | Select | CacheStore(DBaaS) DB maintenance period
|
| Tag | Selection | Add Tag
|
6.2.3 - CacheStore(DBaaS) server connection
Scenario Overview
CacheStore(DBaaS) connection scenario is a scenario where Bastion host (Virtual Server) and Database service are created, and the DB service is accessed through the Bastion host. To connect to CacheStore (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, allowing access through a DB connection client.
Scenario Components
You can configure the scenario using the following services.
| Service Group | Service | Detailed Description | |
|---|---|---|---|
| Networking | VPC | A service that provides an independent virtual network in a cloud environment | |
| Networking | VPC > Subnet | A service that allows users to subdivide the network according to purpose,size in VPC | |
| Networking | VPC > Public IP | A service that reserves public IP and assigns and returns it to Compute resources | |
| Networking | VPC > Internet Gateway | A service that connects VPC resources to the internet | |
| Networking | Security Group | A virtual firewall that controls the server’s traffic | |
| Database | CacheStore(DBaaS) | A service that easily creates and manages CacheStore in a web environment | |
| Compute | Virtual Server | Cloud computing optimized virtual server | |
| Compute | Virtual Server > Keypair | Encryption file used to connect to the Virtual Server |
- The default policy of Security Group is Deny All, so only allowed IPs should be registered.
- In/Outbound’s All Open(Any IP, Any Port) policy can expose cloud resources to external threats.
- By specifying the necessary IP and Port to set the policy, you can enhance security.
Scenario composition method
To configure the scenario, create the necessary services through the following procedure.
1. Configuring the Network
This describes the process of configuring the network environment for connecting to the Bastion Host and Database services.
1-1. Creating a VPC
- Click All services > Networking > VPC menu. It moves to the Service Home page of VPC.
- On the Service Home page, click the Create VPC button. It moves to the Create VPC page.
- VPC Creation page, please enter the information required for service creation.
- IP range should be entered as
192.168.x.0/16.
- IP range should be entered as
- In the Summary panel, review the detailed information and estimated charges, and then click the Complete button.
- Once creation is complete, check the created resource on the VPC list page.
1-2. Creating a Subnet
- Click All services > Networking > VPC menu. It moves to the Service Home page of VPC.
- Service Home page, click the Subnet menu. It moves to the Subnet list page.
- Click the Subnet Creation button. It moves to the Subnet Creation page.
- Subnet Creation page where you enter the information needed to create a service.
- Subnet type should be selected as General.
- Please select a pre-created VPC.
- IP range should be entered as
192.168.x.0/24.
- In the Summary panel, review the detailed information and estimated charges, and click the Complete button.
- Once creation is complete, check the created resource on the Subnet list page.
1-3. Creating an Internet Gateway
- Click All services > Networking > VPC menu. It moves to the Service Home page of VPC.
- Service Home page, click the Internet Gateway menu. Move to the Internet Gateway list page.
- Click the Create Internet Gateway button. It moves to the Create Internet Gateway page.
- Internet Gateway creation page, please enter the required information necessary for service creation.
- Please select a pre-created VPC.
- Select Use in the Firewall usage item.
- In the Summary panel, review the detailed information and the estimated charge amount, and then click the Complete button.
- Once the creation is complete, check the created resource on the Internet Gateway list page.
1-4. Creating a Public IP
- Click All services > Networking > VPC menu. It moves to the Service Home page of VPC.
- Service Home page, click the Public IP menu. It moves to the Public IP list page.
- Click the Public IP Reservation button. It moves to the Public IP Reservation page.
- Public IP Reservation page, please enter the required information necessary for service reservation.
- In the Summary panel, review the detailed information and estimated charges, and then click the Complete button.
- Once creation is complete, check the created resource on the Public IP list page.
1-5. Creating a Security Group
- Click All Services > Networking > Security Group menu. It moves to the Service Home page of Security Group.
- Service Home page, click the Create Security Group button. Move to the Create Security Group page.
- Security Group Creation page, please enter the required information necessary for service creation.
- 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
- Click All Services > Compute > Virtual Server menu. It moves to the Service Home page of Virtual Server.
- Service Home page, click the Keypair menu. It moves to the Keypair list page.
- Create Keypair button will be clicked. It moves to the Create Keypair page.
- Keypair creation page where you enter the required information necessary for service creation.
- Check the creation information and click the Complete button.
- The key download is only available for the first time, and re-issuance is not provided.
- Please make sure to store the downloaded key in a safe place.
2-2. Creating a Bastion Host
- Click All Services > Compute > Virtual Server menu. It moves to the Service Home page of Virtual Server.
- Service Home page, click the Virtual Server creation button. Move to the Virtual Server creation page.
- Virtual Server Creation page, please enter the required information necessary for service creation.
- Image is Windows, please select.
- Please select the pre-created VPC and Subnet.
- Click Use NAT and select the Public IP reserved in 1-4. Creating a Public IP.
- 2-1. Creating Server Keypair Connect the Keypair created from 2-1. Creating Server Keypair.
- In the Summary panel, review the detailed information and estimated billing amount, and click the Complete button.
- Once the creation is complete, check the created resource on the Virtual Server list page.
2-3. Check Bastion host connection ID and PW
- Click All Services > Compute > Virtual Server menu. It moves to the Service Home page of Virtual Server.
- Service Home page, click the Virtual Server menu. Move to the Virtual Server list page.
- Virtual Server list page, click on the resource created in 2-2. Creating a Bastion Host. It moves to the detailed information page of the corresponding resource.
- Click the RDP password inquiry button in the Keypair item on the detailed information page. The RDP password inquiry popup window opens.
- RDP password inquiry popup window, attach the keypair file downloaded from 2-1. Creating Server Keypair.
- After attaching, click the Password confirmation button. The ID and password required to access the resource will be displayed.
- The ID and Password will be used as information to connect to the Bastion host later in 5-1. Connecting to Bastion host.
3. Creating a Database
It describes the process of creating a Database service.
3-1. Creating CacheStore (DBaaS) Service
- Click the All services > Database > CacheStore(DBaaS) menu. It moves to the Service Home page of CacheStore(DBaaS).
- On the Service Home page, click the Create CacheStore(DBaaS) button. It moves to the Create CacheStore(DBaaS) page.
- Create CacheStore(DBaaS) page where you enter the required information needed for service creation.
- Select and connect to the pre-created VPC and Subnet.
- Enter database-related creation information on the essential information input screen.
- Add the Bastion host IP to the IP access control item.
- Database Port is 2866 by default, but users can also specify it.
- In the Summary panel, review the detailed information and estimated charges, and then click the Complete button.
- Once creation is complete, check the created resource on the CacheStore(DBaaS) list page.
4. Setting Rules
This describes the process of setting rules for users to access the Bastion host and for the Bastion host to access the Database.
4-1. Security Group Add Security Rules
- Click All Services > Networking > Security Group menu. It moves to the Service Home page of Security Group.
- Service Home page, click the Security Group menu. Move to the Security Group list page.
- Select the Security Group resource created in 1-5. Creating a Security Group. It moves to the detailed information page of the corresponding resource.
- Click the Rules tab on the detailed information page. It moves to the Rules tab.
- Rule tab, click the Add Rule button. It moves to the Add Rule popup window.
- In the Add Rule popup window, enter the following rules and click the OK button
| Direction | Remote | Target Address | Protocol | Port | Description |
|---|---|---|---|---|---|
| Inbound | CIDR | User PC IP | TCP | 3389 (RDP) | Bastion connection PC → Bastion host |
| Outbound | CIDR | DB IP | TCP | Database Port (direct input) | Bastion host → Database |
4-2. Adding IGW Firewall Rules
- Click All services > Networking > Firewall menu. It moves to the Service Home page of Firewall.
- Service Home page, click the Firewall menu. It moves to the Firewall list page.
- Firewall list page, select the Internet Gateway resource name created in 1-3. Creating an Internet Gateway. It moves to the detailed information page of the corresponding resource.
- Click the Rules tab on the detailed information page. It moves to the Rules tab.
- Rule tab, click the Add Rule button. Move to the Add Rule popup window.
- In the Add Rule popup window, enter the following rules and click the OK button.
| Departure Address | Destination Address | Protocol | Port | Action | Direction | Description |
|---|---|---|---|---|---|---|
| Bastion connection PC IP | Bastion host IP | TCP | 3389(RDP) | Allow | Inbound | User PC → Bastion host |
5. Connecting to the Database
This explains the process of a user accessing the Database through a DB connection client program.
This guide provides instructions on how to connect using Another Redis Desktop Manager. There are various database client programs and CLI utilities, so you can also install and use the tools that are suitable for the user.
5-1. Connecting to the Bastion host
- Run Remote Desktop Connection in the Windows environment of the PC you want to connect to the Bastion host, enter the NAT IP of the Bastion Host, and click the Connect button.
- When the remote desktop connection is successful, the User Credential Input Window opens. Enter the ID and Password confirmed in 2-3. Check Bastion host connection ID and PW and click the Confirm button.
5-2. Install DB connection client program (Another Redis Desktop Manager) on the Bastion host
- Download another Redis Desktop Manager program.
- Another Redis Desktop Manager program download path: https://github.com/qishibo/AnotherRedisDesktopManager/releases
- Connect the hard drive of the user PC to upload the file to the Bastion host.
- Click the Details button for local devices and resources items in the Local Resources tab of the remote desktop connection.
- Select the local disk where the file was downloaded to the drive and click the Confirm button.
- Download the file, copy it to the Bastion Host, and upload it, then click on the pgAdmin installation file to install it.
5-3. Using DB connection client program(Another Redis Desktop Manager) to connect to Database
- Run Another Redis Desktop Manager and click New Connection. The New Connection popup window will appear.
- New Connection popup window, enter the Database server information created in 3-1. Creating CacheStore(DBaaS) Service and click the OK button.
Required Input Element Items Input Value Host Database Server IP Port Database Port Password Database password Connection Name Custom (ex. Service Name) DB Connection Client Program Input Items - After connecting, you can perform basic information checks on Redis, data management, and CRUD operations on keys.
6.3 - API Reference
6.4 - CLI Reference
6.5 - Release Note
CacheStore(DBaaS)
- Provides stable service continuity through the minor version upgrade feature.
- CacheStore(DBaaS) feature added
- New image added for CacheStore(DBaaS)
- Support for open source Valkey image developed by forking Redis OSS
- 2nd Generation Server Type added
- Added 2nd generation (db2) server type based on Intel 4th generation (Sapphire Rapids) Processor. For more information, see CacheStore(DBaaS) Server Type
- Backup notification feature provided
- Provides notification feature for backup success and failure. For more information, see Creating Notification Policy
- Added HDD, HDD_KMS types to Block Storage type
- New image added for CacheStore(DBaaS)
- Samsung Cloud Platform common feature changes
- Reflected common CX changes such as Account, IAM and Service Home, Tags, etc.
- Changed the service name to CacheStore(DBaaS).
- Added volume encrypted storage selection option to Block Storage type.
- Added Role Switch (Active ↔ Standby) function for Active DB and Standby DB configured in redundancy.
- Integrated with Cloud Monitoring Service to enable DB instance performance and log monitoring.
- Planned Compute policy setting is available according to the server type selected by the customer.
- Released Redis(DBaaS) service that allows easy creation and management of Redis OSS in a web environment.








