The page has been translated by Gen AI.

How-to guides

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

Creating Cloud Functions

  1. All Services > Compute > Cloud Functions Click the menu. 1. Go to the Service Home page of Cloud Functions.

  2. On the Service Home page, click the Create Cloud Functions button. 2. Go to the Create Cloud Functions page.

  3. On the Create Cloud Functions page, enter the information required to create the service.

    Category
    Required
    Detailed description
    Function nameRequiredEnter the name of the Funtion to create
    • Start with a lowercase English letter and use lowercase English letters, numbers, and special characters (-) to enter between 3 and 64 characters
    RuntimeRequiredSelect Runtime creation method
    • New: Create a new Runtime
    • Start with Blueprint: Write using the Runtime source code provided by the service
    Runtime & VesionEssentialSelect Runtime and Version
    • When Create New is selected
      • For the Java runtime, UI code editing is not supported, but you can import a JAR file from Object Storage and execute it
    • When Start with Blueprint is selected
      • You can view a source code example by clicking the View Source Code button for that Runtime & Version
    • If the Runtime version has reached End of Technical Support (EoTS), it cannot be modified after creation
    Table. Cloud Functions service information input fields

  4. Summary Check the detailed information and estimated charges generated in the panel, and click the Create button.

    • When creation is complete, check the created resources on the Cloud Functions list page.
information
After July 2026, you cannot create new functions for runtimes that are no longer supported. Note that already created user functions are not deleted.

View Cloud Functions details

Cloud Functions Details page consists of Details, Monitoring, Logs, Code, Configuration, Triggers, Tags, Job History tabs.

To view detailed information about the Cloud Functions service, follow these steps.

  1. All Services > Compute > Cloud Functions Click the menu. 1. Navigate to the Service Home page of Cloud Functions.
  2. On the Service Home page, click the Function menu. 2. Function list Go to the page.
  3. On the Function list page, click the resource to view detailed information. 3. Navigate to the Function Details page.
    • Function Details page displays status information and additional feature information, and consists of Details, Monitoring, Logs, Code, Configuration, Triggers, Tags, Job History tabs.
      CategoryDetailed description
      Cloud Functions statusCloud Functions status information
      • Ready: green icon, a state where normal function invocations are possible
      • Not Ready: gray icon, a state where normal function invocations are not possible
      • Deploying: yellow icon, a state where the function is being created or updated, which triggers the next action
        • Function creation and modification
        • Code tab: edit code in the editor
        • Code tab: inspect jar file
        • Trigger tab: add and modify
        • Configuration tab: modify
      • Running: blue icon, a state where normal function invocations are possible and a cold‑start prevention policy is applied
      Service cancellationCancel service button
      Table. Cloud Functions status information and additional features

Detailed Information

Function list page allows you to view detailed information of the selected resource and edit the information if needed.

CategoryDetailed description
serviceService name
Resource TypeResource Type
SRNUnique resource ID in Samsung Cloud Platform
Resource nameResource name
  • In the Cloud Functions service, it means the Function name
Resource IDService’s unique resource ID
ConstructorUser who created the service
Creation date and timeService creation timestamp
ModifierUser who modified the service
Modification dateDate and time of service modification
Function nameName of the Cloud Function
RuntimeRuntime types and versions
  • If the Runtime’s End of Technical Support (EoTS) is scheduled, display in yellow with a warning icon
Table. Cloud Functions Details – Details Tab Items
Caution
  • Even after technical support for the Runtime version ends, functions that have already been created can continue to be used without any call time limit. * However, security patches and updates for that Runtime version will not be applied.
    • Bugs, errors, defects, or vulnerabilities that occur in Runtime versions that are no longer supported are not covered.
  • If support for a Runtime has ended, the user must create a replacement Runtime version and then manually delete the function of the previous version.
    • To use this function safely, create a new instance using the Lastest or Stable version.

Monitoring

Function List page lets you view the Cloud Functions usage information for the selected resource.

CategoryDetailed description
Number of callsAverage number of times the function is called per unit time (instances)
execution timeAverage execution time (seconds) of the function per unit time
Memory usageAverage memory usage (KB) during the function execution per unit time
Current number of tasksWhen the function is called multiple times simultaneously, the average number of tasks (count) generated per unit time for concurrent processing.
Successful call countAverage number of times (cases) the runtime code operated correctly and returned a response code per unit time during a function call.
Failed call countAverage number of calls with errors per unit time during function invocation
  • Including runtime due to response timeouts and logic errors
