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

Return to the regular view of this page.

How-to guides

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

Cloud Monitoring 서비스 종료 안내

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

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

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

  1. Resource-Specific Monitoring Service Application Guide

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

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

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

Create PostgreSQL(DBaaS)

You can create and use PostgreSQL(DBaaS) services from the Samsung Cloud Platform Console.

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

To create PostgreSQL(DBaaS), follow the steps below.

  1. Click the All Services > Database > PostgreSQL(DBaaS) menu. 1. Navigate to the Service Home page of PostgreSQL (DBaaS).

  2. On the Service Home page, click the Create PostgreSQL (DBaaS) button. 2. Go to the PostgreSQL(DBaaS) Creation page.

  3. On the PostgreSQL(DBaaS) Creation page, enter the information required to create the service and select detailed options.

    • In the Image and version selection area, select the required information.
      Category
      Required status
      Detailed description
      Image versionRequiredProvide a list of PostgreSQL (DBaaS) versions
      Table. PostgreSQL (DBaaS) Image and version selection items
    • Enter or select the required information in the Service Information Input area.
      Category
      Required status
      Detailed description
      Server name PrefixRequiredThe server name where the DB will be installed
      • must start with a lowercase English letter, and using lowercase letters, numbers, and special characters (-) be entered with a length of 3 to 13 characters
      • Based on the server name, a postfix such as 001, 002 is appended to generate the actual server name
      Cluster nameRequiredCluster name of DB servers
      • Enter using English letters, 3 ~ 20 characters
      • A cluster is a unit that groups multiple servers
      Service > Server TypeRequiredServer type for DB installation
      • Standard: Standard specification commonly used
      • High Capacity: Large-capacity server with 24 vCore or more
      Service Type > Planned ComputeSelectionStatus of resources with Planned Compute configured
      • In Use: Number of resources with Planned Compute configured that are currently in use
      • Configured: Number of resources with Planned Compute configured
      • Coverage Preview: Amount applied by Planned Compute per resource
      Service Type > Block StorageRequiredConfigure Block Storage used by the DB according to its purpose
      • Basic OS: Area where the DB engine is installed
      • DATA: Storage area for table data, archive files, etc.
        • Select a storage type and then enter the capacity (refer to Block Storage 생성하기 for details on each Block Storage type)
          • SSD: High‑performance general volume
          • HDD: General volume
          • SSD_KMS, HDD_KMS: Additional encrypted volume using Samsung Cloud Platform KMS (Key Management System) encryption keys
        • The configured storage type is applied identically to additional storage
        • Enter the capacity as a multiple of 8 within the range 16 to 5,120
        • Since executing SQL or monthly batch jobs can cause service interruptions due to large sorts, a separate TEMP storage must be allocated and used
        • Add: DATA, Archive, TEMP, Backup data storage areas
          • After selecting Use, enter the storage purpose and capacity
          • The storage type is applied the same as the type set for DATA, and the capacity can be entered as a multiple of 8 within the range 16 to 5,120
          • To add storage, click the Add button; to delete, click the x button. Up to 9 can be added
          • Before transmitting backup data, temporarily store the backup data in the BACKUP storage
            • If the data to be backed up exceeds 100 GB and undergoes frequent changes, it is recommended to add a separate BACKUP storage for reliable backup; set the backup capacity to about 60 % of the DATA capacity.
            • If a BACKUP storage is not added, the /tmp area is used, and backup fails if the capacity is insufficient
          • For each service, Archive, TEMP, and BACKUP storages are allocated only one Block Storage each
      Redundant configurationSelectionRedundancy configuration status
      • When redundancy is used, the DB instance is configured as an Active DB and a Standby DB.
      Network > Common SettingsRequiredNetwork settings for servers created by the service
      • Select when you want to apply the same settings to all installed servers
      • Select a pre‑created VPC, Subnet, IP, and Public NAT
        • Each server’s IP is generated automatically
        • The Public NAT feature is available only when the VPC is connected to an Internet Gateway; when Use is checked, you can select a reserved IP from the VPC product’s Public IP pool. For details, see Public IP 생성하기
      Network > Server-specific SettingsRequiredNetwork settings where servers generated by the service are installed
      • Select when you want to apply different settings for each installed server
      • Select a pre‑created VPC, Subnet, IP, and Public NAT
        • Enter the IP for each server
        • The Public NAT feature is available only when the VPC is connected to an Internet Gateway. Use when checked, you can select from reserved IPs in the VPC product’s Public IP. For more details, see Public IP 생성하기

      | Selection | Service Access Policy Configuration

      • Since the access policy is set for the IP entered on the page, you do not need to configure a separate Security Group policy
      • Enter the IP in IP format (example: 192.168.10.1) or CIDR format (example: 192.168.10.0/24, 192.168.10.1/32) and click the Add button
      • To delete an entered IP, click the x button next to the IP
      | | Maintenance period | Selection | DB maintenance window
      • If you select Use, you can set the day of week, start time, and duration
      • The maintenance window is a feature that allows the user to set the time slot for performing patch operations, and any patch work within that period must be carried out directly by the user.
      • We ask you to set a maintenance window for the stable operation of the system, and we are not responsible for any issues arising from not setting it or from failure to perform tasks within the window.
      |

      Table. PostgreSQL (DBaaS) service information input items
    • Enter required database configuration information in this area, enter or select the necessary information.
      Category
      required status
      Detailed description
      Database nameRequiredServer name applied during DB installation
      • must start with an English letter and be entered using English letters and numbers, 3 ~ 20 characters
      Database usernameRequiredDB user name
      • An account with the same name is also created on the OS
      • Enter using lowercase English letters, 2 to 20 characters
      • Restricted database user names can be viewed in the Console
      Database passwordRequiredPassword to use when accessing the DB
      • Enter 8 to 30 characters, including letters, numbers, and special characters ( excluded)
      Check database passwordRequiredRe-enter the same password to use for DB access
      Database Port numberRequiredPort number required for DB connection
      • Enter the DB port within the range 1200 ~ 65535
      Backup > UseSelectionBackup usage
      • Select Use to set the backup file retention period, backup start time, and Archive backup interval
      Backup > Retention PeriodSelectionBackup retention period
      • Select the backup retention period, and set the file retention period from 7 days to 35 days
      • Backup files incur additional charges based on their size
      Backup > Backup Start PeriodSelectionBackup start time
      • Select backup start time
      • The minutes (minutes) at which the backup runs are set randomly, and the backup end time cannot be set
      Backup > Archive backup scheduleSelectionArchive backup frequency
      • Select the archive backup frequency
      • The archive backup frequency is recommended to be 1 hour. Selecting 5 minutes, 10 minutes, or 30 minutes may affect DB performance.
      Audit Log configurationSelectionWhether to store Audit Log
      • Select Use to configure the Audit Log feature
        • DDL, DML, and user connection information records are stored
          • The user can specify the type of SQL statements to audit via the log_statement parameter, and can modify it through the Parameter screen
        • Enabling Audit may degrade database performance
      ServiceWatch log collectionSelectionServiceWatch log collection status
      • Select Use to configure the ServiceWatch log collection feature
      • Provided free up to 5 GB for all services within the Account, and charges apply based on storage size for usage exceeding 5 GB
      • When collected, log groups and log streams are created automatically, and they cannot be deleted until the resources are removed
      • To prevent exceeding 5 GB, direct deletion of log data or shortening the retention period is recommended
      ParameterRequiredParameters to be used in the DB
      • Click the Query button to view the parameter’s detailed information
      • Parameters can be modified after the DB creation is complete, and the DB must be restarted after modification
      Database EncodingRequiredCharacter encoding method to be used for the DB
      • Character set used when storing text data
      • The DB is created with the selected encoding as the default setting
      DB LocaleRequiredLocale
      • settings related to string handling, number/currency/date/time display formats, etc.
      • The DB is created with default settings using the selected Locale
      Time zoneRequiredStandard time zone used by the database
      Table. PostgreSQL(DBaaS) Database configuration items
    • In the Additional Information Input area, enter or select the required information.
      Category
      Required status
      Detailed description
      tagSelectionAdd Tag
      • Up to 50 per resource can be added
      • After clicking the Add Tag button, enter or select Key, Value values
      Table. PostgreSQL(DBaaS) additional information input fields
  4. Summary Verify the detailed information and estimated charges generated in the panel, then click the Create button.

    • Once creation is complete, verify the created resource on the Resource List page.

PostgreSQL(DBaaS) View detailed information

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

Follow the steps below to view detailed information about the PostgreSQL (DBaaS) service.

  1. Click the All Services > Database > PostgreSQL(DBaaS) menu. 1. Navigate to the Service Home page of PostgreSQL (DBaaS).
  2. On the Service Home page, click the PostgreSQL(DBaaS) menu. 2. PostgreSQL(DBaaS) List Navigate to the page.
  3. PostgreSQL(DBaaS) List Click the resource to view detailed information on the page. 3. PostgreSQL(DBaaS) Details Go to the page.
    • PostgreSQL(DBaaS) Details At the top of the page, status information and additional feature information are displayed.
      CategoryDetailed description
      Cluster statusCluster status with DB installed
      • Creating: Cluster is being created
      • Editing: Cluster is transitioning to an operational state
      • Error: Cluster encountered an error during operation
        • If it occurs continuously, contact the administrator
      • Failed: Cluster failed during creation
      • Restarting: Restarting the cluster
      • Running: Cluster is operating normally
      • Starting: Starting the cluster
      • Stopped: Cluster is stopped
      • Stopping: Cluster is being stopped
      • Synchronizing: Synchronizing the cluster
      • Terminating: Deleting the cluster
      • Unknown: Cluster status is unknown
        • If it occurs continuously, contact the administrator
      • Upgrading: Cluster is transitioning to an upgrading state
      Cluster controlButtons to change the cluster state
      • Start: Start a stopped cluster
      • Stop: Stop a running cluster
      • Restart: Restart a running cluster
      • Switch-Over: Switch a standby cluster to Active
      View more featuresCluster-related management buttons
      • Service Status Synchronization: Retrieve real-time DB service status
      • Backup History: Check backup execution status and view history when backups are configured
      • Database Recovery: Recover the database to a specific point in time
      • Parameter Management: View and modify DB configuration parameters
      • Replica Configuration: Configure a read‑only Replica cluster
      • Replica Configuration (Other Region): Configure a disaster‑recovery Replica in another region; the button is disabled if the account has no region available for configuration
      • DB User Management: View and manage DB account (user) information registered in the database
      • DB Access Control Management: Register and revoke allowed IP addresses based on DB accounts registered in the database
      • Archive Settings Management: Configure archive file retention period and archive mode
      • DB Log Export: Export stored logs to the user’s Object Storage via Audit settings
      • Migration Configuration: Provides migration functionality using a replication method
      • Block Storage Usage Management: Provides usage query functionality for each Block Storage type
      • OS (Kernel) Upgrade: Upgrade the OS Kernel version
      Service cancellationCancel Service button
      Table. PostgreSQL (DBaaS) status information and additional features

Detailed Information

PostgreSQL(DBaaS) List page lets you view detailed information of the selected resource and, if necessary, edit the information.

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

Replica information

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

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

tag

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

CategoryDetailed description
Tag listTag list
  • You can view the Key and Value information of the tag
  • Up to 50 tags can be added per resource
  • When entering a tag, you can search and select from the list of previously created Keys and Values
Table. PostgreSQL(DBaaS) tag tab item

Job History

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

CategoryDetailed description
Task History ListResource Change History
  • Operation Time, Resource ID, Resource Name, Operation Details, Event Topic, Operation Result, Operator Information Check
Table. Work History tab detailed information items

PostgreSQL(DBaaS) Managing Resources

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

Operation Control

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

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

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

Synchronize service status

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

To check the service status of PostgreSQL (DBaaS), follow the steps below.

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

Change Server Type

You can change the configured server type.

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

To change the server type, follow these steps.

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

Add storage

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

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

To add storage, follow these steps.

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

Expanding storage

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

To increase storage capacity, follow the steps below.

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

PostgreSQL(DBaaS) Terminate

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

Caution
  • Replica is not deleted together. * If you also delete the Replica, handle it separately in the resource list.
  • If you terminate the DB, all stored data and any configured backup data will be deleted.

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

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

1 - Managing DB Services

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

Managing Parameters

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

Query Parameter

To view configuration parameters, follow these steps.

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

Modify Parameter

To modify the configuration parameters, follow the steps below.

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

Manage DB Users

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

Query DB Users

To look up DB users, follow these steps.

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

Changing DB User Status

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

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

Managing DB Access Control

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

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

View DB Access Control

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

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

Add DB access control

Follow these steps to add IP access control.

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

Delete DB access control

To delete IP access control, follow these steps.

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

Manage Archive

Provides the ability to configure Archive mode and set the retention period for Archive logs, allowing users to flexibly configure Archive log management policies to suit their operational environment. Additionally, it provides a feature to manually delete archive logs, allowing you to clean up unnecessary log data and manage system resources effectively.

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

Configure Archive mode

To set the Archive mode, follow these steps.

  1. All Services > Database > PostgreSQL(DBaaS) Click the menu. 1. Navigate to the Service Home page of PostgreSQL (DBaaS).

  2. On the Service Home page, click the PostgreSQL(DBaaS) menu. 2. PostgreSQL(DBaaS) List Navigate to the page.

  3. PostgreSQL (DBaaS) List page, click the resource you want to set Archive mode for. 3. PostgreSQL(DBaaS) Details Navigate to the page.

  4. Archive Settings Management Navigate to the page.

  5. On the Archive Settings Management page, click the Search button. 5. Retrieving may take a short amount of time.

  6. Click the Edit button and select usage status and retention period.

  7. When the edit is complete, click the Done button.

Delete archive file

To delete the Archive file, follow these steps.

  1. Click the All Services > Database > PostgreSQL(DBaaS) menu. 1. Navigate to the Service Home page of PostgreSQL (DBaaS).
  2. On the Service Home page, click the PostgreSQL(DBaaS) menu. 2. PostgreSQL(DBaaS) List Navigate to the page.
  3. On the PostgreSQL(DBaaS) List page, click the resource for which you want to set Archive mode. 3. Go to the PostgreSQL(DBaaS) Details page.
  4. Click the More button, then click the Archive Settings Management button. 4. Go to the Archive Settings Management page.
  5. On the Archive Settings Management page, if you want to delete all Archive files, click the Delete All Archives button; if you want to delete only backed-up Archive files, click the Delete Backed-up Archives button.

Modify Audit Settings

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

To change the Audit log storage settings of PostgreSQL (DBaaS), follow the steps below.

  1. All Services > Database > PostgreSQL(DBaaS) Click the menu. 1. Navigate to the Service Home page of PostgreSQL (DBaaS).
  2. On the Service Home page, click the PostgreSQL(DBaaS) menu. 2. PostgreSQL(DBaaS) List Go to the page.
  3. PostgreSQL(DBaaS) List Click the resource on the page to view the service status. 3. PostgreSQL(DBaaS) Details Go to the page.
  4. Click the Edit icon of Audit Settings at the bottom of the detailed information. 4. Modify Audit Settings A popup window opens.
  5. Audit 설정 수정 팝업창에서 사용 여부를 수정한 후, 확인 버튼을 클릭하세요.
    • When Use is selected, the Audit log feature is enabled. * Enabling audit logging may degrade database performance.
    • If you disable use, the Audit log storage file will be deleted. * Back up the Audit log file separately before disabling.

Export DB Log

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

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

Setting DB Log Export Mode

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

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

Managing DB Log Export

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

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

Minor version upgrade

If a latest patch that includes security enhancements and feature improvements is available, it can be applied via the version upgrade feature. Only minor version upgrades are supported within the same major version.

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

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

  1. Click the All Services > Database > PostgreSQL(DBaaS) menu. 1. Navigate to the Service Home page of PostgreSQL (DBaaS).
  2. On the Service Home page, click the PostgreSQL(DBaaS) menu. 2. PostgreSQL(DBaaS) List Navigate to the page.
  3. On the PostgreSQL(DBaaS) List page, click the resource to upgrade the Minor version. 3. PostgreSQL(DBaaS) Details Navigate to the page.
  4. Click the Edit icon of the Image version item. 4. Version Upgrade A popup window opens.
  5. In the Version Upgrade popup, after selecting the updated version, click the Confirm button.
  6. Version Upgrade Notification In the popup window, click the OK button.

Configure Migration

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

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

To configure Migration, follow these steps.

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

Promote Migration Cluster to Master Cluster

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

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

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

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

Managing Block Storage Usage

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

To view Block Storage usage, follow these steps.

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

OS Kernel Upgrade

You can upgrade the OS kernel to improve the functionality of the running database and apply security patches.

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

To upgrade the OS Kernel, follow these steps.

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

2 - Backing up and restoring the DB

Users can configure backups for PostgreSQL (DBaaS) via the Samsung Cloud Platform Console and restore using the backed‑up files.

PostgreSQL(DBaaS) Backing Up

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

Configure Backup

Refer to PostgreSQL(DBaaS) 생성하기 for how to configure backup settings for PostgreSQL(DBaaS).

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

Caution
  • For reliable backups, we recommend adding separate BACKUP storage or sufficiently expanding storage capacity. * Especially when the backup data exceeds 100 GB and experiences frequent changes, please provision additional storage equal to approximately 60 % of the data size. * For instructions on adding and expanding storage, refer to the PostgreSQL(DBaaS) 스토리지 추가하기 and PostgreSQL(DBaaS) 스토리지 증설하기 guides.
  • If a backup is configured, it runs at the specified time after the set time, and additional fees are incurred based on the backup size.
  • If you change the backup setting to Unset, backup execution will stop immediately, and the stored backup data will be deleted and can no longer be used.

