Last modified by Erik Bakker on 2026/01/30 10:56

From version 113.1
edited by CarlijnKokkeler
on 2024/03/28 10:34
Change comment: There is no comment for this version
To version 9.1
edited by eMagiz
on 2022/10/19 08:41
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -Install Docker for Windows
1 +On-premises deployment new runtime architecture
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.CarlijnKokkeler
1 +XWiki.eMagiz
Content
... ... @@ -1,8 +1,11 @@
1 1  {{container}}{{container layoutStyle="columns"}}(((
2 -In this microlearning, we will focus on how an on-premises server can be prepared for a eMagiz Deploy agent installation.
3 -
2 +In this microlearning, we will focus on how the installation requirements for on-premises deployments of eMagiz runtimes that are part of the new runtime architecture. The new runtime architecture uses a containerized approach to deploy runtimes.
3 +
4 4  Should you have any questions, please contact [[academy@emagiz.com>>mailto:academy@emagiz.com]].
5 5  
6 +* Last update: June 24th 2021
7 +* Required reading time: 10 minutes
8 +
6 6  == 1. Prerequisites ==
7 7  
8 8  * Advanced knowledge of the eMagiz platform
... ... @@ -9,108 +9,51 @@
9 9  * Good understanding of eMagiz runtimes in general
10 10  
11 11  == 2. Key concepts ==
12 -In the new runtime architecture of eMagiz, Docker technology is used to deploy runtimes. eMagiz creates specific runtime images that contain the eMagiz runtime, and can be deployed in dockerized environments.
13 -
14 -In the below section the Windows variant is described in terms of how to prepare the server to allow the [[eMagiz Deploy Agent>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.eMagiz Runtime Management.intermediate-runtime-management-deploy-agent.WebHome||target="blank"]] to be installed. That agent allows to download images from the eMagiz infrastructure.
15 -
15 +In the new runtime architecture of eMagiz, Docker technology is used to deploy runtimes. eMagiz creates specific runtime images that contain the eMagiz runtime, and can be deployed in dockerized envirionments
16 +
16 16  == 3. On-premises deployments ==
17 17  
18 -===3.1 General requirements===
19 +===3.1 Installation requirements===
20 +Below the list of requirements for an on-premises deployment
19 19  
20 -{{info}}
21 -* Standard configuration to ensure that communication between your server and eMagiz to ensure communication.
22 - ** registry.emagiz.com:443
23 - ** controlplane.emagiz.com:8000
24 - ** controltower.kpn-dsh.com:443
25 - ** Preferably the entry should be *.emagiz.com
26 - ** Preferably the entry should be *.kpn-dsh.com{{/info}}
22 +* Windows Server or Linux Server
23 +* Installed Docker software - latest version
24 +* Optional: Install Docker Desktop for Windows
25 + ** See also [[Install guide Docker>>https://docs.docker.com/desktop/install/windows-install/]]
26 +* Docker software installed requires use of the LinuxEngine
27 + ** Use command line option to switch to the option"C:\Program Files\Docker\Docker\DockerCli.exe" -SwitchLinuxEngine
28 +* Server connected to the internet whereby the firewall doesn't prevent data traffic going outwards to the Internet
29 + ** In case there are outgoing firewall rules, eMagiz can provide the specific URL's and port numbers in order to update the firewall
30 +* Sufficient resources in line with the requirements of the eMagiz runtimes. See this [[microlearning>>doc:Main.eMagiz Academy.Microlearnings.Expert Level.Solution Architecture.expert-solution-architecture-determining-needed-memory.WebHome||target="blank"]]
31 +
32 +=== 3.2 Installation agent ===
33 +
34 +eMagiz needs to install a specific agent in the Docker instance that allows to download runtime images that needs to be installed on the Docker instance. The specific command to run inside the Docker instance is specific for the machine that is configured inside eMagiz Design & Deploy Architectures. It can be found inside the eMagiz iPaaS portal or is available upon request. Once that agent is installed, the image that is generated for every eMagiz release can be downloaded and installed in the Docker instance.
35 +
36 +=== 3.3 Cloud architecture for API Gateway ===
37 +
38 +[[image:Main.Images.Microlearning.WebHome@expert-solution-architecture-onpremises-install-runtime-images.png]]
27 27  
28 -{{warning}}
29 -* In case of a very strict firewall configuration, additional configuration is needed to communicate to the eMagiz infrastructure.
30 - ** controltower.emagiz.com:443
31 - ** controltower.kpn-dsh.com:443
32 - ** controlbus.emagiz.com:443
33 - ** controlplane.emagiz.com:443
40 +== 4. Assignment ==
34 34  
35 -* When using cloudslot number **equal to or below** 125, the following configuration is needed to communicate to your JMS.
36 - ** 35.158.46.28:443
37 - ** 3.74.190.88:443
38 - ** 35.158.46.28:8443
39 - ** 3.74.190.88:8443
40 - ** 35.158.46.28:8444
41 - ** 3.74.190.88:8444
42 +Check out the cheatcheet for Docker command line:
43 +
44 +[[image:Main.Images.Microlearning.WebHome@docker-cheatsheet.png]]
42 42  
43 -* When using a cloudslot number **above** 125, the following configuration is needed to communicate to your JMS.
44 - ** 3.74.209.20:443
45 - ** 3.76.127.155:443
46 - ** 3.74.209.20:8443
47 - ** 3.76.127.155:8443
48 - ** 3.74.209.20:8444
49 - ** 3.76.127.155:8444{{/warning}}
46 +== 5. Key takeaways ==
50 50  
51 -===3.2 Installation Windows===
52 -Whenever Windows is selected as operating system, you need to have a Windows Server 2022 version. Older Windows servers are **not** supported.
48 +* eMagiz uses runtime images to deploy emagiz runtime on dockerized environments. The runtime image holds all the information and components required to run the runtime
49 +* eMagiz has a specific agent that manages the download of that image to the on-premises server
50 +* The firewall of the on-premises environment should allow outgoing traffic without any restriction. In case that is not desirable, eMagiz can provide the addresses and ports needed to setup the right firewall rules.
53 53  
54 54  
55 -==== 3.2.1 Docker Installation ====
56 -To install or update docker on your machine, execute the following commands in powershell with administrative rights:
57 57  
58 -{{code language="cmd"}}
59 -Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/Windows-Containers/Main/helpful_tools/Install-DockerCE/install-docker-ce.ps1" -o install-docker-ce.ps1
60 -.\install-docker-ce.ps1
61 -{{/code}}
54 +== 6. Suggested Additional Readings ==
62 62  
63 -Example usage:
56 +N/A
57 +
58 +== 7. Silent demonstration video ==
64 64  
65 -{{code language="cmd"}}
66 -.\install-update-docker-ce.ps1 -DockerVersion DESIRED_VERSION
67 -{{/code}}
60 +N/A
68 68  
69 -To install the latest version of docker, you can use {{code language="cmd"}}e .\install-update-docker-ce.ps1{{/code}} without specifying the version flag.
70 -
71 -{{info}}lIt is advised to use Docker version 24.0.7 as this is the version being used in the latest eMagiz cloud template. We advise to align the on-premise Docker version and update it according to the release notes of the Cloud templates.
72 -{{/info}}
73 -
74 -{{warning}}Note: This process is service affecting, your running containers will be stopped and will need to be started again.{{/warning}}
75 -
76 -==== 3.2.2 Check installation ====
77 -
78 -After executing the commands above, the server will restart if required. After the restart, execute the following command
79 -
80 -{{code language="cmd"}}
81 -docker ps
82 -{{/code}}
83 -
84 -If the command returns that the command cannot be found, please run the following command again.
85 -
86 -{{code language="cmd"}}
87 -.\install-docker-ce.ps1
88 -{{/code}}
89 -
90 -==== 3.2.3 Verify docker functionality ====
91 -
92 -Execute the following command
93 -
94 -{{code language="cmd"}}
95 -docker ps
96 -{{/code}}
97 -
98 -The result of this call should show the following:
99 -
100 -[[image:Main.Images.Microlearning.WebHome@expert-solution-architecture-onpremises-server-windows-installguide--correct-result.png]]
101 -
102 -==== 3.2.4 Install eMagiz Deploy Agent ====
103 -
104 -Install the eMagiz Deploy agent as can be found in this [[microlearning>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.eMagiz Runtime Management.intermediate-runtime-management-deploy-agent.WebHome||target="blank"]]
105 -
106 -== 4. Key takeaways ==
107 -
108 -* eMagiz uses runtime images to deploy emagiz runtime on dockerized environments. The runtime image holds all the information and components required to run the runtime
109 -* eMagiz has a specific agent that manages the download of that image to the on-premises server
110 -* The firewall of the on-premises environment should allow outgoing traffic without any restriction. In case that is not desirable, eMagiz can provide the addresses and ports needed to setup the right firewall rules.
111 -
112 -== 5. Suggested Additional Readings ==
113 -
114 -* Docker command line cheatsheet: [[image:Main.Images.Microlearning.WebHome@docker-cheatsheet.png]]
115 -
116 116  )))((({{toc/}}))){{/container}}{{/container}}