wiki/info/landscape/aws-automation.md
... ...
@@ -317,7 +317,7 @@ The user can assign values to that variable that are then used as default propos
317 317
- SAP instance on a dedicated EC2 instance as a master
318 318
- SAP instance on a dedicated EC2 instance as a replica
319 319
320
-#### SAP instance on a dedicated EC2 instance
320
+#### SAP instance on a dedicated EC2 instance
321 321
322 322
1. Start EC2 instance
323 323
2. Query for its dns name for later ssh connection
... ...
@@ -330,6 +330,30 @@ The user can assign values to that variable that are then used as default propos
330 330
9. Create new rule within https listener that points to the correct target group
331 331
10. Append „Use Event-SSL [domain] [eventId] 127.0.0.1 8888“ or „Use Home-SSL [domain] 127.0.0.1 8888“ to etc/httpd/conf.d/001-events.conf
332 332
333
+#### SAP instance on a shared EC2 instance
334
+
335
+1. Check if folder already
336
+2. Check if ssh connection to super instance is working
337
+3. Create folder within /home/sailing/servers
338
+4. Search for next free server port, telnet port and expedition port
339
+5. Copy /home/sailing/code/java/target/refreshInstance.sh to the new folder
340
+6. Execute refreshInstance.sh
341
+7. Comment out and in specific lines of the env.sh file
342
+8. Append environment definition from releases.sapsailing.com/environments to env.sh
343
+9. Append MEMORY variable to env.sh
344
+10. Append user data to env.sh
345
+11. Append informaton to README file (/home/sailing/servers)
346
+12. Start server
347
+13. Create event and change admin password if necessary
348
+14. Query for https listener of the load balancer
349
+15. Create target group with name „S-hared-instanceshortname“
350
+16. Configuration of the target group health check with the server port of the sap instance
351
+17. Create new rule within https listener that points to the correct target group
352
+18. Append „Use Event-SSL [domain] [eventId] 127.0.0.1 8888“ or „Use Home-SSL [domain] 127.0.0.1 8888“ to etc/httpd/conf.d/001-events.conf
353
+19. Check apache configuration with "apachectl configtest" and reload with "sudo service httpd reload“
354
+
355
+
356
+
333 357
334 358
335 359