Ruk-Com PaaS Documentation

Build, deploy and operate applications on the platform.

RUK-COM PAAS / DEVELOPMENT TOOLS

CLI Tutorial: Environment Cloning

This guide is maintained for Ruk-Com PaaS. Screens and options may vary by platform version and account permissions.

Confirm the environment, region and account permissions, and back up current settings before changing a production system.

Objective

This guide explains how to use CLI Tutorial: Environment Cloning on Ruk-Com Cloud PaaS, with ordered procedures and practical verification points.

Before you begin

  • Sign in with an account permitted to manage the relevant environment.
  • Confirm the target environment, region and resources before saving changes.
  • Create a backup or rollback plan before changing a production system.

The CLI still supports the environment cloning feature and can be easily invoked to help you create new branches/multiple versions of your application. So if you want to duplicate the environment, execute the following command:

~/jelastic/environment/control/cloneenv --appid  {src_env} --domain  {new_env}

where:

  • {src_env}- The name of the environment you will clone.
  • {new_env}- The name of the environment you copied.