Alibaba Cloud DevOps AppStack provides enterprise-grade application templates. You can use these templates to define an application's features, deployment architecture, development process, environment configuration, and variable groups. When creating a new application, select a template to quickly initialize its configuration.
Manage application templates
Create an application template
Go to . On the application template list page, click Create Application Template.
-
Enter a Name, Display Name, and Description for the template, then click OK.
Edit an application template
Go to , find the desired application template, and click Edit.
-
Basic Information: You can view the template Name and modify its Display Name and Description.
-
Features:
-
Application templates let you enable the Pipelines and Change + Development Process features.
-
Pipelines: Associate a Flow pipeline to flexibly define your build and release process. When you use this mode, the Pipelines feature becomes available in the application. For more information, see Flexible delivery with pipelines.
-
Change + Development Process: Define a development process to manage the entire build and release workflow across multiple environments. The development process lets you link changes to work items in Project Collaboration, synchronize the status of both, and track the full lifecycle of business requirements by using change sets. When you use this mode, the Change and Development Process and Changes features become available in the application. For more information, see Continuous delivery with changes.
-
-
When you create an application from a template, its configured features are automatically enabled.
-
-
Orchestration Configuration:
-
Use the template to define the application's deployment architecture. You can use either Kubernetes YAML orchestration or host script deployments. For more information, see How application orchestration works.
-
When you create an application from a template, its orchestration configuration is automatically initialized.
The Orchestration Configuration page contains two tabs: Kubernetes Deployment and Host Deployment. The visualization area shows the sequential relationship of components, such as an arrow connecting demo-service1 (Service) to demo-deployment (Deployment). You can click the Edit button in the upper-right corner to modify the orchestration content.
-
-
Variable Group Configuration:
-
Use the application template to define variable groups, which can then be associated with environment deployments or development process stages.
-
When you create an application from a template, its variable group configuration is automatically initialized.
On the Variable Group Configuration page, you can create multiple variable groups for different environments, such as a development environment variable group, a test environment variable group, and a production environment variable group. Each variable group contains fields for a variable name, value, and description. You can click Create Variable Group to add a new group, click Edit Variables to modify variable contents, or use Bulk Update to Applications to synchronize the variable group with associated applications.
-
-
Environment Configuration:
-
Use the application template to define application environments, associate variable groups, and pre-allocate resources.
-
When you create an application from a template, its environments are automatically initialized.
On the Environment Configuration page, you can view cards for created environments, such as a development environment named dev with a deployment method of Kubernetes deployment. You can add new environments by clicking the Create Environment button in the upper-right corner, or lock, edit, and delete existing environments.
-
-
Development Process Configuration:
-
Use the template to configure the application's development process. This process defines the build and deployment workflow from development to testing and production, and supports dynamic configuration with variable groups.
-
When you create an application from a template, its development process is automatically initialized.
On the Development Process Configuration page, you can click Create Process to create a new process. By default, a process includes three stages: a Test Stage (linked to the test environment), a Pre-release Stage (linked to the pre-release environment), and a Production Stage (linked to the production environment). Each stage contains two nodes: build and deploy. You can add a new stage by clicking the + button on the right.
-
Copy an application template
Go to , find the desired application template, and click Copy to duplicate it.
Delete an application template
Go to , find the desired application template, and click Delete. This action cannot be undone, so proceed with caution.
Create an application from a template
Go to , select Create from Template, choose a suitable application template, and click Create. After the application is created, the Features configured in the template are automatically enabled. Then, the Orchestration Configuration, Variable Group Configuration, Environment Configuration, and Development Process Configuration are initialized.
Available application templates include the Spring Boot application experience template, Spring AI application experience template, SAE deployment AI application experience template, canary release application template, and host application template.