CLI Tutorial: Environment Start/Stop
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 Start/Stop 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 most common operations for environment management performed by the CLI include starting and stopping operations. Using this method can significantly reduce costs, especially for development and testing environments (for example, You can stop using it at night and start again in the morning for further development.)
1. To temporarily stop the unwanted environment, run the following command. (must replace{env_name}with the associated environment name)
~/jelastic/environment/control/stopenv --envName {env_name}
You will see the CLI respond with "result" : 0 meaning the operation completed successfully and without errors.
2. After that you can start the environment with similar startenv method and make it available again:
~/jelastic/environment/control/startenv --envName {env_name}
That's it, you can easily manage your environment.