To facilitate basic IriusRisk installation we provide you with an Ansible Playbook that you can run in your own instance. It will install all the necessary dependencies and configure the system to have the latest version of IriusRisk up and running.
In order to benefit from this playbook you need to have an Ansible server installed with version 2.8 or higher. In you do not have already Ansible installed you can refer to the official documentation. This server also need to have SSH access to the instance where IriusRisk will be installed.
We officially support this playbook for the following operation systems:
- Amazon Linux 2
- Centos 7
- Debian 9
- Ubuntu 18
The destination instance is required to have at least 8GB of RAM and 2vCPUs.
Before the execution of this playbook you need to add an A type record in your DNS system that translates FQDN name of your IriusRisk to the destination instance IP.
Download the playbook from this link.
The command to execute the playbook should look like following:
ansible-playbook playbooks/installiriusrisk.yml --user instance_user --private-key instance_private_key.pem -i 18.104.22.168,
Some parameters you need to change and consider:
- playbooks/installiriusrisk.yml is the path to the playbook
- instance_user is the user with sudo privileges that can login into the destination instance
- instance_private_key.pem is the private key for the instance_user you are login in
- 22.214.171.124 is the public IP address of the destination instance
With this installation we include an auto-signed Nginx HTTPS certificate. If you want to put your own signed certificate you need to connect to the IriusRisk instance and copy your certificate into ~/iriusrisk/cert.pem.
After that restart the docker-compose with:
docker-compose stop -f ~/iriusrisk/docker-compose.yml
docker-compose up -d -f ~/iriusrisk/docker-compose.yml