Install Portefaix

Instructions for deploying Portefaix infrastructure on GCP


Authenticate on the Google Cloud Platform:

❯ gcloud auth application-default login

Enable APIs:

❯ make -f hack/build/ gcp-enable-apis ENV=dev

Create a bucket for the Terraform tfstates:

❯ make -f hack/build/ gcp-bucket ENV=dev

Create a service account for Terraform:

❯ make -f hack/build/ gcp-terraform-sa ENV=dev

And a key:

❯ make -f hack/build/ gcp-terraform-key ENV=dev

Configure Portefaix environment file ${HOME}/.config/portefaix/

And load environment :

❯ . ./ gcp

Terraform Cloud / Github Actions

Terraform Cloud is used as the remote backend. Github Actions perform tasks to deploy the GCP infrastructure.

Configure Terraform Cloud workspaces:

❯ make terraform-apply SERVICE=terraform/gcp/terraform-cloud ENV=dev
Portefaix GCP deployment

Gitops for Kubernetes

See : Gitops with FluxCD or Gitops with ArgoCD

Last modified 05.01.2022: Add: GCP architecture diagram (e35cb12)