Wiki source code of Apply to environment

Version 2.1 by eMagiz on 2022/06/09 11:56

Show last authors
1 {{container}}
2 {{container layoutStyle="columns"}}
3 (((
4
5
6 In this microlearning, we will focus on the "apply to environment" action. As we saw in previous microlearnings and will see in microlearnings to come with regards to cloud management is that some actions in Deploy Architecture have a direct effect (i.e. Slot Wakeup, Restart Runtime, Reset Runtime, etc.) and others have an indirect effect (i.e. Add Route, Add Certificate, Remove Runtime, etc.). For the actions that have an indirect effect on the eMagiz Cloud, you need the "apply to environment" functionality to actualize the changes on the eMagiz Cloud level.
7
8 Should you have any questions, please contact [[academy@emagiz.com>>mailto:academy@emagiz.com]].
9
10 * Last update: July 21th, 2021
11 * Required reading time: 5 minutes
12
13 == 1. Prerequisites ==
14
15 * Basic knowledge of the eMagiz platform
16 * Basic knowledge of cloud management
17
18 == 2. Key concepts ==
19
20 This microlearning centers around the apply to environment action
21 With "apply to environment", we mean: Actualizing all changes, with an indirect effect, within the eMagiz Cloud that were made by users on the Deploy Architecture canvas after the last press on this button
22
23 * Apply to environment actualizes all changes with an indirect effect
24 * It gives you the option to change multiple things at once before applying the bulk change. This is to reduce downtime
25 * It ensures that the eMagiz Cloud is only affected when a user want to affect it
26
27
28
29 == 3. Apply to environment ==
30
31 In this microlearning, we will focus on the "apply to environment" action. As we saw in previous microlearnings and will see in microlearnings to come with regards to cloud management is that some actions in Deploy Architecture have a direct effect (i.e. Slot Wakeup, Restart Runtime, Reset Runtime, etc.) and others have an indirect effect (i.e. Add Route, Add Certificate, Remove Runtime, etc.). For the actions that have an indirect effect on the eMagiz Cloud you need the "apply to environment" functionality to actualize the changes on the eMagiz Cloud level.
32
33 The Apply to environment functionality gives you:
34
35 * Apply to environment actualizes all changes with an indirect effect
36 * It gives you the option to change multiple things at once before applying the bulk change. This is to reduce downtime
37 * It ensures that the eMagiz Cloud is only affected when a user want to affect it
38
39 Below we have categorized each action to see whether they have a direct effect on the eMagiz Cloud or an Indirect effect. This is to give context per action what is the consequence of your action.
40
41 | <p align="center">**Direct Effect**</p> | <p align="center">**Indirect Effect**</p> |
42 | --------------------------------------* | ----------------------------------------- |
43 | Restart Runtime (Not JMS) | Add Route |
44 | Restart Runtime (JMS) | Update Route |
45 | Reset Runtime (Not JMS) | Delete Route |
46 | Reset Runtime (JMS) | Add Certificate |
47 | Restart Runtime (Not JMS) | Update Certificate |
48 | Restart Connector Machine | Delete Certificate |
49 | Restart Core Machine | Add runtime to connector machine |
50 | Stop Connector Machine | Add runtime to core machine |
51 | Stop Core Machine | Remove runtime from connector machine |
52 | Start Connector Machine | Remove runtime from core machine |
53 | Start Core Machine | Update memory settings runtime (not JMS) |
54 | Wake up Cloud Slot | Update memory settings runtime (JMS) |
55 | Put Cloud Slot to sleep | Change Cloud Template |
56 | Clean Store |
57 | Upgrade Cloud Slot\* |
58
59 \*Note that the upgrade of the cloud slot can be planned for a later moment in time.
60
61 So, in short, when you execute one (or more) actions on Deploy Architecture that have an indirect effect, you need to press Apply to Environment to actualize the changes within the eMagiz Cloud. Note that each move, whether it is direct or indirect, will cause a reaction and subsequent change within the eMagiz Cloud. So be cautious about changing things too many times over. Make sure you are especially careful when using custom folders on runtime level, as they could be deleted and recreated in cases where the machine is recreated. To safeguard yourself against this, place the folder either inside the data folder or directly on efs. Furthermore, we advise stopping the processes that have such custom folders before executing the change. This is especially relevant in the Production environment.
62
63
64 == 4. Assignment ==
65
66 There is no assignment for this microlearning.
67
68 == 5. Key takeaways ==
69
70 * By restarting the runtime, you restart all flows (including infra) of the runtime you have selected
71 * Flows return in original state
72
73
74
75 == 6. Suggested Additional Readings ==
76
77 There are no suggested additional readings on this topic
78
79 == 7. Silent demonstration video ==
80
81 There is no demonstration video of this functionality.
82
83 )))
84
85 ((({{toc/}}))){{/container}}
86 {{/container}}