https://github.com/trillo/trillo-custom-cloud-docs/raw/master/images/trillo-complete-logo-100x34.pngager](https://cloud.google.com/deployment-manager/overview) template which deploys a Google Kubernetes Engine cluster and a Deployment Manager type to deploy a fully-functional Trillo RunTime environment.
High level diagram (Coming Soon)
This calculator quote provides an estimate of the monthly cost of the resources provisioned.
Before you deploy the sample you’ll need to make sure a few things are in order:
Create a new project in the Google Developer Console and note the new project’s ID.
In the APIs & Services of the Google Developers Console of your new project, enable the following APIs:
Install the Cloud SDK version
185.0.0 or greater using these instructions.
Authenticate to gcloud:
$ gcloud auth login
Set your project and zone:
$ gcloud config set project YOUR_PROJECT_ID $ gcloud config set compute/zone <your-cluster-zone>
$ gcloud components update kubectl
Create a new MYSQL instance and update trillo-rt.yaml by providing correct values of DEFAULT_DATA_SERVER_HOST, DEFAULT_DATA_SERVER_PORT, DEFAULT_DATA_SERVER_USERNAME and DEFAULT_DATA_SERVER_PASSWORD.
Update trillo.sh and update database access info in the similar way. Additionally, provide your DOCKERHUB_USER, DOCKERHUB_PASS and DOCKERHUB_EMAIL. The dockerhub repos are private and are available only after permitted by trillo.io
Using Deployment Manager to deploy Trillo RT resources into a new GKE cluster is a two step process, as described below.
$ make setup
$ make create
$ make get
$ make delete