Deploy a Click‑to‑Play Game on Alibaba Cloud SAE in 5 Minutes
This guide walks you through registering for Alibaba Cloud, enabling Serverless Application Engine (SAE), configuring continuous deployment from a source repository, and launching a simple click‑to‑play game, all within about five minutes of setup.
Prerequisites
Alibaba Cloud account with access to Serverless Application Engine (SAE) and Container Registry (ACR).
SAE trial quota (or paid quota) activated.
Source code of the game stored in a Git repository that SAE can pull (e.g., GitHub, GitLab, or a private repo accessible via HTTPS).
Deployment Procedure
Log in to the Alibaba Cloud console and open the SAE console. Navigate to Application Management → Application List and select the target region (e.g., North China 3 (Zhangjiakou) ).
Enter the SAE 2.0 public test console by clicking Experience SAE 2.0 Public Test .
Create a new application: Application Management → Create Application .
On the Create Application page, configure the following sections:
Basic Information
Enter a unique application name and a short description.
Set Deployment Method to Continuous Deployment from Source Repository .
Continuous Deployment Settings
Provide the Git repository URL (e.g., https://github.com/your-org/your-game.git) and branch to build.
Specify the build command if needed (e.g., npm install && npm run build for a Node.js project).
Configure the container image destination in ACR (e.g.,
registry.cn-zhangjiakou.aliyuncs.com/your-repo/your-image:latest).
HTTP Traffic Full Managed
Enable HTTP traffic, keep the default port (8080) unless the application requires a different one.
Leave the IP whitelist empty for public access; SAE will automatically add the first client IP.
Capacity Settings
Accept the default CPU/Memory allocation (SAE will auto‑scale based on traffic).
Click Skip Advanced Settings unless custom environment variables or scaling policies are required.
After filling the sections, click Create Application . SAE will clone the repository, build the image, push it to ACR, and start the service.
When the application is running, go to the Basic Information page, locate the Public Access URL under the HTTP Traffic section, and click it to open the game. The first request automatically adds your public IP to the whitelist. If later access fails, update the whitelist manually in the console.
Following these steps, the click‑to‑play mini‑game is deployed to Alibaba Cloud SAE without writing additional deployment scripts.
Alibaba Cloud Native
We publish cloud-native tech news, curate in-depth content, host regular events and live streams, and share Alibaba product and user case studies. Join us to explore and share the cloud-native insights you need.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
