After you create an application instance from a template, you can deploy the application from the Google Cloud console. Deploying from the Google Cloud console provides the following benefits:
- Does not require you to maintain your own Terraform deployment pipeline.
- Provides a preview of the changes that Terraform plans to make to your infrastructure.
- Helps you enable Google Cloud resource APIs that are required for your application.
- Helps you apply template revisions to your application.
Before you begin
You must have one of the following roles:
- Application Admin (
roles/designcenter.applicationAdmin
) - Application Operator (
roles/designcenter.applicationOperator
)
To deploy the application, you must have one of the following:
- A service account that is configured to deploy applications and underlying resources.
- The project IAM administrator role, which is required to create a new service account during deployment.
Deploy from the Google Cloud console
Select a service account option and deploy your application. When you deploy an application, Google Cloud resources are created, and you begin to incur charges associated with those resources.
From the navigation menu, click Applications.
From the table, click the Application name.
From the Application details page, click Deploy.
Select one of the following service accounts to deploy your application:
Select a service account from the current project: In the Service account field, enter the name of a service account in the selected project. The service account must have the listed roles on the project you selected.
Create a new service account: You must have the IAM administrator role, which is used to assign the required deployment roles to the service account.
Click Proceed.
To preview the changes that Terraform plans to make to your infrastructure, click Preview.
Review the list of APIs that are required for your application. The APIs are automatically enabled when you deploy.
Click Deploy. The application details and deployment status are displayed while the instance is deployed.
When the deployment finishes, do the following.
To view output details, click Output. For example, your application might have a frontend service URI.
To view your application details and metrics in App Hub, click View app in App Hub.
Apply template revisions
If your application was previously deployed from the Google Cloud console, and an administrator has shared a template revision with you, you can apply the template changes to your application. When you update your application, an application revision is created. You can configure components that were modified or added to the revised template.
To apply template revisions to your application:
From the navigation menu, click Templates.
Click the Template ID that contains the revision you want to apply.
From the Configure an app list, select the instance that you want to update.
Edit the application details and click Save.
Click each component in the design canvas, and modify component configurations.
Click Deploy. For deployment steps, see Deploy from the Google Cloud console.