Size XL - Sonatype IQ - AWS Cloud-Native Reference Architecture
This Sonatype IQ Server extra-large reference architecture describes the infrastructure for deploying a high-availability IQ Server environment of 3 to 5 nodes in AWS using cloud-native services. It supports environments with 30k - 100k onboarded applications and ~25k evaluations on a typical day.
Plan on about 450 evaluations an hour across the whole cluster, as a guide for planning, not a limit.
High availability is required at this size.

Infrastructure Specifications
This architecture includes the following layers:
Compute Layer: IQ Server, as a high-availability cluster
Database Layer: PostgreSQL
Storage Layer: shared file storage for IQ Server data
Search Layer: OpenSearch, for Nexus One and Advanced Search
Network Layer: load balancing, connectivity and security controls
Compute Layer (IQ Server)
The compute layer runs IQ Server and processes application evaluations, policy evaluations, reports and related user activity.
Resource | Specification |
|---|---|
IQ Server nodes | 3 to 5 |
Deployment option | Amazon ECS on Fargate, HA, or EKS |
Instance type | Fargate: 16 vCPU, 120 GB task EKS: r9g.4xlarge (ARM) or r8i.4xlarge (x86) node |
Memory for IQ Server | 120 GB Fargate task, 112 GB EKS pod |
Java heap | 80 GB on Fargate, 74 GB on EKS, |
Direct memory | 8 GB, |
HA license | Required |
The Java heap is, at most, two thirds of the memory IQ Server gets, rounded down to a whole GB, following Estimating Heap Sizes. Direct memory and the JVM's own memory come out of the free third.
ARM instances are the default. If you use the x86_64 equivalent instead, verify its performance is similar for your workload.
Every node needs an HA-capable license. See IQ Server High Availability Installation.
Database Layer (Aurora PostgreSQL)
The database stores IQ Server metadata, policy data, configuration and operational state. Terraform provisions it.
Resource | Specification |
|---|---|
Service | Aurora PostgreSQL (strongly recommended) |
Instance class | db.r8g.4xlarge (16 vCPU, 128 GB) |
Storage | Aurora, grows on its own, expected to grow to about 2 TB |
IOPS and throughput | Managed by Aurora |
High availability | Multi-AZ with automatic failover |
Storage Layer (Amazon EFS)
Shared storage holds IQ Server's reports, scan files and logs, and the cluster directory every node shares.
Resource | Specification |
|---|---|
Service and tier | Amazon EFS, General Purpose, Elastic throughput |
Protocol | NFS v4.1 |
Redundancy | Regional, across Availability Zones |
Capacity | Grows with use, plan for 1.5 TB - 4 TB |
IOPS | Scales on its own, by default up to 250,000 read and 50,000 write |
Throughput | Scales on its own |
Search Layer (OpenSearch)
OpenSearch is part of every reference architecture and is required at every size. One cluster serves Advanced Search and the Nexus One index behind the Nexus One list pages, typeahead, and dashboard. Terraform creates the cluster.
Resource | Specification |
|---|---|
Service | Amazon OpenSearch Service, created by Terraform |
OpenSearch version | 3.x, 3.7 recommended |
Data nodes | 3 x r8g.2xlarge.search |
Storage per data node | 250 GB |
Cluster managers | 3 x m8g.large.search |
Availability Zones | 3, one data node in each |
Primary shards for | 3 |
Primary shards for the other Nexus One indices | 1 |
Nexus One index replicas | 1 |
IQ Server authenticates to the domain with SigV4 through its task or pod role, so there is no OpenSearch password. A managed domain takes its own snapshots.
A replica is a full second copy of every shard. It is what makes losing a data node survivable.
The storage per data node covers a rebuild, which needs room for a second copy of the Nexus One index. A rebuild is not a backup: rebuilding a lost index leaves search unavailable until it finishes.
Network and Security
Application Load Balancer
The load balancer checks IQ Server's health on
/pingOn EKS the Application Load Balancer is created by the AWS Load Balancer Controller.
A VPC created by Terraform, with compute and OpenSearch in private subnets and the database in isolated subnets
Security groups or firewall rules restricting access between the layers
Secrets in AWS Secrets Manager, holding the database, OpenSearch and initial admin passwords
Identity: IAM roles
All databases and storage encrypted at rest
Logs on ECS Fargate: CloudWatch Logs, through a Fluent Bit sidecar, and log files on EFS
Logs on EKS: CloudWatch Logs, through the Amazon CloudWatch Observability add-on
Limitations
This architecture has the following limitations:
The Kubernetes architecture needs Kubernetes expertise.
Above 70% aggregate CPU, add nodes, up to 5.
Deploying this Architecture
Deploy this architecture with Sonatype's IQ Terraform configuration for AWS. The guided deploy.sh at the top of the repository asks for the cloud, the architecture and the size, and applies this size's values.
For full deployment details, see the README that accompanies each architecture's Terraform: