Application Lifecycle Management
Three methods are co-existing to manage your applications on the Scalingo:
-
Web Dashboard: The simplest way to manage your applications, use any browser create/scale/transfer/delete applications.
-
CLI: More comfortable with terminals or you want to build scripts to control applications, the command line interface, available for all major operating system, is able to achieve any operation the web dashboard can do.
-
HTTP API: The web dashboard and the CLI are both consuming this API, if you need to automate behaviors by managing applications in a programmatic way, you can directly target our API.
Create an Application
Creating an application is the first thing done on the platform. Once an app is created, the possibility to deploy your code, provision databases, invite collaborators are available.
Web Dashboard
Where:
- Dashboard homepage, button
+ CREATE NEW APP
- Any page of the dashboard, bottom-left button
+
Actions: Give a name, choose addons and validate
Command Line
The subcommand create
is dedicated to creating applications:
$ scalingo create <appname>
# Create a new app with a custom Git remote
$ scalingo create my-app --remote staging
# Create a new app with a custom buildpack
$ scalingo create my-app --buildpack https://github.com/Scalingo/multi-buildpack
Rename an Application
Web Dashboard
Where: Settings
tab of the application, button RENAME THIS APP
Condition: Logged in user should be the application owner
Actions: Fill confirmation form, choose a new name and click on RENAME
Transfer Ownership of an Application
You may want to transfer an application to someone else. In this case you have to invite this person as a collaborator of the application. Then you will be able to transfer them the application.
This operation will not affect the application, nothing regarding the configuration or the runtime of the app will be modified.
This operation is only achievable from the Scalingo dashboard.
Invite the future owner
- Go in the collaborators tab
- Invite the person you want to transfer the application to
Accept the collaboration
this step should be done by the user which has been invited
- Click on the validation link you’ve received by email, you’ll have to login if you were unauthenticated.
The account is now collaborator of the application.
Transfer to the new owner
- Go in the ‘Settings’ tab
- In the ‘Transfer the application’ part, choose the collaborator which should receive the app
- Validate the transfer
After this step, the previous owner becomes a simple collaborator of the application.
Delete an Application
Web Dashboard
Where: Settings
tab of the application, button DELETE THIS APP
Condition: Logged in user should be the application owner
Actions: Fill confirmation form and validate operation
Command Line
Subcommand destroy
:
$ scalingo destroy <appname>
# Example
$ scalingo destroy my-app
/!\ You're going to delete my-app, this operation is irreversible.
To confirm type the name of the application: my-app
-----> App my-app has been deleted