Giter Club home page Giter Club logo

gcp-quickstart's Introduction

GCP Mendix quickstart

GCP GKE Mendix Private Cloud Quickstart

Scripted install of GKE Cluster in Google Cloud.
Install Nginx Ingress controllers
Configure Namespace for Mendix either for Connected or Standalone mode
Deploys a demo Mendix application
If Standalone mode is selected, it also installs Tekton Pipelines and Dashboard
Installs Grafana, Prometheus and Loki.

Prerequisites:

For GCP GKE

- Install the gcloud CLI : https://cloud.google.com/sdk/docs/install
- Initialize the gcloud CLI: https://cloud.google.com/sdk/docs/initializing
- A valid GCP subscription
- kubectl
- helm
Note: This has been tested on an Apple Macintosh only

Configurations

Create the following env-gcp file

env-gcp.sh

  • export PROJECT_ID= TODO

  • export GKE_ARTIFACTS_REGISTRY=mendix-test

  • export GKE_CLUSTER_NAME=mendix-quickstart

  • export GKE_REGION=TODO ` #Connected Mode

  • export CLUSTER_ID=TODO

  • export CLUSTER_SECRET=TODO

  • export AKS_NAMESPACE= TODO`

#Tekton

  • export PATH_TO_HELM= TODO # usually the current working directory
  • export URL_TO_YOUR_REPO_WITHOUT_TAG=TODO
  • export YOUR_NAMESPACE=TODO # where Mendix Operator is installed
  • export SOME_UNIQUE_NAME=TODO

Ensure that you can run mxpc-cli

Your Mac's security settings may prevent the downloaded mxpc-cli from executing.

. ./mxpc-cli -help

Create Cluster, Configure and Deploy Mendix application

Default is connected mode

. ./do-all.sh connected
      or
. ./do-all.sh standalone

Mendix application

Mendix application will be available at appurl seen in MendixCR or at Ingress ( kubectl get ing -A)

Prometheus

Available at the external ip address of the prometheus svc port 9090

kubectl get svc -n grafana | grep -i Loadbalancer

Example: http://ab5b2c0d274690ae9d506d21ed876-1145176934.us-east-2.elb.amazonaws.com:9090/

Tekton

  • Tekton dashboard will be exposed at port 9097
  • Tekton listener will be forwarded to port 8080 ( only Generic HTTP listener is installed in the procedure).`

Deleting the cluster

./del-gke-cluster.sh will delete the cluster and artifacts

References

Install the Mendix components on the cluster using the instructions here - https://docs.mendix.com/developerportal/deploy/private-cloud-cli-non-interactive

gcp-quickstart's People

Contributors

pablogd-mx avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.