The page has been translated by Gen AI.

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.

Note
  • 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:

  1. Click All Services > Database > PostgreSQL(DBaaS) menu. You will be directed to the Service Home page for PostgreSQL(DBaaS).

  2. On the Service Home page, click the Create PostgreSQL(DBaaS) button. You will be directed to the Create PostgreSQL(DBaaS) page.

  3. 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
      Required
      Detailed Description
      Image VersionRequiredProvides PostgreSQL(DBaaS) version list
      Table. PostgreSQL(DBaaS) Image and Version Selection Items
    • Enter or select required information in Service Information Entry section.
      Category
      Required
      Detailed Description
      Server Name PrefixRequiredServer 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 NameRequiredCluster name where DB servers are configured
      • Enter 3~20 characters using English letters
      • Cluster is a unit that groups multiple servers
      Service Type > Server TypeRequiredServer type where DB will be installed
      • Standard: Standard specifications generally used
      • High Capacity: Large capacity servers with 24vCore or more
      Service Type > Planned ComputeOptionalStatus 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
      Service Type > Block StorageRequiredBlock 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, /tmp area is used, and backup fails if capacity is insufficient
          • Only one Block Storage is allocated per service for Archive, TEMP, BACKUP storage
      Redundancy ConfigurationOptionalRedundancy configuration
      • If redundancy configuration is used, DB instance is configured divided into Active DB and Standby DB
      Network > Common SettingsRequiredNetwork 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 SettingsRequiredNetwork 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 ControlOptionalService 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 WindowOptionalDB 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 or select required information in Database Configuration Required Information Entry section.
      Category
      Required
      Detailed Description
      Database NameRequiredServer name applied when installing DB
      • Enter 3~20 characters starting with English letters, using English letters and numbers
      Database UsernameRequiredDB 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 PasswordRequiredPassword to use when accessing DB
      • Enter 8~30 characters including English letters, numbers, and special characters (excluding " )
      Database Password ConfirmRequiredRe-enter password to use when accessing DB identically
      Database Port NumberRequiredPort number required for DB connection
      • Enter DB port in range of 1200~65535
      Backup > UseOptionalWhether to use backup
      • Select Use to set backup file retention period, backup start time, Archive backup cycle
      Backup > Retention PeriodOptionalBackup 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 PeriodOptionalBackup start time
      • Select backup start time
      • Minutes when backup is performed are set randomly, backup end time cannot be set
      Backup > Archive Backup CycleOptionalArchive 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 SettingsOptionalWhether 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_statement parameter, can modify through Parameter screen
        • DB performance may degrade when Audit is set
      ParameterRequiredParameters 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 EncodingRequiredCharacter encoding method to use in DB
      • Character set used when storing text data
      • DB is created with default setting to selected Encoding
      DB LocaleRequiredLocale to use in DB
      • Settings related to string processing, number/currency/date/time display format
      • DB is created with default setting to selected Locale
      TimezoneRequiredStandard time zone where Database will be used
      Table. PostgreSQL(DBaaS) Database Configuration Items
    • Enter or select required information in Additional Information Entry section.
      Category
      Required
      Detailed Description
      TagsOptionalAdd 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
  4. 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.

  1. Click All Services > Database > PostgreSQL(DBaaS) menu. You will be directed to the Service Home page for PostgreSQL(DBaaS).
  2. On the Service Home page, click the PostgreSQL(DBaaS) menu. You will be directed to the PostgreSQL(DBaaS) List page.
  3. 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.
      CategoryDetailed Description
      Cluster StatusStatus 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 ControlButtons 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 MoreCluster-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 TerminationButton to terminate service
      Table. PostgreSQL(DBaaS) Status Information and Additional Features

Detailed Information

On PostgreSQL(DBaaS) List page, check detailed information of selected resource, and modify information if necessary.

CategoryDetailed Description
Server InformationServer information configured in that cluster
  • Category: Server type (Active, Standby, Replica)
  • Server Name: Server name
  • IP:Port: Server IP and port
  • Status: Server status
ServiceService name
Resource TypeResource type
SRNUnique resource ID in Samsung Cloud Platform
  • In DB service, means cluster SRN
Resource NameResource name
  • In DB service, means cluster name
Resource IDUnique resource ID in service
CreatorUser who created service
Creation Date/TimeDate/Time when service was created
ModifierUser who modified service information
Modification Date/TimeDate/Time when service information was modified
Image VersionInstalled DB image and version information
  • If version upgrade is needed, click Modify icon to set
Cluster TypeCluster type (Master Cluster, Replica Cluster, Migration Cluster)
Cluster NameCluster name where DB servers are configured
Master Cluster NameMaster cluster name of Replica
  • Can check when it is Replica detailed information.
Database NameServer name applied when DB was installed
Database UsernameDB user name
Planned ComputeStatus of resources with Planned Compute set
Maintenance WindowDB patch operation period setting status
  • If maintenance window setting is needed, click Modify icon to set
BackupBackup setting status
  • If backup setting is needed, click Modify icon to set
Audit Log SettingsAudit Log setting status
  • If Audit Log setting is needed, click Modify icon to set
TimezoneStandard time zone where Database will be used
DB LocaleLocale to use in DB
Database EncodingCharacter encoding method to use in DB
VIPVirtual IP information
  • Can check only when redundancy is set
NetworkNetwork information where DB is installed (VPC, Subnet, VIP, NAT IP (VIP))
IP Access ControlService access policy settings
  • If IP addition and deletion is needed, click Modify icon to set
Active & StandbyActive/Standby server type, Basic OS, additional Disk information
  • If server type modification is needed, click Modify icon next to server type to set. For server type modification procedure, see Changing Server Type
    • Server restart required when modifying server type
  • If storage expansion is needed, click Modify icon next to storage capacity to expand. For storage expansion procedure, see Expanding Storage
  • If storage addition is needed, click Add Disk button next to additional Disk to add. For storage addition procedure, see Adding Storage
Table. PostgreSQL(DBaaS) Database Detailed Information Items

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.

CategoryDetailed Description
Master InformationName of Master cluster
Replica CountNumber of Replicas created in Master cluster
Replica StatusReplica server status created in Master cluster
  • Can check server name, status check, status details, status check time
  • To check Replica status, click Status Check button
    • Cluster maintains Synchronizing status while checking, and cluster changes to Running status when check is complete
Table. Replica Information Tab Detailed Information Items

Tags

On PostgreSQL(DBaaS) List page, check tag information of selected resource, and add, change, or delete.

CategoryDetailed Description
Tag ListTag list
  • Can check Key, Value information of tags
  • Can add up to 50 tags per resource
  • When entering tags, search and select from list of previously created Keys and Values
Table. PostgreSQL(DBaaS) Tags Tab Items

Operation History

On PostgreSQL(DBaaS) List page, can check operation history of selected resource.

CategoryDetailed Description
Operation History ListResource change history
  • Check operation date/time, resource ID, resource name, operation details, event topic, operation result, operator information
Table. Operation History Tab Detailed Information Items

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:

  1. Click All Services > Database > PostgreSQL(DBaaS) menu. You will be directed to the Service Home page for PostgreSQL(DBaaS).
  2. On the Service Home page, click the PostgreSQL(DBaaS) menu. You will be directed to the PostgreSQL(DBaaS) List page.
  3. On the PostgreSQL(DBaaS) List page, click the resource to control operation. You will be directed to the PostgreSQL(DBaaS) Detail page.
  4. 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:

  1. Click All Services > Database > PostgreSQL(DBaaS) menu. You will be directed to the Service Home page for PostgreSQL(DBaaS).
  2. On the Service Home page, click the PostgreSQL(DBaaS) menu. You will be directed to the PostgreSQL(DBaaS) List page.
  3. On the PostgreSQL(DBaaS) List page, click the resource to check service status. You will be directed to the PostgreSQL(DBaaS) Detail page.
  4. Click Service Status Sync button. Cluster changes to Synchronizing status while checking.
  5. 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.

Caution
Server restart is required when modifying server type. Please check separately for SW license modification matters or SW settings and reflection according to server specification changes.

To change server type, follow these steps:

  1. Click All Services > Database > PostgreSQL(DBaaS) menu. You will be directed to the Service Home page for PostgreSQL(DBaaS).
  2. On the Service Home page, click the PostgreSQL(DBaaS) menu. You will be directed to the PostgreSQL(DBaaS) List page.
  3. On the PostgreSQL(DBaaS) List page, click the resource to change server type. You will be directed to the PostgreSQL(DBaaS) Detail page.
  4. Click Modify icon of server type to change at bottom of detailed information. Server Type Modify popup opens.
  5. 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.

Caution
  • 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:

  1. Click All Services > Database > PostgreSQL(DBaaS) menu. You will be directed to the Service Home page for PostgreSQL(DBaaS).
  2. On the Service Home page, click the PostgreSQL(DBaaS) menu. You will be directed to the PostgreSQL(DBaaS) List page.
  3. On the PostgreSQL(DBaaS) List page, click the resource to add storage. You will be directed to the PostgreSQL(DBaaS) Detail page.
  4. Click Add Disk button at bottom of detailed information. Additional Storage Request popup opens.
  5. 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:

  1. Click All Services > Database > PostgreSQL(DBaaS) menu. You will be directed to the Service Home page for PostgreSQL(DBaaS).
  2. On the Service Home page, click the PostgreSQL(DBaaS) menu. You will be directed to the PostgreSQL(DBaaS) List page.
  3. On the PostgreSQL(DBaaS) List page, click the resource to change server type. You will be directed to the PostgreSQL(DBaaS) Detail page.
  4. Click Modify icon of additional Disk to expand at bottom of detailed information. Additional Storage Modify popup opens.
  5. 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.

Caution
  • 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:

  1. Click All Services > Database > PostgreSQL(DBaaS) menu. You will be directed to the Service Home page for PostgreSQL(DBaaS).
  2. On the Service Home page, click the PostgreSQL(DBaaS) menu. You will be directed to the PostgreSQL(DBaaS) List page.
  3. On the PostgreSQL(DBaaS) List page, select resource to terminate and click Service Termination button.
  4. When termination is complete, check if resource is terminated on PostgreSQL(DBaaS) list page.
Monitoring Metrics
Managing DB Service