There are no separate pre-installation prerequisites for configuring Infoworks to run with AWS EMR. Proceed with installing Infoworks on AWS as documented below.
Step 1: Create an inbound security group rule to allow access to port 3000 for your whitelisted IPs. For more details, see here.
Step 2: Log in to the launched instance using SSH.
Step 3: Ensure that the hostname alias set for the Infoworks edge node instance has less than 63 characters. Postgres database has a character limit on hostnames. Run the following command to verify the same on the edge node:
xxxxxxxxxx
hostname -A
Step 4: Switch to root user using the following command, before you perform the following steps:
xxxxxxxxxx
sudo su -
Step 5: Switch the current working directory to /opt using the following command:
xxxxxxxxxx
cd /opt
Step 6: To proceed with your Infoworks installation, create a user named infoworks and change to that user, using Step 7.
Step 7: Execute the following command:
xxxxxxxxxx
sudo useradd -m -s /bin/bash -p $(openssl rand -base64 14) infoworks
Step 8: Download the installation package by executing the following command:
xxxxxxxxxx
wget https://iw-saas-setup.s3.us-west-2.amazonaws.com/5.5/iwx_installer_amazonlinux2_5.5.2.tar.gz
Step 9: Untar the package by executing the following commands:
xxxxxxxxxx
tar xvf iwx_installer_amazonlinux2_5.5.2.tar.gz
Step 10: Open configure.sh file in the directory.
Step 11: Configure the following parameters as described in the table, and then save the file:
Field | Description | Details |
---|---|---|
IW_USER | The Infoworks user name. The value is infoworks. | This field will be auto-filled. |
IW_PLATFORM | Name of the Infoworks platform. The value to be entered in this field is saas. | This field will be auto-filled. |
IW_HOME | Location where Infoworks will be installed. The value is /opt/infoworks. | This field will be auto-filled. |
IW_CLOUD_PROVIDER | Name of the cloud provider. | Enter aws. |
IW_EDGENODE_IP | The IP address where Infoworks needs to be launched. | Provide the private IP of the virtual machine created. |
METADB_MANAGED | This flag indicates whether the Mongo Installation is managed by Infoworks | If managed by Infoworks, enter Y (default). If managed by an external mongo, enter N. |
METADB_USE_SRV | This flag indicated whether the MONGO_HOST corresponds to a DNS SRV record | Enter N (default) for No (prefix “mongodb://”), or Y for Yes (prefix “mongodb+srv://”) |
Step 12: Configure the following parameters as described in the table, and then save the file:
Field | Description | Details |
---|---|---|
METADB_FORCE_DROP | This flag indicates whether the Installer should overwrite any existing Databases | Enter N (default) for No(the provided databases must be empty), or Y to allow dropping of databases. |
MONGO_HOST | The Mongo Host URL to connect to. | Enter the Mongo Server or Seed DNS hostname (without prefix) |
MONGO_USER | The Mongo User to authenticate as. | Enter a user that has at least read/write permissions over the databases mentioned.(defaults to Infoworks) |
MONGO_PASS | The Password of the aforementioned MONGO_USER | Enter the Password of the MONGO_USER (defaults to Infoworks Mongo Password) |
MONGO_DB | The Database Name that will store Infoworks MetaData | Enter a valid database name. |
MONGO_QUARTZDB | The Database Name that will store Quartzio MetaData | Enter a valid database name. |
Step 13: Ensure that configure.sh and bootstrap.sh files have executable permissions. If the files do not have the permissions, run the following command:
xxxxxxxxxx
chmod u+x configure.sh bootstrap.sh
Step 14: Using command prompt execute the following commands as root user:
xxxxxxxxxx
source configure.sh
./bootstrap.sh
This installs Infoworks in the required environment.
For details on how to navigate through Infoworks, see Navigating Infoworks.
Step 1: To access Infoworks user interface, go to http://IP-address:3000.
Step 2: The default credentials to access Infoworks are:
Username: admin@infoworks.io
Password: admin