Table. Cloud Functions Details – Monitoring Tab Items

log

Function list page allows you to view the Cloud Functions logs of the selected resource.

CategoryDetailed description
unit periodSelect the period to view Cloud Functions log information
  • Select in time units (1 hour, 3 hours, 12 hours) or allow the user to set a custom range
log messageFunctions are displayed in order, starting with the most recent occurrence.
Table. Cloud Functions Details – Log Tab Items
Reference
Log messages can be viewed up to the previous 1,000 entries based on the most recent occurrence.

code

Function List page lets you view and edit the Cloud Functions code of the selected resource.

Reference

The way to view and edit source code varies depending on the runtime used.

  • Inline Editor: Node.js, Python, PHP, Go
  • Compressed file (.jar/.zip) execution: Java
CategoryDetailed description
source codeInline editor method
code informationDisplay code information
EditAfter clicking the Edit button, you can modify the code in the inline editor.
Table. Cloud Functions Details – Inline Editor Items in the Code Tab
CategoryDetailed description
source codeExecution method for compressed files (.jar/.zip)
code informationDisplay compressed file information
  • Java Runtime: Java Runtime version information
  • Handler information: Execution class and method information
  • Compressed file name (.jar/.zip): Name of the currently configured compressed file
  • File upload timestamp: Upload timestamp of the currently configured compressed file
  • Transmission status: Compressed file transmission history
    • Transmission succeeded: When the compressed file configuration succeeds
    • Reason for failure when compressed file transmission fails
EditJar file can be modified
  • Cannot be modified after the Runtime version reaches end of support
  • On the Function code edit page, you can modify by clicking the Import from Object Storage button
  • Enter the Private URL of the file in the Object Storage bucket to be imported
Table. Cloud Functions Details - Execution items for compressed files (.jar/.zip) in the Code tab
Reference
  • If technical support for the runtime version has ended, you cannot modify the code. * Also, because security patches and updates are not applied, create and use the function anew with the Latest or Stable version to ensure safe usage.
  • In the case of Java Runtime, it does not provide a UI code editing feature, and you must select a compressed file (.jar/.zip) from a bucket in the Object Storage service.
  • If a user does not have an authentication key generated for the Object Storage service, they cannot execute Import from Object Storage, so they must create an authentication key in advance.
  • The Object Storage bucket for the Cloud Functions service must have its access control set to allow.

Configuration

On the Function list page, you can view the Cloud Functions configuration of the selected resource.

CategoryDetailed description
General configurationMemory and timeout settings of Cloud Function
  • Memory: Maximum memory limit that can be used per function
  • Timeout: Maximum time to wait for a function invocation per function
  • Function execution: Minimum and maximum number of tasks
  • Click the Edit button to modify the General configuration settings
function URLIssue an HTTPS URL address that can access the function
  • Enabled: Whether the function URL is enabled
  • Status: Current state of the function URL
    • Active: In use
    • Inactive: Disabled
    • Creating: Creating
  • Function URL: Click the function URL to navigate
  • Authentication type: When IAM is configured, only authenticated IAM users can access the function URL
  • Access control: When enabled, you can register and manage allowed IP addresses
  • Click the Edit button to configure Enabled status, Authentication type, and Allowed IPs
  • Refer to the OpenAPI of Samsung Cloud Platform
environment variableSet runtime environment variables
  • Environment variable: When used, you can adjust the function’s behavior without updating code
  • Edit button to add or modify environment variable
Private connection configurationCan be used in conjunction with PrivateLink Service
PermissionAdd and manage resource policies for IAM-based functions
  • Click the Edit button to edit the policy
  • Add: If there is no existing resource policy, add a new resource policy
  • Resource policies can be loaded from provided templates or created manually
Table. Cloud Functions Details - Configuration Tab Items
Caution
  • If technical support for the Runtime version has been discontinued, configuration items cannot be modified. * Also, because security patches and updates are not applied, create and use the function anew with the Latest or Stable version to ensure safe usage.
  • If access control is disabled, the registered access information is deleted, making function access control impossible, which can expose the system to security attacks such as external scanning, hacking, etc.
Reference
  • CPU cores proportional to the memory allocation of General configuration are automatically assigned.
  • If the minimum number of executions of General configuration is 1 or more, Cold Start is prevented, but continuous costs are incurred.

