The CLI-Suite facilitates daily work with Platform via the command line and helps with individual automations. A special add-on to the CLI-Suite is dedicated to containers. |
The CLI-Suite facilitates daily work with Platform via the command line and helps with individual automations. Examples of CLI commands are the overview of currently running EC2 instances, backup of MySQL databases or clearing the Varnish cache and AWS Cloudfront. A special add-on to the CLI-Suite is dedicated to containers. Thus, the tools simplify the handling of cloud environments by simple CLI commands.
The cloud management CLI-suite “r3” is only available on the Bastion Host/Jump-Server of your environment. It is not available on other instances like Web-Servers. Other independently provided tools may be available on other kinds of systems, but are out of scope.
CLI-suite's purpose is:
to ease manual tasks for developers or other representatives of our customers with command line access
to allow integration with customer CI/CD tools for process automation
As shown in the code blocks below, you can invoke the tool suite by just typing the command r3 in console. From there you can get the information, which capabilities it provides. The list of available services can differ between environments!
From the example you can see, that for the example environment operations for only 2 services are available (instance and db).
|
You can obtain more detailed information for each specific service like shown in the following.
|
Furthermore specific information for available operations of each service can be obtained like shown below.
|
In order to have fast access to the most important functions the command line suite supports some shortcuts, called Aliases.
For example r3 discover is a shortcut for r3 env discover. The former takes the same arguments as the later. To get used to the shortcuts you can use the described help-functions shown above.
The aliases can be differentiated from the services easily. all Aliases are verbs, whilst all services are named by nouns.
Pick one level and also add as tag to page
BASIC