Configuration of the reporting AWS instance

Overview

In order to set up the reporting stack, there is a need for creating the instance to hold it first. The recommended way is to use the AWS EC2.

EC2 Instance

  1. Go to AWS console -> EC2

  2. Press Launch instance button

  3. Select AMI: ubuntu/images/hvm-ssd/ubuntu-xenial-16.04-amd64-server-20170619.1 (Community AMI’s)

  4. Select type: m5.large

  5. Select same VPC as OLMIS instance, rest of options should be default.

  6. Set storage to 50 GiB gp2

  7. Security group - use the security group which is used by the OpenLMIS instance

Security Groups

Openlmis and reporting stack instances should use the same security group, which should have at least those rules set:

Where PostgreSQL source is the ID of this security group.

Load Balancers

  1. Create load balancer for the reporting instance with the following listeners configured:

(HTTPS protocol will require SSQL Certificates)

  1. During configuration select the same Security group as in the OpenLMIS instance and reporting stack instance.

  2. Configure the health check to:

  1. Increase the Idle timeout property to 900 seconds

 

OpenLMIS: the global initiative for powerful LMIS software