Thanks for joining us on November 27-29, 2018 at the Gartner Application Strategies & Solutions Summit 2018 in Las Vegas, USA.

Skip to end of metadata
Go to start of metadata

Google Cloud Platform is Google's cloud computing and hosting platform. The Compute Engine is a part of the Google Cloud Platform that runs virtual machines (VM) on Google's high performance, scalable infrastructure. 

As an open source platform to easily build enterprise web apps for cloud and mobile, Joget Workflow is a good complement for the Google Cloud Platform. 


  

This article describes the steps required to deploy Joget Workflow on a Linux VM using the Compute Engine. You can also use other OS platforms (e.g. Windows, OSX, etc) by adapting the commands accordingly.

 

Google Cloud Platform now has an always-free tier that allows you to host servers without cost.
However, do note that the free tier is limited, and it is recommended to choose an appropriate machine type for your requirements.

 

Step 1: Signup for Google Cloud Platform


Signup for the Google Cloud Platform at https://console.cloud.google.com/freetrial

 

Step 2: Install the Cloud SDK


Install the Cloud SDK on your PC following the instructions in https://cloud.google.com/sdk/docs/quickstarts

Important Note

In the Quickstart, you must complete the section "Before you begin" and "Initialize the SDK". After which, you may see the following messages.

Not setting default zone/region (this feature makes it easier to use [gcloud compute] by setting an appropriate default value for the --zone and --region flag).

See https://cloud.google.com/compute/docs/gcloud-compute section on how to set default compute region and zone manually. If you would like [gcloud init] to be able to do this for you the next time you run it, make sure the Compute Engine API is enabled for your project on the https://console.developers.google.com/apis page.

You must also enable "Google Compute Engine API" at https://console.developers.google.com/apis for the project (created automatically for you if you have none) in order to continue with the next step.

 

Step 3: Create a new Linux VM

 

Once the Cloud SDK is installed and verified to be working, create a new Linux VM using the following commands:

On Linux
On Windows

 

If you are using a low-memory machine type (e.g. f1-micro), then you will need to add swap space:

On Linux
On Windows


Step 4: Deploy Joget Workflow in the VM


Run the following commands to download and install Joget Workflow Enterprise Edition:

On Linux
On Windows

 

Deployment may take several minutes (depending on the type of VM) so be patient.

Monitor the logs using:

On Linux
On Windows

 

The deployment is complete once you see the following in the logs:

Press CTRL-C to stop viewing the logs.

Step 5: Add Firewall Rule for Default Apache Tomcat Port 8080


The default installation bundle runs on Apache Tomcat port 8080. Add a firewall rule to allow traffic to access the default Apache Tomcat port 8080:

More information available at https://cloud.google.com/compute/docs/networking#addingafirewall

 

Step 6: Access Joget Workflow installation


Check the external IP of the VM instance by running the command:


Browse to your Joget Workflow installation at http://VM_EXTERNAL_IP:8080/jw, and get started with Apps and the App Center.

 

  • No labels