Google Cloud Platform#
To deploy FLINT.Cloud to GCP, we provide a production grade setup using a Layered Architecture setup on top of the Google Cloud. In this setup we use Terraform, an Infrastructure-as-a-Code tool, to deploy the infrastructure and the applications we want to use.
To deploy the FLINT.Cloud to GCP, follow these steps:
Create a GCP service account with project owner permissions in your project. This is used by Terraform to provision all the necessary resources.
Copy
main.tf
from thelayered
directory of this repository to your Cloud Console machine.In
main.tf
, change the project variable to yourproject ID
. Change any other variables, if necessary.Download the key in JSON format for the service account created in
Step 1
to your project’s Cloud Console machine. Rename it toservice_account.json
.Run
terraform apply
. After this command finishes, it should output the URL to FLINT Cloud (ingress).
To tear down the infrastructure and delete the application, run
terraform destroy
in the same directory where main.tf
is
present. If this fails, run it again.