Automation of Qlik Sense for Elastic (QSEfE) deployment in Google Cloud Platform (GCP). Currently I have not found a way to run the required installation shell scripts directly in GKE's GCE instances, so the QSEfE installation is deployed for client side.
See Windows Subsystem for Linux as an option to run this from a Windows client.
- Qlik license
- Qlik Sense for Windows (QSEfW) on a central node
- SSO IdP that supports OIDC and SAML
- Terraform - Infrastructure as code
- Gcloud SDK - Google Cloud Platform (GCP) interaction
- kubectl - Kubernetes CLI
- helm - Kubernetes applications manager
The deployment requires an account with remaining credits or with enabled billing.
- Login to GCP
gcloud auth login [email protected]
- Create project for QSEfE deployment
gcloud projects create qsefe-gke-tf --name='QSEfE in GKE through Terraform'
- Set new project as active
gcloud config set project qsefe-gke-tf
- Add service account to project
gcloud iam service-accounts create qsefe-sa --display-name='QSEfE Service Account'
- Create GCP account file
gcloud iam service-accounts keys create account.json --iam-account [email protected]
- Bind servcie account to required roles
- Kubernetes Engine Admin
gcloud projects add-iam-policy-binding qsefe-gke-tf --member serviceAccount:[email protected] --role roles/container.admin
- Compute Engine Admin
gcloud projects add-iam-policy-binding qsefe-gke-tf --member serviceAccount:[email protected] --role roles/compute.admin
- Kubernetes Engine Admin
variables.tfvars.template contains a template for defining the variables used by terraform manifests
- Copy variable template
cp variables.tfvars.template variables.auto.tfvars
- Edit variable to match your setup and requirements
vim variables.auto.tfvars
- Terraform automatically picks up variables from .auto.tfvars files
terraform plan
- Login to GCP
gcloud auth login [email protected]
- Initiate Terrafrom
terraform init
- Validate config
terraform plan
- Deploy GCP infrastructure and install Qlik Sense for Elastic
terraform apply
- Deploy Qlik Sense
terraform destroy
This project is provided "AS IS", without any warranty, under the MIT License - see the LICENSE file for details