An infrastructure in LifeTime comprises all environments (i.e., OutSystems platform installations) that compose your factory. An example of and infrastructure can be:
- Development environment: where applications are developed;
- Quality environment: where applications are tested;
- Production environment: where applications are used by end-users.
In LifeTime, an infrastructure is created by registering each environment individually. It is important to add them by the same sequence they have in the factory because it will facilitate the setup work.
In the previous example, environments should be registered by the following order:
While registering an environment, there are some steps to configure security assets: Roles and IT Users. The reason is that LifeTime centrally manages roles and IT users across the whole infrastructure. Therefore, when you register an environment, LifeTime imports its roles and IT users to consolidate them for central management.
For more detailed information, check LifeTime Installation and Configuration.
Set Up the Infrastructure
Using the example from the introduction, create an infrastructure with Development, Quality, and Production environments (respecting this order).
Register the First Environment: Development
Start with the first environment in the factory: Development. Provide the URL of the environment and click on 'Register'.
Next, configure the security for roles and IT users imported from the environment. In both steps, choose the lowest permissions. Later it can be adjusted to the whole infrastructure in User Management.
After configuring the roles and IT users, click on 'Register Environment' and the Development environment is created.
LifeTime applies a name by default to the environment, but you can change it by clicking on 'Edit'.
Register the Rest of the Environments
Register the Quality and Production environments by this order. For that, use the 'Register an Existing Environment' link and repeat the procedure used for registering Development. When finished click on Done.
Manage the Infrastructure
Add and Remove Environments
At any time, you can add or remove environments by going to Infrastructure and clicking on the 'Manage Environments' link:
- Add an Environment: click on 'Register an Existing Environment' to add an environment;
- Remove an Environment: click on 'Edit' of the environment and click on 'Unregister environment'.
After adding an environment, you can move it back and forth in the sequence using the Switch Order operation (shown between environments).
Manage an Environment
To manage each environment individually, go the Infrastructure, click on 'Manage Environments', and use the links available on each environment:
- Environment Health: to monitor the health of elements like timers, processes, or the status of the mobile apps build service;
- Configuration: to configure the environment behaviors like date formats or building mobile apps;
- Environment Security: to configure security settings for applications, like HTTPS or Content Security Policy.