This page describes the current startup and provisioning process for the collaboration tools on the cloud.
Phase States
- Instance Start-up
- Configuration
- Run
Each component needs the equivalent of a start-up script.
Instance Start-up
Each component of the collaboration tools has a machine image that contains all needed applications and software dependencies. A provisioning script for each component uses parameters from a tracking repository to start an instance and configure the applications on this instance. The basic startup process for an instance is as follows:
- Provisioner retrieves AMI-ID, EBS volumes, user data and other startup paramters from the tracking repository
- Provisioner starts an instance of an AMI using these paramters
- Provisioner waits for AMI to startup and then attached EBS volumes
- Provisioner updates tracking repository with information about the instance such as public, private dns
- Provisioner makes any necessary updates to other interconnected components (such as the web server or SSO service)
Configuration of Applications
Once the instance has booted, volumes must be mounted and applications configured before they can be started. These configuration parameters are stored and retrieved as the user-data for this instance and used by a shell script to mount the volumes and configure the apps.
Start Applications
Once the apps are configured, a shell script then starts the applications.