CLOUD PAAS / DEVELOPMENT TOOLS

CLI Tutorial: Environment Cloning

This guide has been reviewed and reformatted for Ruk-Com Cloud PaaS. Screens may vary slightly by platform version.

Click or tap a screenshot to view it at its original size.

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.