Trigger

On the Function List page, you can view and configure the trigger information of the selected resource. By setting a trigger, you can automatically execute the Function when an event occurs.

CategoryDetailed description
CronjobUse Cronjob as a trigger
  • Automatically invoke the function based on time or a scheduled interval
  • Edit button can be clicked to change repeat frequency and time zone
API GatewayUse API Gateway as a trigger
  • You can view the API Gateway name and detailed information
Table. Cloud Functions Details – Trigger Tab Items
Caution
  • If technical support for the Runtime version has ended, you cannot modify the trigger item. * Also, because security patches and updates are not applied, create and use the function anew with the Latest or Stable version to ensure safe usage.
  • If the Cronjob trigger is called before the function’s timeout, the function will execute concurrently, increasing both the execution count and the total time. * Therefore, be cautious because continuous additional costs can lead to high expenses.
Reference
  • If the status is Deploying, it cannot be modified.
  • Refer to Setting up triggers for trigger configuration.

Tag

In the Tag tab, you can view the resource’s tag information, and add, modify, or delete it.

CategoryDetailed description
Tag listTag list
  • You can view the Key, Value information of the tag
  • Up to 50 tags can be added per resource
  • When entering tags, search and select from the list of previously created Keys and Values
Table. Cloud Functions Details – Tag Tab Items

Job History

Job History page allows you to view the resource’s job history.

CategoryDetailed description
Task History ListResource Change History
  • You can view operation details, operation time, resource type, resource name, operation result, and operator information
  • Operation History List When you click the corresponding resource in the list, the Operation History Details popup opens
Table. Cloud Functions Details – Job History Tab Items

Changing Java Runtime code

If you are using Java Runtime, you cannot modify the code directly, so you must select and replace the archive file (.jar/.zip) in the bucket of the Object Storage service.

Reference
If technical support for the runtime version has ended, you cannot modify the code. Also, because security patches and updates are not applied, create and use the function anew with the Latest or Stable version to ensure safe usage.

To modify a compressed file, follow these steps.

  1. All Services > Compute > Cloud Functions menu, click. 1. Navigate to the Service Home page of Cloud Functions.

  2. On the Service Home page, click the Function menu. 2. Go to the Function list page.

  3. On the Function List page, click the resource to change the compressed file in the code. 3. Go to the Function Details page.

  4. Click the Edit button on the Code tab of the Function Details page. 4. Edit Function code Navigate to the page.

  5. Click the Import from Object Storage button. 5. Import from Object Storage The popup window opens.

    CategoryDetailed description
    Java RuntimeJava Runtime Information
    Handler informationHandler information
    • Execution Class: Automatically entered when setting the archive file (.jar/.zip)
    • Execution Method: Automatically entered when setting the archive file (.jar/.zip)
    Compressed file (.jar/.zip)Set the archive file to modify
    • Archive file name (.jar/.zip): Displays the name of the archive file. Import from Object Storage after configuration, it is entered automatically
    • Import from Object Storage: Configure the Object Storage to retrieve the archive file (.jar/.zip)
    Table. Cloud Functions Details - Function Code Modification Items

  6. Enter the URL information of the Object Storage to retrieve the compressed file in Object Storage URL, then click the Confirm button. 6. The notification popup opens.

    • URL information can be found in the Folder List tab of the detailed page of the Object Storage to retrieve, under the File Information > Private URL item.
  7. Click the Confirm button. 7. On the Function code edit page, the name of the imported compressed file is displayed in the Compressed file name (.jar/.zip).

  8. Click the Save button.

Caution
  • Users without a generated authentication key cannot execute Import from Object Storage.
  • If the URL does not exist or the archive file matches any of the following, it cannot be changed.
    • When using an unsupported file extension
    • If there are harmful files inside the compressed file.
    • If the size exceeds the supported limit

Terminate Cloud Functions

To cancel the Cloud Functions service, follow these steps.

  1. Click the All Services > Compute > Cloud Functions menu. 1. Navigate to the Service Home page of Cloud Functions.
  2. On the Service Home page, click the Function menu. 2. Navigate to the Function list page.
  3. On the Function List page, click the resource you want to terminate and then click the Terminate Service button.
  4. When the termination is complete, check on the Function list page whether the resource has been terminated.
ServiceWatch Metrics
Configure Trigger