Application Design Center lets you generate a reusable template from the architecture of a running App Hub application. Standardized templates help developer teams deploy applications consistently, support compliance with your organization's standards, and promote application management best practices.
You can use templates as the foundation for deployments to different
environments or for development of new versions. For example, you can use the
architecture of a running translator_v4.0 application to create a template
for an upcoming translator_v5.0 application.
Before you begin
You must complete the following steps before creating templates from existing applications:
For administrators:
- Choose your application setup model. Application Design Center requires a management project.
- Set up Application Design Center. You must configure Application Design Center to let users create application templates.
- Grant access to users. Assign appropriate IAM roles based on user's responsibilities in the application lifecycle.
For developers and operators:
- Confirm with your administrator that the initial setup is finalized.
- Make sure you have the necessary IAM roles for the tasks you want to perform.
- Open your management project in the Google Cloud console.
Identify and review the source application
Use App Hub to get a clear blueprint of the existing application's architecture:
Navigate to the Applications page from App Hub:
In the list of applications, find the running application you want to use as a source model. Then, click its name.
In the application details page, review its registered services and workloads. This view serves as the source of truth for the application's architecture.
Generate and parametrize the template
With the application blueprint from App Hub, build a flexible, reusable template in Application Design Center:
- Design an application template, mapping the inventory of services and workloads from your source application onto the design canvas.
- Identify any configuration values within the components that developers must customize for each deployment, such as region, machine sizes, or instance counts. Define these as input parameters in the template. This practice lets template users specify settings and maintain the core architecture.
- Add a detailed description, version number, and other relevant metadata to the template.
Publish and validate the template
When you finish designing and parametrizing the template, publish it to a catalog to make it available to other teams:
- Verify your template.
- Share the template to a catalog.
- As a final validation, verify that the architecture of a test application matches the original source application.
Developers can now reuse the template for applications that are consistent and compliant with your organization's standards.