How to install Aras Innovator in the cloud
There are many reasons to use cloud infrastructure. Low initial investment, low acquisition time and very high scalability. Your own IT department might need weeks – or even months – to setup the infrastructure needed to run an Aras instance. In the cloud, you can do it in minutes.
The step-by-step video tutorial will guide you through the process. Scroll down to find additional information and install scripts.
Additional tutorial notes
To get started, you will need a cloud account. Below, I have listed the IaaS products of the three major platforms:
- Amazon Web Services – EC2 (Elastic Compute Cloud)
- Google Cloud – Compute Engine – VM Instance
- Microsoft Azure – Virtual Machine
When setting up an Innovator test server, we only need one server instance. But for scalability reasons, we can divide the Aras instance into three different roles:
- The Innovator server which is a web server (IIS)
- A Microsoft SQL Database
- A vault server that stores all the binary files from Innovator, this is also a web server (IIS)
About scalability and the cloud
One of the advantages of using cloud infrastructure is the ability to scale. There is horizontal scaling and vertical scaling.
Horizontal scaling is dividing the workload onto multiple servers and vertical scaling is increasing the capacity of each of those servers. In this case we want to use both so we horizontally scale by dividing the workload onto the three different roles described and we use the vertical scaling by increasing the instance size whenever more compute power or RAM is needed for each task to be solved.
Notes on security
Security is an important aspect, and in this tutorial, I will be showing you the most simple way of setting up security by using IP filtering. Remember to always follow your company guidelines when setting up security.
If you do not have access to an SQL server
cinst sql-server-express -y
cinst sql-server-management-studio -y
The automatic package installation of SQL server is not always reliable - so if it fails, do it the "old fashioned way" - by downloading the installer from Microsoft and following the wizard: https://www.microsoft.com/en-us/sql-server/sql-server-downloads
Install scripts mentioned in the video tutorial – Get them here
Note! These scripts were designed to work with Aras Innovator v12SP9. And they might not be compatible with later versions. For the latest official installation instructions download "Installation Guide" at: https://www.aras.com/support/documentation/
To adapt the scripts to your specific version look for the "Minimum System Requirements" > "Server"-section in the "Aras Innovator ##.# - Installation Guide" corresponding to your version. In there you'll find a table of the packages and their required versions. For example "ASP.Net Core/.NET Core Runtime and Hosting Bundle" > "Version 2.1.8" matches with this line in the script "cinst dotnetcore-windowshosting --version 2.1.8 -y" So if that version changes, update the number in the script to that same number.
PowerShell: (Start in admin mode and paste in the script below)
Invoke-WebRequest -Uri "https://www.aras.com/-/media/files/innovator/innovator-builds/innovatorsetup.ashx?la=en" -OutFile Innovator.zip
Add-Type -AssemblyName System.IO.Compression.FileSystem
Editorial note from 26th of February, 2020.
Due to un update on how to install Chocolatey the script below is updated. Thank you Niel Guy Linderberg for sharing your experience with us.
CMD: (Start in admin mode and paste in the script below)
@powershell "Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))"
cinst netfx-4.7.2-devpack -y
cinst IIS-WebServer --source windowsfeatures -y
cinst IIS-ASPNET45 --source windowsfeatures -y
cinst IIS-NetFxExtensibility -Source WindowsFeatures -y
cinst IIS-NetFxExtensibility45 -Source WindowsFeatures -y
cinst dotnetcore-windowshosting --version 2.1.8 -y
cinst notepadplusplus -y
Post installation fix:
When accessing the Instance using an IP or DNS name that has not been added to the OAuth.config. You will get the error:
Fix it by adding the IP or DNS name to the config tags redirectUris and postLogoutRedirectUris, as described in the video.
Open: C:\Program Files (x86)\Aras\Innovator\OAuthServer\OAuth.config
Locate: <redirectUris> and <postLogoutRedirectUris>
It recommended to use an editor like Notepad++ as the built-in editor Notepad, may not support the linefeeds used in the config file.