Managing Instances of an App
Serverless Cloud lets developers manage different types of instances of an app by editing or deleting the instance, promoting an instance to another instance, overriding inherited parameters, monitoring with logs and metrics, and assigning custom domains to stages.
Developers can create an instance from the dashboard by clicking on the Create App button on the instances list. Note that you can only create a stage from the Serverless Cloud Dashboard. You can’t create a developer sandbox, a preview instance or a test instance using the dashboard.
Developers can edit an instance by changing the name and the description of it. This could be done using either on the Instance list view from the drop-down menu for an instance or from the Settings tab of the selected instance on Instance detail view.
Developers can delete an instance either on the Instance list view from the drop-down menu for an instance or from the Settings->Danger Zone of the selected instance on Instance detail view. Note that an additional challenge step is required to prevent erroneous deletion of instances.
Developers can promote an instance to another instance. Note that both source and target instances should be “stages.” Promoting is used for copying the code from one stage to another in the cases where you want to prevent direct deployments to some stages like production. For example; you can promote the
production stage when you complete the manual and automated tests on your staging instance.
Developers are allowed to override the parameters inherited from organization and app levels for an instance from the Parameters tab of the selected instance. For example; you might want to override the development keys for your Stripe account for your production instance.
Developers can edit the code attached to their instances by clicking on the “Edit Code” button on the top-right corner of the screen. This will let them clone the code and the data of the instance and start working on the app immediately.