a5541594aaf7d8dcffa58f3bbd699177fe11da2d
wiki/amazon-ec2-create-new-app-instance.md
| ... | ... | @@ -15,31 +15,16 @@ Select a subnet that matches the one of the database server (in most cases this |
| 15 | 15 | |
| 16 | 16 | <img src="/wiki/images/amazon/StartInstance3.JPG" width="70%" height="70%"/> |
| 17 | 17 | |
| 18 | -Leave Kernel and RAM disk to Default. Then put the configuration for this server into the text area labeled "User Data". This configuration should at least contain `MONGODB_*` and `REPLICATION_*` parameters. Here one example: |
|
| 18 | +Leave Kernel and RAM disk to Default. Then put the configuration for this server into the text area labeled "User Data" (Advanced Data). Here one example that loads a specific release package. |
|
| 19 | 19 | |
| 20 | 20 | <pre> |
| 21 | -BUILD_BEFORE_START=True |
|
| 22 | -BUILD_FROM=master |
|
| 23 | -RUN_TESTS=False |
|
| 21 | +INSTALL_FROM_RELEASE=master-201311062138 |
|
| 22 | +USE_ENVIRONMENT=live-server |
|
| 24 | 23 | BUILD_COMPLETE_NOTIFY=simon.marcel.pamies@sap.com |
| 25 | -SERVER_NAME=LIVE1 |
|
| 26 | -MEMORY=1024m |
|
| 27 | -REPLICATION_HOST=172.31.25.253 |
|
| 28 | -REPLICATION_CHANNEL=sapsailinganalytics-live |
|
| 29 | -TELNET_PORT=14888 |
|
| 30 | -SERVER_PORT=8888 |
|
| 31 | -MONGODB_HOST=172.31.25.253 |
|
| 32 | -MONGODB_PORT=10202 |
|
| 33 | -EXPEDITION_PORT=2010 |
|
| 34 | -REPLICATE_ON_START=False |
|
| 35 | -REPLICATE_MASTER_SERVLET_HOST= |
|
| 36 | -REPLICATE_MASTER_SERVLET_PORT= |
|
| 37 | -REPLICATE_MASTER_QUEUE_HOST= |
|
| 38 | -REPLICATE_MASTER_QUEUE_PORT= |
|
| 39 | -SERVER_STARTUP_NOTIFY= |
|
| 24 | +SERVER_STARTUP_NOTIFY=simon.marcel.pamies@sap.com |
|
| 40 | 25 | </pre> |
| 41 | 26 | |
| 42 | -It does not really matter which SERVER_PORT you use because there is only one app per instance. But this makes it easier to configure instances for Apache, a Load Balancer or other uses. If you want to create a cluster that is self-replicating and has a load balancer in front of it then make sure that all your instances are running on the same port! |
|
| 27 | +It does not really matter which SERVER_PORT (if you specify one) you use because there is only one app per instance. But this makes it easier to configure instances for Apache, a Load Balancer or other uses. If you want to create a cluster that is self-replicating and has a load balancer in front of it then make sure that all your instances are running on the same port! |
|
| 43 | 28 | |
| 44 | 29 | Provide your instance with an useful name. |
| 45 | 30 |