To set up a backup, follow these steps.

  1. All Services > Database > PostgreSQL(DBaaS) Click the menu. 1. Navigate to the Service Home page of PostgreSQL (DBaaS).
  2. On the Service Home page, click the PostgreSQL(DBaaS) menu. 2. PostgreSQL (DBaaS) List Navigate to the page.
  3. PostgreSQL(DBaaS) List page, click the resource to set up a backup. 3. PostgreSQL(DBaaS) Details Go to the page.
  4. Click the Edit button of the backup item. 4. Backup Settings The popup window opens.
  5. When configuring a backup, click Use in the Backup Settings popup, select the retention period, backup start time, and Archive backup interval, then click the Confirm button.
    • If you want to stop the backup setting, uncheck Use in the Backup Settings popup window and authenticate via the logged-in user’s mobile phone.
      Once user authentication is completed, the backup setting is disabled and backup execution stops.

Perform immediate backup

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

To perform an immediate backup, follow these steps.

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

Check backup history

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

To view the backup history, follow these steps.

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

Delete backup file

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

To delete the backup history, follow these steps.

  1. All Services > Database > PostgreSQL(DBaaS) Click the menu. 1. Navigate to the Service Home page of PostgreSQL (DBaaS).
  2. On the Service Home page, click the PostgreSQL(DBaaS) menu. 2. PostgreSQL(DBaaS) List Navigate to the page.
  3. On the PostgreSQL (DBaaS) List page, click the resource to view the backup history. 3. PostgreSQL(DBaaS) Details Navigate to the page.
  4. Click the Backup History button. 4. Backup History The popup window opens.
  5. Backup History In the popup window, check the files you want to delete, then authenticate using the logged-in user’s mobile phone.
    • When user authentication is completed, the backup file will be deleted.

PostgreSQL(DBaaS) Recover

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

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

To restore PostgreSQL(DBaaS), follow the steps below.

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

3 - Configure Read Replica

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

Configure Replica

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

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

To configure a Replica, follow these steps.

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

Reconfigure Replica

If a network failure or replication delay with the Master Cluster occurs, you can re-replicate the Master Cluster’s data using the Replica reconstruction feature.

To reconfigure the Replica, follow these steps.

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

Promoting a Replica Cluster to a Master Cluster

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

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

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

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

4 - Connect to DB server

Scenario Overview

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

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

Architecture
Figure. PostgreSQL(DBaaS) server connection architecture

Scenario components

You can build the scenario using the following services.

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

Scenario setup method

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

1. ## Configure Network

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

1-1. ### Create VPC

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

1-2. ### Create Subnet

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

1-3. ### Create Internet Gateway

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

1-4. ### Create Public IP

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

1-5. ### Create Security Group

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

2. ## Create Bastion host

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

2-1. ### Create Server Keypair

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

2-2. ### Create Bastion host

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

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

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

3. ## Create Database

Describes the process of creating a Database service.

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

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

4. ## Configure Rules

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

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

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

4-2. ### Add IGW Firewall rule

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

5. ## Database Connect

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

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

5-1. ### Connecting to Bastion host

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

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

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

5-3. ### Connect to the Database using the DB client program (pgAdmin)

  1. Run pgAdmin and click the Add New Server button.
  2. In the Register - Server popup window, enter the Database server information created in 3-1. PostgreSQL(DBaaS) 서비스 생성하기 on the General and Connection tabs, and click the Save button.
    Screen (tab)Required input element iteminput value
    GeneralNameCustom (ex. service name)
    ConnectionHost name/addressDatabase server IP
    ConnectionPortDatabase Port
    ConnectionMaintenance databaseDatabase name
    ConnectionPasswordDatabase password
    Table DB connection client program input fields
  3. Click the name of the database created in pgAdmin to connect.
    • After connecting, you can perform simple queries, etc.

5 - Extension Use

PostgreSQL(DBaaS) Extension usage

Note
You can view the list of extensions included in each PostgreSQL version on the PostgreSQL official page.

You can view the list of extensions that can be installed in the current database with the SQL statement below.

SQL> select * from pg_available_extensions;

PostgreSQL (DBaaS) includes the following items in addition to the default extensions for each version.

Extension nameExplanation
pgauditProvides detailed audit logging at the session and object level
pg_cronA scheduler that can schedule jobs using cron syntax within the database.
pg_hint_planProvides a feature to apply hint clauses to SQL execution plans.
pgvectorProvides vector data types and AI vector operation features such as similarity search.
postgisGIS (Geographic Information System) provides spatial object storage and spatial query functionality
Table. PostgreSQL (DBaaS) Extension additional installation items

If you need to install additional extensions beyond the items above, refer to Support Center > Inquiry and contact us.

  • After a request is received, we will review it and proceed with installation. Please note that some extensions may not function properly during replica configuration and recovery.