All Products
Search
Document Center

Serverless App Engine:Deploy an application using an image from an ACR instance in the same account

Last Updated:Nov 10, 2025

If your Serverless App Engine (SAE) application and Alibaba Cloud Container Registry (ACR) instance are in the same account, you must ensure that the application's network can access the ACR instance. You can then select an image from the ACR instance to deploy the application.

Prerequisites

Ensure the SAE application's network can access the ACR instance

The SAE application and the ACR instance must be in the same region.

How to view the VPC of an SAE application

Before you deploy an application, you must plan its region and namespace. The region and namespace determine the VPC where the application resides.

  1. Log on to the SAE console. In the top navigation bar, select a region. In the navigation pane on the left, choose Namespaces.

  2. Click the target namespace in the list. In the navigation pane on the left, choose Basic Information. Click the Virtual Private Cloud (VPC) link to view details such as the VPC ID.

Procedure

  1. On the SAE Application List page, select the target region and namespace in the top navigation bar, and then click Create Application.

  2. Select an application edition.

    Important

    The Lite Edition and Professional Edition are in an invite-only beta testing phase. If you are not part of the beta test, the application is created as the Standard Edition, and you do not need to select an edition.

    • Lite Edition: Provides the minimum feature set required to run an application. It does not support the Application Monitoring or Microservice Administration features.

    • Standard Edition: Includes the Basic Application Monitoring feature. The Advanced Application Monitoring and Microservice Administration features must be enabled and purchased separately.

    • Professional Edition: Includes the Advanced Application Monitoring and Microservice Administration features. They do not need to be enabled or purchased separately.

  3. On the Create Application page, specify a custom Application Name and configure the following parameters.

    1. Select the namespace type for the application. A namespace is equivalent to a Kubernetes namespace and can be used to isolate resources in different environments. You cannot change the namespace of an application after it is created. Plan accordingly.

      • System-created: Use the default namespace, vSwitch, and security group created by the system in the current region.

      • Select Existing Namespace: Select the namespace, vSwitch, and security group that you previously created.

    2. Set Application Deployment Method to Deploy With Image, and then click Set Image. On the My Alibaba Cloud Images tab, select your ACR image edition. Then, select the image repository and image version to deploy. If you use ACR Enterprise Edition, you can enable the image acceleration feature to improve application startup speed.

    3. In the Capacity Settings section, set Resource Type, Instance Type, and Number Of Instances.

  4. (Optional) Click Next: Advanced Settings to configure the required features.

    • Startup Command

      The startup command for an application is determined by the `CMD` or `ENTRYPOINT` set in the image, and no additional configuration is required in SAE. If you have special requirements, you can set a startup command to override the one set in the image.

    • Runtime Environment and Lifecycle Management

    • Network Access and Service Invocation

    • Data Persistence

      You can store application data in NAS, OSS, or a database to prevent data loss when an application is changed or stopped. Note: NAS, OSS, and databases require additional fees.

    • Logging and Monitoring

      • After you deploy an application, you can view real-time logs and view resource usage and payload without any additional configuration. You can also output logs to SLS or Kafka for centralized management and analysis. Note: SLS and Kafka require additional fees.

      • ARMS Monitoring helps you monitor your application's running status, quickly locate faulty and slow interfaces, identify performance bottlenecks, and reproduce invocation parameters. This significantly improves the efficiency of diagnosing online issues.

        • For Standard Edition applications, you can view ARMS Basic Edition monitoring data after deployment without additional configuration. In addition, you can purchase ARMS Premium Edition monitoring.

        • For Professional Edition applications, after you enable Application Monitoring in the Advanced Settings and complete the deployment, you can View ARMS Premium Edition Monitoring Data. No additional fees are required.

    • Other features

      • Microservice Administration provides Lossless Online/offline Capabilities, Traffic Protection, End-to-end Canary Release, and Same-zone Routing Priority for Java applications.

        • For Standard Edition applications, you can go to the application details page after deployment to enable and purchase the MSE Microservice Administration feature.

        • For Professional Edition applications, after you enable Microservice Administration in the Advanced Settings, you can configure Lossless Online/offline. For more features, go to the application details page after deployment. No additional fees are required.

      • You can enable the CPU Burst feature (available only for Standard and Professional editions) to prevent resource waste. This feature is useful when an application requires higher CPU specifications during its startup and loading phase than during normal operation.

      • You can decouple and standardize non-business features from the main container by adding a Sidecar container.

  5. Click One-Click Create Application or Create Application.

    • The application takes about 1 to 2 minutes to create. You can check the change records to verify that the deployment was successful. If the deployment fails, an application instance is not created. You can troubleshoot the issue using the error message in the Change Details.

    • You can view the created application on the Application Management > Application List page. To change the application configuration after deployment, click the target application to go to its details page. Then, in the top navigation bar, click Deploy Application or Modify Application Configuration. Note that the application automatically restarts for the new configuration to take effect. We recommend that you perform this operation during off-peak hours.

    • You can log on to an application instance using Webshell and interact with the application instance using console commands.

    • After you create an application, you can manually adjust the number of instances and the instance type, or automatically adjust the number of instances by configuring an Auto Scaling policy. You can also reduce costs by enabling idle mode.