All Products
Search
Document Center

CloudOps Orchestration Service:Publish Application

Last Updated:Feb 28, 2026

After you finish developing your application in App Generation, deploy it to a production environment and manage its versions. This supports team collaboration and public service delivery. The Publish Application feature lets you deploy your application to Alibaba Cloud Elastic Compute Service (ECS) with one click and sync your code to your Git repository. This creates an automated, end-to-end workflow—from idea to published application.

Scope

  • Linggou applications: You have successfully generated an application in Linggou.

  • Code hosting account: You have a GitHub or Gitee account.

How it works

To avoid code sync conflicts, make all code changes in Linggou. If you manually change and commit code on your Git platform, the next commit from App Generation may fail due to merge conflicts.
  1. First-time binding: Authorize Linggou to connect to your Git account.

  2. Automatic repository creation: When you create a new application, App Generation automatically creates a corresponding code repository under your Git account.

  3. Real-time sync: Code changes from each chat round are automatically committed to the repository and assigned a Commit ID.

  4. Version traceability: Use the Commit ID to view details of each change. You can roll back to any version with one click.

Configure a Git Repository

Sync your application code to a Git repository to enable version control, persistent storage, and change tracking.

  1. Go to the CloudOps Orchestration Service console. Click Start AI Coding. In the App Generation console, click Settings in the lower-left corner.

  2. In the panel that appears, select Git Configuration, then click Configure.

  3. On the authorization page that appears, sign in to your GitHub or Gitee account and complete authorization. After authorization, each new application you create will automatically generate a corresponding code repository under your Git account.

Publish Your Application to ECS

Publish an application for the first time

  1. In the application editor, click Publish in the upper-right corner, then click Publish Now. The page redirects to the Application Management page.

    If you have not configured a Git repository, the Publish Now button is disabled.
  2. Select your application’s runtime environment. Under Cloud Resource Configuration, choose a deployment method:

    • New ECS: automatically creates a preconfigured ECS instance. The default specification is ecs.u1-c1m1.large (2 vCPUs, 2 GiB), with Alibaba Cloud Linux 3 preinstalled as the operating system.

    • Use Existing ECS: Deploy your application to an existing ECS instance.

      Your ECS instance must run a Linux operating system.
  3. Click Create to start the automated deployment process.

  4. Verify that your application is online. After deployment starts, click View Progress. When the status shows Success, click Application Access Endpoint to access your application.

Update a published application

After updating your code through chat, click Publish Now again in the publish panel. The system pulls the latest code and redeploys automatically.

Roll back to a previous version

  1. Above the chat input box, click image.

  2. Find the historical version and click Roll back to this version next to it to perform the rollback.

FAQ

What do I do if publishing fails with “Git authorization failed”?

This usually happens when your Git platform authorization has expired or permissions have changed. Go to the App Generation console. Click Settings, then click Configure. Reauthorize your GitHub or Gitee account.

What do I do if publishing fails and the log shows “Dependency installation failed (npm err!)”?

  1. Your application’s package.json file includes private npm dependencies. These cannot be downloaded during cloud-based builds. Make sure all dependencies are publicly accessible.

  2. Network instability in the build environment. Try publishing again.

My application deployed successfully but is unreachable. Why?

  1. Check the security group rules for your ECS instance. Ensure inbound access to port 80 or 443 is open to the Internet.

  2. In the Build Progress and Logs section, check your application’s runtime logs. Confirm that the application process started correctly and has no errors.

Why does publishing time out?

If your application build is complex, a low-spec ECS instance may lack the performance needed. This can cause long build times and timeouts. Try selecting a higher-spec ECS instance during deployment.