Skip to main content
Version: v10.15

WaveMaker Enterprise Setup on Google Cloud Platform


Prerequisite

Firewall Rules for Platform and StudioWorkspace Instance / AppDeployment Instance

Applies for Workspace Instance/App Deployment Instance

Create firewall rules for developer network access to the Platform Instance

  • Provide basic details name and network details for firewall.

network details

  • Select target type and source filter type.by using the target we can connect the firewall rule to Instance. example the which Instance have target tag the firewall is connect to that Instance and by using the source we can open ports to specific Instance. example the which Instance have a source tag the ports will be open to that Instance. we provide this tags at network section during the Instance creation.or else you can select your own Target and Source methods.

ports details

Create a firewall rule for Platform Instance

Applies for access from the StudioWorkspace Instance / AppDeployment Instance

  • Provide basic details name and network details for firewall.

network details

  • Select target type and source filter type.by using the target we can connect the firewall rule to Instance. example the which Instance have target tag the firewall is connect to that Instance and by using the source we can open ports to specific Instance. example the which Instance have a source tag the ports will be open to that Instance. we provide this tags at network section during the Instance creation.or else you can select your own Target and Source methods.

ports details

Create firewall rule for StudioWorkspace Instance / AppDeployment Instance

Applies for access from the Platform Instance

  • Provide basic details name and network details for firewall

network details

  • Select target type and source filter type. by using the target we can connect the firewall rule to Instance. example the which Instance have target tag the firewall is connect to that Instance and by using the source we can open ports to specific Instance. example the which Instance have a source tag the ports will be open to that Instance.we provide this tags at network section during the Instance creation.or else you can select your own Target and Source methods.

port details

Creating a Platform Instance

  • Select region,zone and provide name for Instance.select machine type with minimum 16 GB memory.

instance region

  • Select image or snapshot for creating boot disk.select operating system as ubuntu and version as ubuntu 16.04 LTS.

boot disk

  • Provide ssh key details in security for accessing the Instance.

ssh details

  • At disk section create disks for wm-data and wm-runtime with 150 and 50 GiB.

disk

  • At network section provide respected network tags of your firewall if you using source and target tags at firewall rules and create Instance.

network

Creating a StudioWorkspace Instance / AppDeployment Instance

Applies for Studio Instance/App Deployment Instance

  • Select region,zone and provide name for Instance.select machine type.

region

  • Select image or snapshot for creating boot disk.select operating system as ubuntu and version as ubuntu 16.04 LTS.

boot disk

  • Provide ssh key details in security for accessing the Instance.

ssh

  • At disk section create disk for StudioWorkspace Instance / AppDeployment Instance usage with minimum of 100 GiB.

disk

  • At network section provide respected network tags of your firewall if you using source and target tags at firewall rules and create Instance.

network

Mounting Storage volumes in Instances

Mounting Disks in Platform Instance

  • For ssh into the Platform Instance use the following command.
  • For login use the following command
ssh -i /path/to/ssh-privatekey username@ipaddress
  • Check your list of block devices available by using the following command.
lsblk
  • New volumes are raw block devices, and you must create a file system on them before you can mount and use them. For creating file systems use following command.
Command : mkfs -t ext4 /dev/<block-device-name_1>
mkfs -t ext4 /dev/<block-device-name_2>
Example :
mkfs -t ext4 /dev/sdd
mkfs -t ext4 /dev/sdc
  • Use the mkdir command to create a mount point directory for the volume. The mount point is where the volume is located in the file system tree and where you read and write files to after you mount the volume. for wme-setup create two directories.create directories using the following commands.
mkdir /wm-data /wm-runtime
  • Use the following command to mount the volume at the directory.
Command :  
mount /dev/<block-device-name_1> /wm-data
mount /dev/<block-device-name_2> /wm-runtime
Example :
mount /dev/sdc /wm-data
mount /dev/sdd /wm-runtime

volume mounting

  • To mount an attached Disk on every system reboot, add an entry for the device to the /etc/fstab file.
  • Take UUID of disks for identification by using the command.
blkid
  • Entry the UUID of the disks in fstab.use the following format
UUID=<block-device_1-UUID>    /wm-data     ext4   defaults ,nofail  0  2
UUID=<block-device_2-UUID> /wm-runtime ext4 defaults ,nofail 0 2

fstab

Mounting Disks in StudioWorkspace Instance / AppDeployment Instance

note

Applies for StudioWorkspace Instance/AppDeployment Instance

  • For ssh into the platform virtual machine use the following command.
  • For login use the following command.
ssh -i /path/to/ssh-privatekey username@ipaddress
  • Check your list of block devices available by using the following command.
lsblk
  • New volumes are raw block devices, and you must create a file system on them before you can mount and use them. For creating file systems use following command.
Command : mkfs -t ext4 /dev/<block-device-name>
Example : mkfs -t ext4 /dev/sdc
  • Use the mkdir command to create a mount point directory for the volume. The mount point is where the volume is located in the file system tree and where you read and write files after you mount the volume. For WME-Setup, create two directories using the following commands.
mkdir /data
  • Use the following command to mount the volume at the directory.
Command: mount /dev/block-device-name    /data
Example: mount /dev/sdc /data

volume mounting

  • To mount an attached Disk on every system reboot, add an entry for the device to the /etc/fstab file.
  • Take UUID of disks for identification by using the command.
blkid
  • Entry the UUID of the disks in fstab.use the following format.
UUID=<your-block-device-UUID>    /data     ext4     defaults ,nofail  0  2

fstab

What's next