Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Function User Facing Guide

Overview

AceCloud Functions runs your code on demand, without servers to set up or manage. This guide covers everything you do with it in the AceCloud customer portal: creating a function, deploying code or a container image, testing it, releasing versions and splitting traffic, managing secrets and environment variables, and watching how the function behaves.

It answers "how do I do X in the portal". It does not repeat what your code must look like. For the handler contract, request bodies, headers, dependencies and logging from code, use the developer pages listed under Related pages.

Key concepts

Term

Meaning

Function

A piece of code (or a container image) that runs when it receives an HTTP request. Each function has its own endpoint.

Version

An immutable release of a function. You can keep several versions and decide how much traffic each one receives.

Packaging type

How you supply the code. Code (write in the browser editor or upload an archive) or Container image (an image you build and push to Ace Container Registry). Chosen when you create the function and locked afterwards.

Draft

The work in progress that the Test tab runs. For a Code function it is the saved editor draft. For a Container image function it is the digest you set with Update draft. A draft is not a version and receives no live traffic.

Traffic split

The share of requests each version receives. The shares always add up to 100%.

Secret

A value you store once in the project and reuse in many functions. Secrets are project level. Two types: ENV (key-value pairs) and File (an uploaded file).

Environment variable

A plain, non-secret value passed to your function by name.

Environment secret

A key from an ENV secret, exposed to your function as an environment variable.

Secret file mount

A File secret placed inside your function's container at a path you choose.

Scaling

Min scale, Max scale and Concurrency: how many instances run, and how many requests each instance handles at once.

Timeout

The longest a single request may run.

Log retention

How many days the function's logs are kept.

Endpoint

The HTTPS address of the function, shown on its Overview tab.

Code or Container image?

Code

Container image

Best when

Your code is a handler plus pure language libraries, and you want the platform to build it.

You need operating system packages or native libraries, you already build images in your own pipeline, or you are moving a container-based function from another service.

You provide

Source files in the in-browser editor, or a .zip or .tar.gz archive.

An image built from an AceCloud Functions base image and pushed to Ace Container Registry.

Build

The platform builds it when you click Apply new version.

You build and push it yourself. The platform checks the image when you create a version.

Function tabs

Overview, Editor, Test, Versions, Insights, Logs

Overview, Images, Test, Versions, Insights, Logs

Locked after creation

Packaging type, function name, language

Packaging type, repository, function name, language

Which page to use

I want to...

Page

Find my way around the Functions section

Create a function

Write code in the browser or upload an archive

Build and push a container image

Create a version from a pushed image

Try a function before releasing it

Release a version, split traffic or roll back

Change scaling, resources or other settings

Store a secret

Pass variables, secrets or files to my function

See traffic, errors and logs

Remove a function

Look up a limit or a naming rule

Understand why a version shows Error

Supported languages and runtimes

Language

Versions

Python

3.12, 3.13, 3.14

Node.js

22, 24

Go

1.25, 1.26

The request and response contract is the same in every language and version.

Last updated