Skip to content

Commit a90122c

Browse files
authored
Merge pull request #2086 from mia-platform/IDP-2852/env-based-mgmt-doc
Env based management doc
2 parents b99388c + ac7061e commit a90122c

File tree

5 files changed

+85
-0
lines changed

5 files changed

+85
-0
lines changed
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
---
2+
id: env-based-management
3+
title: Environment Based Configuration Management
4+
sidebar_label: Environment Based Configuration Management
5+
---
6+
7+
Environment Based Configuration Management represents a significant evolution in project management, introducing a unified approach that seamlessly integrates Project Revisions with Project Environments. This thoughtful integration transforms Project Environments into a comprehensive solution for managing both Project Configuration and Runtime operations, streamlining the entire development workflow.
8+
9+
## Key Concepts and Overview
10+
11+
- Each Environment has its own dedicated configuration, replacing the previous revision-based system.
12+
- Environments are categorized into two types: Virtual Environments and Runtime Environments.
13+
- Deployment capabilities are exclusive to Runtime Environments, which can be versioned and deployed to clusters.
14+
- All new Projects, using the Enhanced Workflow, automatically utilize this enhanced environment-based management system.
15+
- Configuration changes can be promoted between environments using the Environment promotion feature.
16+
- Version control is managed at the individual environment level rather than project-wide.
17+
- The Environment variables section displays only the variables specific to the currently selected environment configuration.
18+
- Runtime Environments can be deployed using either the latest configuration or a specific versioned configuration.
19+
20+
## Environment Types
21+
22+
![Migration Process](img/environments-table.png)
23+
24+
Environment Based Management introduces two distinct environment categories that work together to provide a comprehensive project management solution:
25+
26+
- **Virtual Environments** serve as dedicated spaces for managing and iterating on your Project configurations. These environments allow teams to experiment with different configuration setups, test changes, and maintain multiple configuration versions without affecting live systems.
27+
28+
- **Runtime Environments** take configuration management a step further by connecting virtual environments to actual clusters. This enables teams to not only manage configurations but also deploy and execute them in selected runtime environments. Runtime environments bridge the gap between configuration management and actual system deployment, providing a seamless path from development to production.
29+
30+
## Configuration Management
31+
32+
### Configuration Snapshots
33+
34+
Both environment types maintain configuration snapshots that preserve project design elements, including: microservices, endpoints and so on.
35+
36+
These snapshots form a sequential chain, with each snapshot referencing its predecessor. The most recent snapshot represents the current environment configuration.
37+
38+
### Version Control
39+
40+
Users can designate specific configuration snapshots by creating named environment configuration versions. For Runtime environments, versioned configuration snapshots can be deployed to the runtime environment.
41+
42+
## Migration Process
43+
44+
![Migration Process](img/migration-process.png)
45+
46+
When you're ready to embrace Environment Based Management for your existing projects, the transition process is straightforward and accessible through the Console UI. As a Company Owner, you'll notice a helpful migration prompt the first time you access your Project after this feature becomes available.
47+
48+
If you're not ready to proceed with the migration immediately, don't worry - you can either click 'Skip' or simply close the migration dialog. The system will remind you about the pending migration by showing the prompt again the next day, ensuring you won't forget about this important transition.
49+
50+
To ensure a smooth transition while maintaining the integrity of your existing revision versions, we offer two flexible migration methods that you can choose from based on your specific needs and preferences:
51+
52+
### Automatic Migration
53+
54+
Before proceeding with the automatic migration, there are several important prerequisites that must be met:
55+
56+
First, ensure that all project environments have been deployed at least once. This is essential for maintaining configuration history and ensuring a smooth transition.
57+
58+
Second, when migrating, runtime environments will automatically inherit the configuration from their most recently deployed revision. This preserves your current operational state.
59+
60+
Finally, during the migration process, all existing revisions will be converted into virtual environments, maintaining your complete configuration history and development workflow.
61+
62+
### Manual Migration
63+
64+
The manual migration process provides users with more control and flexibility over how their project configurations are transferred. Here's how it works:
65+
66+
During the manual migration, you'll have the opportunity to carefully select and configure various aspects of your environments. First, you'll be able to choose specific configuration snapshots for each of your Project Environments, allowing you to precisely define the starting point for each environment. Next, you'll have control over which existing revisions should be converted into virtual environments, enabling you to maintain only the most relevant historical configurations.
67+
68+
## Environment Configuration Promotion
69+
70+
![Promotion](img/promotion.png)
71+
72+
The Environment Configuration Promotion feature enables you to efficiently synchronize configurations across your environments. Whether you're working with virtual or runtime environments, you can seamlessly propagate configuration changes to maintain consistency throughout your project.
73+
74+
Key capabilities:
75+
76+
- Promote configurations between any environment types
77+
- Select specific environment variables to transfer
78+
- Review and merge design configurations using an interactive diff editor
79+
- Maintain granular control over which settings to keep or update in target environments
80+
81+
This streamlined process helps ensure configuration consistency while giving you full control over the promotion workflow.
115 KB
Loading
202 KB
Loading
163 KB
Loading

sidebars.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,10 @@
422422
{
423423
"id": "development_suite/set-up-infrastructure/new-deployment-workflow",
424424
"type": "doc"
425+
},
426+
{
427+
"id": "development_suite/set-up-infrastructure/env-based-management",
428+
"type": "doc"
425429
}
426430
]
427431
},

0 commit comments

Comments
 (0)