Changes for page Exercise - Apply to environment
Last modified by Erik Bakker on 2023/08/04 13:41
From version 2.1
edited by eMagiz
on 2022/06/09 11:56
on 2022/06/09 11:56
Change comment:
There is no comment for this version
To version 10.1
edited by Erik Bakker
on 2023/08/04 13:41
on 2023/08/04 13:41
Change comment:
There is no comment for this version
Summary
-
Page properties (5 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -Apply to environment 1 +Exercise - Apply to environment - Parent
-
... ... @@ -1,1 +1,1 @@ 1 -WebHome 1 +Main.eMagiz Academy.Microlearnings.Intermediate Level.eMagiz Cloud Management.WebHome - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.e Magiz1 +XWiki.ebakker - Default language
-
... ... @@ -1,0 +1,1 @@ 1 +en - Content
-
... ... @@ -1,86 +1,40 @@ 1 -{{container}} 2 -{{container layoutStyle="columns"}} 3 -((( 1 +{{container}}{{container layoutStyle="columns"}}((( 2 +With this exercise, we learn how to use the "apply to environment" functionality in Deploy -> Architecture. This functionality is a key component in sending changes to our eMagiz cloud to actualize these changes. Most notably among these changes are the configuration of routes and certificates. 4 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 8 Should you have any questions, please contact [[academy@emagiz.com>>mailto:academy@emagiz.com]]. 9 9 10 -* Last update: July 21th, 2021 11 -* Required reading time: 5 minutes 12 - 13 13 == 1. Prerequisites == 14 14 15 -* Basic knowledge of the eMagiz platform 16 -* Basic knowledge of cloud management 8 +* Completed all previous microlearnings on the subject. 9 +* Access to my.emagiz.com with your own account and MFA configured. 10 +* A model in which you can create this exercise. 17 17 18 -== 2. Keyconcepts ==12 +== 2. Exercise == 19 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 14 +In this exercise we will add a certificate and a route. Once done we press the "Apply to environment" functionality to understand that those kinds of changes are only applied once you press this button. 22 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 16 +To complete this exercise you need to execute the following steps: 26 26 18 +* Navigate to Deploy -> Architecture 19 +* Enter "Start Editing" mode and open the context menu (by clicking on the white area of the canvas) 20 +* Select the certificate option and fill in the following things: 21 +** CN Name 22 +** Client Name 23 +* Save your changes on certificate level 24 +* Open the context menu again and select the route option. 25 +* Fill in the following things: 26 +** DNS Left most label 27 +** Port 28 +** Runtime(s) 29 +** Certificate to use 30 +* Save your changes 27 27 32 +== 3. Solution == 28 28 29 - ==3.Apply to environment==34 +* Understand that indirect changes will only be applied to your cloud once you press "Apply to environment" and confirm "Apply changes". 30 30 31 -In this microlearning, we will focusnthe"apply toenvironment"action. As we saw in previousmicrolearnings andwillseeinmicrolearningsto come withregards tocloud managementis that someactionsin Deploy Architecture have a direct effect (i.e.Slot Wakeup,RestartRuntime, Reset Runtime, etc.) and othershave an indirecteffect (i.e. Add Route,Add Certificate, Remove Runtime,etc.). For the actionsthat have anindirecteffecton theeMagizCloudyouneed the "apply to environment"functionality to actualizethe changes on the eMagiz Cloud level.36 +In this short movie, you will find the workout of this exercise. Take a moment to review this one and compare it to your solution. 32 32 33 - TheApplyunctionalitygives you:38 +{{video attachment="exercise-intermediate-emagiz-cloud-management-apply-to-environment.mp4" reference="Main.Videos.Microlearning.WebHome"/}} 34 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}} 40 +)))((({{toc/}}))){{/container}}{{/container}}