281cbf510e0feaf523612ac5f8d91d01c35ac066
wiki/building-and-deploying.md
| ... | ... | @@ -41,4 +41,8 @@ After successfully having started a Java instance, it can be administrated throu |
| 41 | 41 | |
| 42 | 42 | An `exit` command will **terminate** the Java instance after a confirmation. This will obviously stop all services provided by the instance, including all static and dynamic contents served by its web server. You should only trigger the `exit` command if you really know what you are doing! |
| 43 | 43 | |
| 44 | -Stopping a running server has---for your convenience---been wrapped into the `stop` script usually located in the server's directory. Simply executing it will use a telnet connection to the server's OSGi port and trigger an `exit` command automatically. See above for the "know what you're doing" part... |
|
| ... | ... | \ No newline at end of file |
| 0 | +Stopping a running server has---for your convenience---been wrapped into the `stop` script usually located in the server's directory. Simply executing it will use a telnet connection to the server's OSGi port and trigger an `exit` command automatically. See above for the "know what you're doing" part... |
|
| 1 | + |
|
| 2 | +## Automatic Java Instance Start-Up After Boot |
|
| 3 | + |
|
| 4 | +When firing up an EC2 instance it can be convenient to not having to log on to have the EC2 instance run a Java instance automatically after it has completed its boot process. This is possible using so-called _user data_. The process of firing up an instance that either builds a certain git commit, installs and starts it after server boot or that downloads and installs a release and starts it is explained [here](http://wiki.sapsailing.com/wiki/amazon-ec2#HowTo). |