17061f34922d22c294414b4a0d5fecbf617a7638
wiki/amazon-ec2.md
| ... | ... | @@ -85,9 +85,9 @@ The architecture is divided into logical tiers. These are represented by firewal |
| 85 | 85 | |
| 86 | 86 | ## HowTo |
| 87 | 87 | |
| 88 | -### Create a new Analytics application instance |
|
| 88 | +### Create a new Analytics application instance ready for production |
|
| 89 | 89 | |
| 90 | -Create a new Analytics instance as described in detail here [[wiki/amazon-ec2-create-new-app-instance]]. You should use a configuration like the following. If you want to bring the code to a defined level then make sure to specify the BUILD-FROM and BUILD-COMPLETE_NOTIFY variables. If you leave them empty the instance will start using a very old build. |
|
| 90 | +Create a new Analytics instance as described in detail here [[wiki/amazon-ec2-create-new-app-instance]]. You should use a configuration like the following. If you want to bring the code to a defined level then make sure to specify the BUILD_FROM and SERVER_STARTUP_NOTIFY variables. If you leave them empty the instance will start using a very old build. |
|
| 91 | 91 | |
| 92 | 92 | <pre> |
| 93 | 93 | BUILD_BEFORE_START=True |
| ... | ... | @@ -110,7 +110,11 @@ REPLICATE_MASTER_QUEUE_HOST= |
| 110 | 110 | REPLICATE_MASTER_QUEUE_PORT= |
| 111 | 111 | </pre> |
| 112 | 112 | |
| 113 | -After your instance has been started (and build and tests are through) it will be publicly reachable if you chose a port between 8090 and 8099. If you filled the SERVER-STARTUP-NOTIFY field then you will get an email once the server has been started. |
|
| 113 | +After your instance has been started (and build and tests are through) it will be publicly reachable if you chose a port between 8090 and 8099. If you filled the SERVER_STARTUP_NOTIFY field then you will get an email once the server has been started. |
|
| 114 | + |
|
| 115 | +### Testing code on a server |
|
| 116 | + |
|
| 117 | +Starting a test is as easy as starting up a new instance. Just make sure that you fill the field RUN_TESTS and set it to `True`. Also set the field BUILD_FROM to a gitspec that matches the code branch that you want to test. After tests has been run and the server has been started you will get an email giving you all the details. You can then access your instance or simply shut it down. |
|
| 114 | 118 | |
| 115 | 119 | ### Setup replicated instances with ELB |
| 116 | 120 |