This document provides instructions for installing the Thinkwise Platform on AWS.
The Intelligent Application Manager (IAM) database and, optionally, the Software Factory (SF) database are installed in an Amazon Relational Database Service (RDS), whereas the Universal GUI and the Indicium service tier are installed on AWS Elastic Beanstalk.
Prerequisites for deploying the SF and IAM on AWS RDS are:
- An AWS account. You can create one for free here.
Creating an AWS RDS environment
To create an AWS RDS environment for the SF and IAM databases:
In the AWS Management Console, search for the "RDS" service and click on it to create a new service:
Select Create database to create a new database
Select Standard create and the Microsoft SQL Server engine type.
Select the required SQL Server edition, for example SQL Server Express Edition, and the latest available version.
Fill in the DB instance identifier and the Master username and Master password.
Select the required DB instance size.
Select Storage type and fill in the Allocated storage and Autoscaling options.
Select Create database to create the database. This may take some time.
The RDS environment is now ready.
Deploying the Thinkwise IAM database
To deploy the Thinkwise IAM database for end products:
Download the Thinkwise Installation package from the Thinkwise Community Portal https://tcp.thinkwise.app/web.
Unzip the downloaded Thinkwise package.
Start the Deployer GUI
Select Install on the IAM product page.
Fill in the server connection options. The hostname can be found under Connectivity & security - Endpoint in the AWS console. Use the credentials provided upon creating the RDS environment.
Fill in the name of the IAM database to create and click Next.
The IAM database will now be created in the RDS environment.
Deploying the Thinkwise SF database (optional)
The Thinkwise Software Factory development environment can also be installed on AWS, if desired.
As the Software Factory also needs an IAM database, first deploy an additional IAM database by following the steps from
the previous chapter, and name this database
Next, deploy the Software Factory database:
Select Install on the SF (Software Factory) product page.
Fill in the server connection options and click Connect. The hostname can be found under Connectivity & security - Endpoint in the AWS console. Use the credentials provided upon creating the RDS environment.
Select the previously installed IAM database and click Next.
Use the same host and RDS credentials for the SF database and click Connect.
Fill in the Software Factory database name and click Next.
The SF database will now be created in the RDS environment.
Creating an AWS Elastic Beanstalk environment
To create an AWS Elastic Beanstalk environment to host the Thinkwise Universal GUI and Indicium service tier:
In the AWS Management Console, search for the "Elastic Beanstalk" service and click on it to create a new service:
Click Create a new environment.
Select Web server environment and click Select.
Fill in the Application name.
Configure the platform using the following settings:
Select Sample application and click Create environment.
The Elastic Beanstalk environment is created. This may take some time.
When the environment is created, go to the newly made environment and click the URL displayed below the name.
This will open a new browser tab:
The Elastic Beanstalk environment is now ready.
Deploying the Thinkwise Universal GUI and Indicium service tier
For security reasons (to avoid having to enable Cross-Origin Resource Sharing), the Universal GUI and Indicium service tier will be installed in the same environment.
To install the Thinkwise Universal GUI and Indicium service tier:
Download both the Thinkwise Universal GUI and the Indicium (Universal) service tier from the Thinkwise Community Portal https://tcp.thinkwise.app/web.
Copy the downloaded zip files to a new folder, for example ThinkwiseElasticBeanstalk.
Indicium.zipand edit the
appsettings.jsonfile. Fill in the Server, Database (IAM), PoolUserName and PoolPassword properties with the information from the RDS environment and save the file.
Universal.zipand edit the
config.jsonfile. Fill in the serviceUrl with the information from the Elastic Beanstalk environment and save the file.
Add a deployment manifest file to the ThinkwiseElasticBeanstalk folder by creating a new text file named:
Add the following text to the file:
Create a new folder in the root with the name:
In this folder, create a new file named
PostInstallSetup.ps1with the following content:
$sharepath = "C:\inetpub\AspNetCoreWebApps\indicium"
$Acl = Get-ACL $SharePath
$AccessRule= New-Object System.Security.AccessControl.FileSystemAccessRule("IIS AppPool\DefaultAppPool","full","ContainerInherit,Objectinherit","none","Allow")
$Acl | Set-Acl $SharePath
Create a zip file of the content of the ThinkwiseElasticBeanstalk folder to deploy to Elastic Beanstalk. (Select all files and choose Send to > Compressed (zipped) folder from the context menu.)
From the AWS Elastic Beanstalk environment, select Upload and deploy
Click Choose file and select the created zip file:
Click Deploy and wait for the deployment to finish:
The Thinkwise Universal GUI and Indicium service tier are now up and running.