You are on page 1of 2

CLI Cheat Sheet

Manage Apps
Apps are equivalent to repositories and can have multiple deployments create app delete app show app details create custom app $ cctrlapp $ cctrlapp $ cctrlapp $ cctrlapp APP_NAME APP_NAME APP_NAME APP_NAME create delete create details custom --buildpack BUILDPACK_REPOSITORY_URL [Java, PHP, Python, Ruby]

Manage Deployments
Deployments are running versions of the app for development, staging and production enviroments. push changes deploy version with specific stack $ cctrlapp $ cctrlapp APP_NAME/DEP_NAME APP_NAME/DEP_NAME push [PATH_TO_LOCAL_BRANCH] [--containers 1..8] [--memory 128MB..1024MB] [--stack STACK] [VERSION] undeployed version show deployment details $ cctrlapp $ cctrlapp APP_NAME/DEP_NAME APP_NAME/DEP_NAME undeploy details

deploy

Use Own Domains


Access your deployments using custom domains. Simply add an alias and set a CNAME record pointing to dep_name.app_name.cloudcontrolled.com show aliases add alias remove alias $ cctrlapp $ cctrlapp $ cctrlapp APP_NAME/DEP_NAME APP_NAME/DEP_NAME APP_NAME/DEP_NAME alias

alias.add

www.example.org www.example.org

alias.remove

Manage Add-ons
Add-ons include databases, caches, message queues and performance tools. Credentials to use them are provided by the cloudControl platform. info on all used add-ons show credentials for used add-ons show all available add-ons add add-on remove add-on upgrade add-on downgrade add-on $ cctrlapp $ cctrlapp $ cctrlapp $ cctrlapp $ cctrlapp $ cctrlapp $ cctrlapp APP_NAME/DEP_NAME APP_NAME/DEP_NAME APP_NAME/DEP_NAME APP_NAME/DEP_NAME APP_NAME/DEP_NAME APP_NAME/DEP_NAME APP_NAME/DEP_NAME addon

addon.creds addon.list addon.add

[ADDON.SIZE] ADDON.SIZE ADDON.SIZE ADDON.CURRENT ADDON.NEW ADDON.CURRENT ADDON.NEW

addon.remove

addon.upgrade

addon.downgrade

Access Logs
Access all relevant logs through simple commands. You can use grep-patterns to filter the output. show deploy log show access log show error log show worker log $ cctrlapp $ cctrlapp $ cctrlapp $ cctrlapp APP_NAME/DEP_NAME APP_NAME/DEP_NAME APP_NAME/DEP_NAME APP_NAME/DEP_NAME log log log log [-g FILTER] [-g FILTER] [-g FILTER] [-w WORKER-ID] [-g FILTER] deploy access error worker

Manage Developers Access


Add or remove developers to the app. list all users with app access add user by email to the app remove user by email to the app $ cctrlapp $ cctrlapp $ cctrlapp APP_NAME APP_NAME APP_NAME user

User Management
user.add user@example.org user@example.org

user.remove

Manage Your User Account


Add or remove developers to the app. create user account activate user account delete user account show list of SSH keys show SSH key add public SSH key remove public SSH key logout $ cctrluser $ cctrluser $ cctrluser $ cctrluser $ cctrluser $ cctrluser $ cctrluser $ cctrluser create delete key key [--name USERNAME] [--email EMAIL] [--password PWD] USERNAME ACTIVATION_CODE

activate

[KEY_ID]

key.add logout

key.remove [KEY_ID]

Maintenance
Add or remove developers to the app. Start Bash onto Container Start special task in a container $ cctrlapp $ cctrlapp APP_NAME/DEP_NAME APP_NAME/DEP_NAME run run bash COMMAND_TO_EXECUTE

Find the complete documentation at the cloudControl Development Center Apps

>

www.cloudcontrol.com/dev-center

Programming Languages

Frameworks

Available Technologies

Version Control Systems

cron

and many more...

and many more...

cloudControl GmbH www.cloudcontrol.com

Helmholtzstr. 2-9 D-10587 Berlin

fon: +49 30 60 98 84 89 0 fax: +49 30 60 98 84 89 2

You might also like