=== modified file 'src/docbkx/en/dhis2_implementation_guide_installation.xml' --- src/docbkx/en/dhis2_implementation_guide_installation.xml 2012-10-17 23:44:52 +0000 +++ src/docbkx/en/dhis2_implementation_guide_installation.xml 2012-11-15 08:49:18 +0000 @@ -37,7 +37,7 @@ Install PostgreSQL by invoking sudo apt-get install postgresql-9.1 Switch to the postgres user by invoking sudo su postgres. Create a non-privileged user called dhis by invoking - createuser -SDRP dhis. Enter a secure password at the prompt. Create a database by invoking + createuser -SDRP dhis. Enter a secure password at the prompt. Create a database by invoking createdb -O dhis dhis2. Return to your session by invoking exit You now have a PostgreSQL user called dhis and a database called dhis2. Do performance tuning by opening the following file by invoking @@ -368,7 +368,10 @@ The cron job is set up with two files. The first is a script which performs the actual task of backup up the database. It uses a PostgreSQL program called pg_dump for creating the database copy. The second is a crontab file which runs the backup script every day at 23:00. Note that this script backs up the database file to the local disk. It is strongly recommended to store a copy of the backup at a location outside the server where the application is hosted. This can be achieved with the scp tool. Make sure that you have set the system date correctly on your server.
- Using Amazon Web services + Working with the PostgreSQL database +
+
+ Using Amazon Web services Amazon Web Services (AWS) offers virtual cloud-computing resources which allow developers and implementers to quickly scale an application, both horizontally and vertically, in a cost effective manner. AWS offers multiple operating systems and instance sizes depending on the exact nature of the deployment. This section will describe a basic setup with the AWS Elastic Cloud Compute (EC2) system using the Basic 32 bit Amazon AMI, which is based on the Red Hat Linux distribution. Estimating the cost of an AWS instance can be performed using the "Simple Monthly Cal culator". AWS costs are based entirely on usage. As your application usage grows, you can provision new servers.