-
Notifications
You must be signed in to change notification settings - Fork 82
Mkingst tech specs updated #535
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -1,7 +1,7 @@ | ||||||
--- | ||||||
description: '' | ||||||
docs: DOCS-1211 | ||||||
title: Manually install on a virtual machine or bare metal (deprecated) | ||||||
title: Manually install on a virtual machine or bare metal (Manual Method) | ||||||
toc: true | ||||||
weight: 10 | ||||||
noindex: true | ||||||
|
@@ -14,7 +14,7 @@ type: | |||||
Follow the steps in this guide to install or upgrade NGINX Instance Manager. | ||||||
|
||||||
{{<call-out "caution" "Deprecated documentation notice" "fa fa-exclamation-triangle" >}} | ||||||
This document outlines manual steps that have been replaced by a simplified script-based process. For most users, we recommend using the updated process documented [here]({{< ref "nim/deploy/vm-bare-metal/install.md" >}}).{{</call-out>}} | ||||||
This document outlines manual steps to install NGINX Instance Manager. There is also a simplified script-based installation guide on the other section that we reccommend for faster deployment. For most users, we recommend using the updated process documented [here]({{< ref "nim/deploy/vm-bare-metal/install.md" >}}). If there are issues when running the script, these manual steps may be better suited to specific environments. {{</call-out>}} | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
## Before You Begin | ||||||
|
||||||
|
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
@@ -83,6 +83,29 @@ The following benchmarks focus on **disk storage** requirements for NGINX Instan | |||||||||
- **Medium configuration**: Usually includes about **50 servers**, **200 locations**, and **200 upstreams/backends**. Each instance generates **16,766 metrics per minute**. | ||||||||||
- **Generic Large configuration**: Handles up to **100 servers**, **1,000 locations**, and **900 upstreams/backends**. In **NGINX Plus**, each instance generates **59,484 metrics per minute**. | ||||||||||
|
||||||||||
|
||||||||||
#### Directory Requirements for NGINX Instance Manager | ||||||||||
|
||||||||||
Below are the directory requirements and storage recommendations for fresh, minimal, and moderate usage (<100 instances) of NGINX Instance Manager (NIM). | ||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
|
||||||||||
Important Note: These recommendations apply if you are using NGINX Agent to connect NGINX instances to NIM for full management capabilities (e.g., managing configurations, viewing metrics, applying WAF policies, managing certificates, etc.). If the use case is solely usage reporting, as introduced in R33+, the Agent is not required, and resources needed are significantly reduced. For usage reporting-only deployments, NIM simply receives and stores usage data sent directly from the instances, which does not require the same resource allocation outlined below. | ||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I presume you're referring to volume requirements for each noted directory
Suggested change
|
||||||||||
|
||||||||||
- /usr/bin: Stores NIM binaries; recommend 500MB (current size ~400MB). | ||||||||||
- /var/lib/nms/dqlite: Stores DQLite database data; recommend 1GB (2GB without NAP, 5GB with NAP enabled and large compiled bundles). | ||||||||||
- /var/lib/nms/streaming: Stores NATS streaming messages; recommend 500MB. | ||||||||||
- /var/lib/nms/secrets: Stores secrets for LLM license handshakes; recommend 10MB. | ||||||||||
- /var/lib/nms/modules: Stores static content like manager.json; recommend 100KB (12KB minimum). | ||||||||||
- /var/lib/clickhouse: Stores ClickHouse metrics data; recommend 2.5GB per instance (25GB for 10 instances, 250GB for 100 instances). This is only required if ClickHouse metrics are enabled. In NIM 2.20, lightweight mode can be deployed without ClickHouse (no metrics collected). | ||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Some of what's drafted is redundant. However, this is begging for a link to answer "What if I'm deploying > 100 instances of NIM"
Suggested change
|
||||||||||
- /var/log/nms: Stores logs for NIM with rotation enabled; recommend 50MB per week if archived once a month. | ||||||||||
- /etc/nms/: Stores NIM configuration files; recommend 50MB. | ||||||||||
- /etc/nginx: Stores NGINX configuration files; typical size is 10–50MB (confirm with specific deployments). | ||||||||||
|
||||||||||
**Key Considerations**: | ||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
-Resources listed above are necessary for instance management using NIM (via NGINX Agent). | ||||||||||
-For usage reporting-only deployments (without management via Agent): | ||||||||||
Comment on lines
+104
to
+105
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. style. We discourage the use of Latin terms
Suggested change
|
||||||||||
No ClickHouse metrics are collected. | ||||||||||
Resource requirements are significantly reduced, as the usage data is only received and stored by NIM. This generally requires much less disk space and memory allocation. The intended use case (management vs. usage reporting) is critical to avoid allocating unnecessary resources. Regular monitoring, backups, and adjustments are still recommended to optimize operations. | ||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
|
||||||||||
#### Storage requirements for NGINX Plus | ||||||||||
|
||||||||||
The table below provides storage estimates for **NGINX Plus** based on configuration size, number of instances, and a 14-day data retention period. Larger configurations and longer retention periods will require proportionally more storage. | ||||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a little redundant: