CAST AIP for Dashboards - Hardware requirements

On-premises

Multi-node (Large/Enterprise)

With AIP Console v. 2.x

Component

Server typeArchitecture

CPU

RAM

DISK

Common to AIP Nodes

OS

Notes

AIP Core + AIP Node Service (back end)

Physical/virtual64-bit

Minimum 1 CPU / 2 cores:

  • Intel Core i5, 2.6 GHz
  • Intel Xeon, 2.2 GHz

Recommended  1 CPU / 4 cores:

  • Intel Core i7, 2.8 GHz
  • Intel Xeon, 2.6 GHz

16GB min

100GB (SSD recommended)

Delivery/Deploy/Common folders

512GB (SSD recommended)

Windows

RAM

The batch files / Windows Service configurations provided for the AIP Node Service are configured by default with conservative RAM provisions. See Configuring RAM for AIP Console front-end and AIP Nodes for more information about changing these.

AIP Console (front-end), including:

  • AIP Node database - Docker only (PostgreSQL)
  • Keycloak (OAuth 2 Server)
  • AIP Service Registry
  • AIP Gateway
  • Embedded Dashboards
Physical/virtual64-bit

16GB min

100GB (SSD recommended)

-

Linux or Windows

These items are all provided as Linux based Docker images in the public Docker Hub. .JAR file installs are also provided.

PostgreSQL

Physical/virtual64-bit

32GB min

512GB (SSD recommended)

-

Windows or Linux

CAST highly recommends the use of PostgreSQL on a Linux instance as this consistently gives the best performance.
CAST Extend local server (optional)Physical/virtual64-bit4GB min64GB-Windows

It is possible to re-use one of the existing servers dedicated another service, providing that this is a Windows server, however CAST does recommend a dedicated server where possible.

With AIP Console v. 1.x

Component

Server typeArchitecture

CPU

RAM

DISK

OS

Notes

AIP Core + AIP Node (back end)

Physical/virtual64-bit

Minimum 1 CPU / 2 cores:

  • Intel Core i5, 2.6 GHz
  • Intel Xeon, 2.2 GHz

Recommended  1 CPU / 4 cores:

  • Intel Core i7, 2.8 GHz
  • Intel Xeon, 2.6 GHz

16GB min

256GB (SSD recommended)

Windows

Disk space

The recommended disk space takes into account space for the following folders hosted on the AIP Node:

  • Delivery folder
  • Deploy folder
  • Log files,
  • Extensions folder
  • LISA / LTSA .

You can refer to CAST AIP for Dashboards - Deployment considerations for more information about this.

RAM

The batch files / Windows Service configurations provided for the AIP Node service are configured by default with conservative RAM provisions. See Configuring RAM for AIP Console front-end and AIP Nodes for more information about changing these.

AIP Console + Dashboards (front end)

Physical/virtual64-bit

8GB min

128GB

Windows or Linux

RAM

The batch files / Windows Service configurations provided for the AIP Node service are configured by default with conservative RAM provisions. See Configuring RAM for AIP Console front-end and AIP Nodes for more information about changing these.

PostgreSQL

Physical/virtual64-bit

32GB min

512GB (SSD recommended)

Windows or Linux

CAST highly recommends the use of PostgreSQL on a Linux instance as this consistently gives the best performance.
CAST RESTAPI (dashboard back end) Physical/virtual64-bit16GB min128GBWindows or Linux
CAST Extend Offline or CAST Extend Proxy (optional)Physical/virtual64-bit4GB min64GBWindows

It is possible to re-use one of the existing servers dedicated to the CAST RESTAPI or CAST AIP/AIP Node, providing that this is a Windows server, however CAST does recommend a dedicated server where possible.

Single server (Small/Testing)

Server typeArchitectureCPU

RAM

DISK

OS

Notes
Physical/virtual64-bit

Minimum 1 CPU / 2 cores:

  • Intel Core i5, 2.6 GHz
  • Intel Xeon, 2.2 GHz

Recommended  1 CPU / 4 cores:

  • Intel Core i7, 2.8 GHz
  • Intel Xeon, 2.6 GHz
  • 8GB min
  • 32GB recommended

128GB min (SSD recommended)

Windows

8GB RAM is the absolute minimum requirement to allow all packages and components to function, however, analysis performance will be poor as the available resources will be shared between the AIP Node and the CAST Storage Service.

Example on-premises hardware configuration

Managing multiple applications

If you are managing a large number of applications, we recommend installing multiple AIP Nodes, one node per server to spread the load. The disk space allocated to a single AIP Node obviously depends on the size and the number of applications that will be analyzed by the AIP Node. In a situation where all the AIP Nodes are running analyses, some AIP Nodes may need to run more than one analysis in parallel. To avoid overloading the AIP Node where more than one analysis is running at the same time, we strongly recommend deploying servers with sufficient resources.

To ensure good performance during analysis, we advise, for each application, a memory range between 8 GB RAM (for small applications) and 32 GB RAM (for very large applications). Therefore, to analyze up to 50 applications and to run up to 5 analyses in parallel on one single AIP Node with one associated PostgreSQL instance, CAST recommends increasing RAM and DISK resources as follows:

ComponentRAMDISK
AIP Core + AIP Node (back end)48GB min / 128GB recommended2TB (SSD recommended)
PostgreSQL64GB min3TB (SSD recommended)

Analyzing complex applications

While 90% of JEE, .NET or Mainframe applications can be analyzed with the minimum requirements, some specific (very large or not well balanced) applications require more memory than the minimum recommendations. The following configurations are examples of sizing required for very large applications. The requirements are not a linear function that are based purely on the number of files or lines of code (LoC), instead it is more complex and there is no specific formula to use.

In general, a lack of memory will cause slowness (servers will resort to the use of virtual space) in the best case, and a crash in the worst case. The numbers presented in the table below are purely indicative and depict the varying memory requirements.

ApplicationAIP Node - CPUPeak RAM used by analyzer

AIP Node - RAM (recommended minimum)

Disk space
JEE application with 13,000 java files and 6,300 JSP files




2 processors, 4 cores

22 GB32 GB




256 GB

JEE application with 21,000 java files, 14 JSP files, 2,800 projects10 GB16 GB
JEE application with 30,000 java files and 1,200 JSP files12 GB16 GB
.NET application with 18,785 C# files12 GB16 GB
.NET application with 23,000 C# files and 4,100 cshtml files20 GB32 GB
Mainframe application with 10,000 COBOL programs2 GB8 GB

Cloud services

Multi-node instance (Large/Enterprise) on Amazon Web Services (AWS)

The following requirements are based on CAST’s own testing for the analysis of a single “large Application”, using Amazon EC2 R5 Instances:

ComponentMinimum instance typeVolume SizeVolume TypeMinimum IOPS
AIP Core + AIP Node (back end)r5.large128GBGeneral purpose SSD (gp2) or Provisioned IOPS SSD (io1)400
AIP Console + Dashboards (front end)256GB
PostgreSQL512GB
CAST RESTAPI (dashboard back end) - v.1 only256GB
CAST Extend Offline or CAST Extend Proxy (optional)128GB