Deploy an application from a same-account ACR instance

Updated at:
Copy as MD

If SAE and ACR belong to the same Alibaba Cloud account, ensure network connectivity, then select an ACR image to deploy your application.

Prerequisites

Ensure network access to the ACR instance

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

  • For an ACR Enterprise Edition instance, you must also configure access control for the VPC and add your SAE application's VPC.

  • For an ACR Personal Edition instance, no additional configuration is required.

How to view the VPC of an SAE application

The application's region and namespace determine its VPC.

  1. Log on to the SAE console, select a region, and choose Namespaces.

  2. Click the target namespace, choose Basic Information, and click the VPC link to view the VPC ID.

Procedure

  1. On the SAE Application List page, select a region and namespace, then click Create Application.

  2. Select an application edition.

    Important

    Lightweight Edition and Professional Edition are invite-only. If you are not in the beta, your application defaults to Standard Edition and no edition selection is required.

    • Lightweight Edition: Minimum feature set. Does not support Application Monitoring or Microservices Governance.

    • Standard Edition: Includes Basic Application Monitoring. Advanced Application Monitoring and Microservices Governance must be enabled and purchased separately.

    • Professional Edition: Includes Advanced Application Monitoring and Microservices Governanceno separate enablement or purchase required.

  3. On the Create Application page, enter an Application Name and configure the following parameters.

    1. Select a namespace type. Namespaces isolate resources across environments and cannot be changed after creation.

      • System Created: Uses the default namespace, vSwitch, and security group automatically created in the current region.

      • Existing Namespace: Select a namespace, vSwitch, and security group that you created in advance.

    2. Set Application Deployment Method to Select Image Deployment, then click Set Image. On the My Alibaba Cloud Images tab, select your ACR edition, image repository, and version. For ACR Enterprise Edition, you can enable image acceleration to speed up startup.

    3. In the Capacity Settings section, configure Resource Type, Single Instance Specification, and Number of Instances.

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

    • Startup command

      The image's CMD or ENTRYPOINT determines the startup command — no extra configuration is needed. To override it, set a startup command in SAE.

    • Runtime environment and lifecycle management

    • Network access and service invocation

    • Data persistence

      Persist application data in NAS, OSS, or a database to prevent data loss on updates or stops. NAS, OSS, and databases incur additional charges.

    • Logging and monitoring

      • After deployment, view real-time logs and monitor resource usage and load without extra configuration. Export logs to SLS or Kafka. SLS and Kafka incur additional charges.

      • ARMS monitoring provides full-stack observability — identify faulty or slow API calls, detect bottlenecks, and reproduce call parameters for troubleshooting.

        • For Standard Edition, basic ARMS monitoring is available after deployment without extra configuration. You can purchase and enable advanced ARMS monitoring.

        • For Professional Edition, enable Application Monitoring in Advanced Settings to access advanced ARMS monitoring at no additional cost.

    • Other features

      • Microservices Governance provides Java applications with graceful start and shutdown, traffic protection, end-to-end canary release, and prioritized routing to providers in the same zone.

        • For Standard Edition, purchase and enable MSE Microservices Governance from the application details page after deployment.

        • For Professional Edition, enable Microservices Governance in Advanced Settings to configure graceful start and shutdown. Configure other features on the application details page after deployment. No additional fees.

      • Enable the CPU Burst feature to handle peak CPU demand during startup and loading without over-provisioning.

      • Add a sidecar container to separate non-business functions from the main application container.

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