three-tier-app
GoogleCloudPlatform/three-tier-app/google
Deploys a three tier web application using Cloud Run and Cloud SQL
Three-tier web app Tagline Create a web app using a three-tiered architecture Detailed This solution quickly and securely creates a web app using a three-tiered architecture with a front end, middleware, and back end (PostgreSQL database). You can choose whether to deploy your solution through the console directly or download as Terraform on GitHub to deploy later. Architecture 1. User requests are sent to the front end, which is deployed on two Cloud Run services as containers to support high scalability applications. 1. The request then lands on the middle tier, which is the API layer that provides access to the backend. This is also deployed on Cloud Run for scalability and ease of deployment in multiple languages. This middleware is a Golang based API. 1. The frequent requests are cach
| Name | Type | Description | Default |
|---|---|---|---|
| zone | string | The Compute Zone to deploy to | required |
| project_id | string | The project ID to deploy to | required |
| region | string | The Compute Region to deploy to | required |
| deployment_name | string | The name of this particular deployment, will get added as a prefix to most resou | "three-tier-app" |
| labels | map(string) | A map of labels to apply to contained resources. | {
"three-tier-app": true
} |
| enable_apis | string | Whether or not to enable underlying apis in this solution. . | true |
| run_roles_list | list(string) | The list of roles that run needs | [
"roles/cloudsql.instanceUser",
"ro |
endpoint — The url of the front end which we want to surface to the usersqlservername — The name of the database that we randomly generated.neos_toc_url — The URL to launch the in-console tutorial for the Three Tier App solutionCreates a global HTTP load balancer for Compute Engine by using forwarding rules
Creates a Cloud SQL database instance
Creates an internal load balancer for Compute Engine by using forwarding rules
Creates a regional TCP proxy load balancer for Compute Engine by using target po