Stay organized with collectionsSave and categorize content based on your preferences.
Update an application template and redeploy
This quickstart helps you modify thethree-tier web applicationby connecting a Memorystore for Redis component.
This application update helps you cache data and improve performance.
You update the template by doing one of the following:
Add and connect a component on the design canvas in Application Design Center.
Use natural language prompts in Gemini Cloud Assist.
The changes you make are reflected in the application's Terraform code, which
you can review before you deploy. For more information, seeOverview of Terraform on Google Cloud.
After you update the template, deploy your application to verify your changes.
Green check marks are displayed in each component to convey that you have
specified the required parameters. The application draft is ready to be
redeployed to the TEST environment for verification.
Redeploy the application
ClickDeploy.
In theSelect a service accountarea, do the following:
ClickCreate a new service account.
ClickProceed.
To review the Terraform plan for your application, do the following:
ClickPreview. A Terraform plan is generated after a few minutes.
Review the Terraform plan for your application.
ClickCopy and close.
Paste the copied Terraform in a document.
ClickDeploy.
The application is deployed after a few minutes and resources are created in
your project. The following details are displayed:
A link to App Hub, where you can view deployed resource details,
including links to monitoring dashboards.
Links to Cloud Build logs, which you can use to troubleshoot deployment
errors.
Outputs like service URIs are displayed, which you can use to interact with
deployed resources.
Clean up
To avoid incurring charges to your Google Cloud account for
the resources used on this page, follow these steps.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["Update an application template and redeploy\n|\n| **Preview**\n|\n|\n| This product or feature is subject to the \"Pre-GA Offerings Terms\" in the General Service Terms section\n| of the [Service Specific Terms](/terms/service-terms#1).\n|\n| Pre-GA products and features are available \"as is\" and might have limited support.\n|\n| For more information, see the\n| [launch stage descriptions](/products#product-launch-stages).\nThis quickstart helps you modify the [three-tier web application](/application-design-center/docs/quickstart-create-template) by connecting a Memorystore for Redis component. This application update helps you cache data and improve performance.\n\n\u003cbr /\u003e\n\nYou update the template by doing one of the following:\n\n- Add and connect a component on the design canvas in Application Design Center.\n- Use natural language prompts in Gemini Cloud Assist.\n\nThe changes you make are reflected in the application's Terraform code, which\nyou can review before you deploy. For more information, see [Overview of Terraform on Google Cloud](/docs/terraform/terraform-overview).\n\nAfter you update the template, deploy your application to verify your changes.\n\nBefore you begin\n\nComplete the [Create and verify a template](/application-design-center/docs/quickstart-create-template) quickstart.\n\nAdd a component\n\nUse the App Design Center design canvas or\nGemini Cloud Assist to modify your template. \n\nDesign canvas\n\n1. In the Google Cloud console, go to the **Templates** page.\n\n [Go to Templates](https://console.cloud.google.com/products/design-center/templates)\n2. Click the **quickstart-three-tier-web-app** template.\n\n3. In the design canvas, from the **cloud-run-2** component, click\n add **Add** and select\n **Memorystore for Redis**.\n\nGemini Cloud Assist\n\n1. In the Google Cloud console, go to the **Templates** page.\n\n [Go to Templates](https://console.cloud.google.com/products/design-center/templates)\n2. Click the **quickstart-three-tier-web-app** template.\n\n3. In the Google Cloud console toolbar, click\n spark **Open or close Gemini Cloud Assist chat**.\n\n The **Cloud Assist** panel opens.\n4. In Gemini Cloud Assist chat, enter the following prompt:\n\n Update this template to include a backend cache.\n\n5. In the design canvas, review the updated design and click\n **Accept suggestion**.\n\nYour template now contains four components. Lines are displayed between\ncomponents to represent connections.\n\nUpdate the application draft\n\n1. From the design canvas, click **Configure an app**.\n\n2. Click **Quickstart three tier test**.\n\n3. Click **Save**.\n\nThe application draft is updated with the new template.\n\nConfigure the new component\n\n1. In the design canvas, click **memorystore-1** and do the following in the\n **Configuration** area:\n\n 1. From the **Project ID** list, select the descendant project you created in\n [Create and verify a template](/application-design-center/docs/quickstart-create-template).\n\n 2. From the **Zone** list, select `us-central1-a`.\n\n 3. In the **Name** field, enter `cache-redis`.\n\n 4. Click **Save**.\n\nGreen check marks are displayed in each component to convey that you have\nspecified the required parameters. The application draft is ready to be\nredeployed to the TEST environment for verification.\n\nRedeploy the application\n\n1. Click **Deploy**.\n\n2. In the **Select a service account** area, do the following:\n\n 1. Click **Create a new service account**.\n\n 2. Click **Proceed**.\n\n3. To review the Terraform plan for your application, do the following:\n\n 1. Click **Preview**. A Terraform plan is generated after a few minutes.\n\n 2. Review the Terraform plan for your application.\n\n 3. Click **Copy and close**.\n\n 4. Paste the copied Terraform in a document.\n\n4. Click **Deploy**.\n\nThe application is deployed after a few minutes and resources are created in\nyour project. The following details are displayed:\n\n- A link to App Hub, where you can view deployed resource details, including links to monitoring dashboards.\n- Links to Cloud Build logs, which you can use to troubleshoot deployment errors.\n- Outputs like service URIs are displayed, which you can use to interact with deployed resources.\n\nClean up\n\n\nTo avoid incurring charges to your Google Cloud account for\nthe resources used on this page, follow these steps.\n\nDelete the deployed application\n\n1. From the navigation menu, click **Applications**.\n\n [Go to Applications](https://console.cloud.google.com/products/design-center/applications)\n2. From the table, click **Quickstart three tier web app**.\n\n3. Click more_vert\n **Actions** and select **Delete Application**.\n\n4. In the **Delete** field, enter `Quickstart three tier web app`.\n\n5. Click **Delete**.\n\nThe application is deleted, including the following:\n\n- The application details are removed from Application Design Center.\n- The underlying App Hub application is deleted.\n- The underlying resources are deleted.\n\nOptional: Delete the project\n\nTo delete the descendant project you created in the [Create and verify a template](/application-design-center/docs/quickstart-create-template) quickstart, do the\nfollowing:\n| **Caution:** If you delete a project, all resources in the project are permanently deleted.\n\n1. In the Google Cloud console, go to the **Manage resources** page.\n\n [Go to Manage resources](https://console.cloud.google.com/iam-admin/projects)\n2. In the project list, select the project that you want to delete, and then click **Delete**.\n3. At the prompt, type the project ID, and then click **Shut down**.\n\nWhat's next\n\n- [Application Design Center overview](/application-design-center/docs/overview)\n- [Build on Google authored templates](/application-design-center/docs/build-on-google-templates)\n- [Design application templates](/application-design-center/docs/design-application-templates)"]]