Deploy on GCP
Using Terraform
Introduction
Google Cloud Platform is one of the world's three most popular cloud providers. It offers a high-performance infrastructure for cloud computing, data analytics & machine learning. Secure, reliable, and high-performance cloud services.
At the moment, memphis utilizing Terraform to automate the entire deployment process from VPC creation, to K8S, to memphis deployment.
Terraform codifies cloud APIs into declarative configuration files.
Prerequisites
A GCP Project + GCP Service Account Key
gcloud SDK + CLI installed, configuration depends on station OS.
Authorize the SDK to access GCP using your user account credentials
Enable API services:
Adjust the "N2_CPUS" quota according to your region. (Default is 8, increase to at least 12)
Terraform is installed
Kubectl is installed
helm is installed
Terraform Installation Flow
Step 0: Clone Memphis-Terraform repo
Step 1: Deploy GKE Cluster using Terraform
In this step, you will need your projectID
.
Memphis uses "makefile
" instead of running three terraform commands
Step 2: Deploy Memphis
Once deployment is complete, the Memphis Load Balancer URL will be revealed.
Step 3: Login to Memphis
Display memphis load balancer public IP by running the following -
The UI will be available through https://<Public IP>:9000
Appendix A: Clean (Remove) Memphis Terraform deployment
Destroy Memphis App -
It might take a few minutes for the ALB to be deleted.
Destroy Memphis GKE Cluster -
Last updated