Deploying new applications from pre-built templates helps you achieve the following:
- Visualize the design as infrastructure code.
- Quickly access templates for your deployments.
- Comply with organizational best practices.
- Gain visibility into application components, health, and operational status.
This guide shows you how to deploy applications using a standardized, security-approved template. This option is ideal for new infrastructure scenarios where no services or workloads for the application exist yet.
Before you begin
You must complete the following steps before using templates to create applications:
For administrators:
- Set up application management. Configure an app-enabled folder or a host project to act as the administrative boundary for your applications.
- Enable required APIs. Enable APIs for all resources you intend to use.
- Set up Application Design Center. You must configure Application Design Center to let users deploy new application resources from templates.
- Design and publish an application template to a catalog. You can also use pre-built Google 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 and template publication is finalized.
- Make sure you have the necessary IAM roles for the tasks you want to perform.
- Open your app-enabled folder or host project, depending on your setup model.
Configure and deploy the application
Application Design Center lets you create a template, configure its parameters, and deploy the application infrastructure based on it. Follow these steps to create and access a template from a catalog and deploy the application:
In the Google Cloud console, navigate to the Templates page from Application Design Center to see the list of available application templates:
Select the template for the application you want to deploy and review its details.
Create an application draft from the template, providing values for any required input parameters, such as the application name and deployment region.
Deploy your application from the template.
The deployment process in Application Design Center automatically registers the application in App Hub, where you can view application details, including its constituent services and workloads.