# Sonatype Platform AWS Reference Architectures

These AWS reference architectures provide validated, cloud-native deployment patterns for running Sonatype solutions on Amazon Web Services.

## Sonatype IQ Reference Architectures

Use the table below to compare the infrastructure characteristics and resource requirements for each Sonatype IQ size tier. The final row provides links to the full reference architectures, where you can find detailed implementation guidance and deployment specifications for each deployment type.

| Size Profile           | Extra Small (XS)                      | Small (S)                            | Medium (M)                          | Large (L)                            | Extra-Large (XL)                     |
|----------------------|---------------------------------------|-------------------------------------|-------------------------------------|-------------------------------------|-------------------------------------|
| Onboarded Applications | < 500                                 | 500 – 1,999                          | 2,000 – 9,999                       | 10,000 – 19,999                     | 20,000 – 80,000                     |
| Evaluation Throughput  | - ~80–120 evals/hour<br>  <br>- ~1,920–2,880/day | - ~150–220 evals/hour<br>  <br>- ~3,600–5,280/day | - ~310 evals/hour/node<br>  <br>- ~7,440/day/node | - ~310 evals/hour/node<br>  <br>- ~14,880–22,320/day total | - ~405 evals/hour/node<br>  <br>- ~29,160–38,880/day total |
| Number of IQ Server Nodes | 1                                     | 1                                   | 2                                   | 3                                   | 4                                   |
| **Example AWS Instance Type** | - r6g.large (ARM)<br>  <br>- r5.large (x86) | - r6g.xlarge (ARM)<br>  <br>- r5.xlarge (x86) | - r6g.2xlarge (ARM)<br>  <br>- r5.2xlarge (x86) | - r6g.2xlarge (ARM)<br>  <br>- r5.2xlarge (x86) | - r6g.4xlarge (ARM)<br>  <br>- r5.4xlarge (x86) |
| vCPUs                   | 2                                     | 4                                   | 8                                   | 8                                   | 16                                  |
| Memory (GB)           | 16                                    | 32                                  | 64                                  | 64                                  | 128                                 |
| Java Heap              | `-Xms12g`<br>`-Xmx12g`               | `-Xms24g`<br>`-Xmx24g`              | `-Xms48g`<br>`-Xmx48g`              | `-Xms48g`<br>`-Xmx48g`              | `-Xms96g`<br>`-Xmx96g`              |
| **Database**          | RDS PostgreSQL 15+                    | RDS PostgreSQL 15+                  | RDS PostgreSQL 15+<br>or<br>Aurora PostgreSQL | Aurora PostgreSQL 15+                | Aurora PostgreSQL 15+                |
| Instance class        | `db.t4g.medium`<br>(2 vCPU, 4 GB)<br>Multi-AZ recommended for production | `db.r6g.large`<br>(2 vCPU, 16 GB)<br>or<br>`db.t4g.large`<br>(2 vCPU, 8 GB)<br>Multi-AZ recommended | `db.r6g.2xlarge`<br>(8 vCPU, 64 GB)<br>Multi-AZ recommended | `db.r6g.2xlarge`<br>(8 vCPU, 64 GB)<br>Multi-AZ required | `db.r6g.4xlarge`<br>(16 vCPU, 128 GB)<br>Multi-AZ with automatic failover required |
| Database Storage      | 20 GB gp3, auto-scaling to 100 GB    | 50 GB gp3, auto-scaling to 200 GB   | 100 GB gp3, auto-scaling to 500 GB  | 200 GB – 1 TB auto-scaling          | 500 GB – 2 TB auto-scaling          |
| **Amazon EFS Service** | Bursting                              | Elastic (recommended)<br>or<br>Bursting | Elastic                              | Elastic                              | Elastic                              |
| Estimated Capacity    | 50 GB – 100 GB                       | 100 GB – 300 GB                     | 200 GB – 500 GB                     | 500 GB – 1.5 TB                     | 1.5 TB – 4 TB                       |
| **Link to Reference Architecture** | [XS IQ AWS architecture](https://help.sonatype.com/en/iq-xs-aws-reference-architecture.html "Size XS - Sonatype IQ - AWS Cloud-Native Reference Architecture") | [S IQ AWS architecture](https://help.sonatype.com/en/iq-s-aws-reference-architecture.html "Size S - Sonatype IQ - AWS Cloud-Native Reference Architecture") | [M IQ AWS architecture](https://help.sonatype.com/en/iq-m-aws-reference-architecture.html "Size M - Sonatype IQ - AWS Cloud-Native Reference Architecture") | [L IQ AWS architecture](https://help.sonatype.com/en/iq-l-aws-reference-architecture.html "Size L - Sonatype IQ - AWS Cloud-Native Reference Architecture") | [XL IQ AWS architecture](https://help.sonatype.com/en/iq-xl-aws-reference-architecture.html "Size XL - Sonatype IQ - AWS Cloud-Native Reference Architecture") |

## Sonatype Nexus Repository AWS Reference Architectures

Use the table below to compare the infrastructure profiles for each Nexus Repository size tier. This overview shows how resource requirements and architecture evolve as you scale from evaluation environments to enterprise deployments.

The final row provides links to the full reference architectures, where you can find detailed implementation guidance and deployment specifications for each size tier.

| Size Profile           | Extra-Small (XS)                     | Small (S)                             | Medium (M)                          | Large (L)                            | Extra-Large (XL)                     |
|----------------------|---------------------------------------|-------------------------------------|-------------------------------------|-------------------------------------|-------------------------------------|
| Request throughput (baseline) | 100 rps sustained w/ spikes of 150–200 rps | 500 rps sustained w/ spikes of 900–1,200 rps | 4,000 rps sustained w/ spikes of 6,000–8,000 rps | 8,000 rps w/ spikes of 12,000–16,000 rps | 15,000 rps w/ spikes of 50,000 rps |
| Number of Nexus Repository Nodes | 1                                     | 1                                   | 3                                   | 3                                   | 4                                   |
| **Example AWS Instance Type** | m8g.xlarge                          | m8g.2xlarge                          | m8g.2xlarge                          | m8g.8xlarge                          | m8g.12xlarge                         |
| CPU (per node)       | 4                                     | 8                                   | 8                                   | 32                                  | 48                                  |
| Memory (GiB per node) | 16                                   | 32                                  | 32                                  | 128                                 | 192                                 |
| **PostgreSQL Instance** | N/A<br>Embedded H2                  | db.r8g.large                         | db.r8g.2xlarge (HA)                | db.r8g.4xlarge (HA)                | db.r8g.8xlarge (HA)                |
| CPU                   | Embedded                              | 2                                   | 8                                   | 16                                  | 32                                  |
| Memory (GiB)         | Embedded                              | 16                                  | 64                                  | 128                                 | 128                                 |
| **Link to Reference Architecture** | [XS AWS architecture](https://help.sonatype.com/en/nexus-repository-xs-aws-reference-architecture.html "Size XS - Sonatype Nexus Repository - AWS Cloud-Native Reference Architecture") | [S AWS architecture](https://help.sonatype.com/en/nexus-repository-s-aws-reference-architecture.html "Size S - Sonatype Nexus Repository - AWS Cloud-Native Reference Architecture") | [M AWS architecture](https://help.sonatype.com/en/nexus-repository-m-aws-reference-architecture.html "Size M - Sonatype Nexus Repository - AWS Cloud-Native Reference Architecture") | [L AWS architecture](https://help.sonatype.com/en/nexus-repository-l-aws-reference-architecture.html "Size L - Sonatype Nexus Repository - AWS Cloud-Native Reference Architecture") | [XL AWS architecture](https://help.sonatype.com/en/nexus-repository-xl-aws-reference-architecture.html "Size XL - Sonatype Nexus Repository - AWS Cloud-Native Reference Architecture") |
