Skip to content

Commit 053ce4d

Browse files
authored
docs: NGINXaaS for GC docs improvements (#1295)
- Several pre-GA doc improvements for NGINXaaS for GC
1 parent e96c1d3 commit 053ce4d

File tree

8 files changed

+50
-85
lines changed

8 files changed

+50
-85
lines changed

content/includes/nginxaas-google/create-or-import-nginx-config.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ In the NGINXaaS Console,
1111
- Select **New configuration** to create a new config.
1212
- Provide a name for your configuration and an optional description.
1313
- Change the configuration path if needed.
14-
- Select to start with the "NGINXaaS Default" (a basic NGINX setup) or an empty configuration file.
14+
- Select to start with the "F5 NGINXaaS Default" (a basic NGINX setup) or an empty configuration file.
1515
- Select **Next**.
1616
- Select **Copy existing configuration** to use one of the existing configuration files in your account as template.
1717
- Provide a name for your configuration and an optional description.
@@ -22,3 +22,5 @@ In the NGINXaaS Console,
2222

2323
1. Modify the configuration file as needed and select **Save**.
2424
- You can import certificates using the **Add file** option.
25+
26+
{{< call-out "warning" >}} If you are not using the "F5 NGINXaaS Default", or if making modifications to the config, please be aware of the [NGINX configuration required content]({{< ref "nginxaas-google/getting-started/nginx-configuration/overview.md#nginx-configuration-required-content" >}}) which must be included. {{< /call-out >}}

content/includes/nginxaas-google/update-nginx-config.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,6 @@ nd-docs: DOCS-000
1111
1. Modify the configuration file(s) as needed and select **Next**.
1212
1. Review the changes using the "Inline" or "Side-by-side" views and select **Save**.
1313

14-
You will see a notification confirming that the configuration was updated successfully.
14+
You will see a notification confirming that the configuration was updated successfully.
15+
16+
{{< call-out "warning" >}} When updating a NGINX config, please be aware of the [NGINX configuration required content]({{< ref "nginxaas-google/getting-started/nginx-configuration/overview.md#nginx-configuration-required-content" >}}) which must be included. {{< /call-out >}}

content/nginxaas-google/changelog.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ To learn more, refer to the following resources:
2828
- **Product Information:**
2929

3030
- [F5 NGINXaaS for Google Cloud](https://www.f5.com/products/nginx/f5-nginxaas-for-google-cloud)
31-
- [Overview and architecture]({{< ref "/nginxaas-google/overview/overview.md" >}})
31+
- [Overview and architecture]({{< ref "/nginxaas-google/overview.md" >}})
3232
- [Getting Started]({{< ref "/nginxaas-google/getting-started/prerequisites/" >}})
3333

3434
- **Blogs:** [F5 NGINXaaS for Google Cloud: Delivering resilient, scalable applications ](https://f5.com/company/blog/delivering-resilient-scalable-applications.html)
@@ -43,5 +43,5 @@ Visit the Google Cloud Marketplace and start leveraging NGINXaaS for Google Clou
4343

4444
NGINXaaS for Google Cloud is now available in Early Access. This offering provides a fully managed, scalable, and secure solution for deploying and managing NGINX instances on Google Cloud.
4545

46-
- To learn more about NGINXaaS for Google Cloud, see the [Overview and architecture]({{< ref "/nginxaas-google/overview/overview.md" >}}) topic.
46+
- To learn more about NGINXaaS for Google Cloud, see the [Overview and architecture]({{< ref "/nginxaas-google/overview.md" >}}) topic.
4747
- To deploy NGINXaaS, see the [Getting Started]({{< ref "/nginxaas-google/getting-started/prerequisites/" >}}) guide.

content/nginxaas-google/getting-started/nginx-configuration/overview.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,41 @@ NGINX configurations can be uploaded to your NGINXaaS for Google Cloud deploymen
1919

2020
The topics below provide information on NGINX configuration restrictions and directives that are supported by NGINXaaS for Google Cloud when using any of the above workflows.
2121

22+
## NGINX configuration required content
23+
24+
F5 NGINXaaS for Google Cloud requires a few specific configuration statements to be included in order for the NGINXaaS deployment to function properly when applied. All of these are included in the "F5 NGINXaaS Default" config, which is the recommended starting config to create.
25+
26+
1. There must be an http server block (which can be referenced via `include` statement) with the following contents:
27+
28+
```nginx
29+
server {
30+
listen 49151;
31+
access_log off;
32+
location /api {
33+
api write=on;
34+
allow 127.0.0.1;
35+
deny all;
36+
}
37+
location /ready {
38+
return 200;
39+
}
40+
}
41+
```
42+
43+
This server block enables NGINXaaS to access the [NGINX Plus monitoring API]({{< ref "nginx/admin-guide/monitoring/live-activity-monitoring.md" >}}) for constant monitoring of the NGINXaaS deployment's health and collection of metrics. It also exposes a simple readiness endpoint for NGINXaaS to regularly validate the availability of the NGINXaaS deployment. Without this content, a deployment using this config will likely report an unhealthy or failed status.
44+
45+
1. The following top-level NGINX directives must exactly match these configuration settings:
46+
47+
```nginx
48+
user nginx;
49+
worker_processes auto;
50+
pid /run/nginx/nginx.pid;
51+
```
52+
53+
NGINXaaS deployments must run as the `nginx` user for proper functionality and security.
54+
`worker_processes` should be explicitly set to `auto` to guarantee optimal performance at any deployment scale.
55+
56+
Using any other file path for the `pid` directive may result in a failure to apply the config.
2257
2358
## NGINX filesystem restrictions
2459

content/nginxaas-google/known-issues.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ url: /nginxaas/google/known-issues/
1010
List of known issues in the latest release of F5 NGINXaaS for Google Cloud (NGINXaaS).
1111

1212
_There are currently no known issues._
13+
14+
{{< call-out "note" >}} You may also want to be familiar with the documented [NGINXaaS limitations]({{< ref "nginxaas-google/overview.md#limitations" >}}). {{< /call-out >}}

content/nginxaas-google/overview/overview.md renamed to content/nginxaas-google/overview.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Overview and architecture
33
weight: 100
44
toc: true
55
nd-docs: DOCS-000
6-
url: /nginxaas/google/overview/overview/
6+
url: /nginxaas/google/overview/
77
type:
88
- concept
99
---
@@ -60,10 +60,11 @@ NGINXaaS for Google Cloud is supported in the following regions per geography:
6060

6161
## Limitations
6262

63-
- We currently support two geographies with limited regions only.
63+
- As mentioned above, we currently support two geographies with limited regions only.
6464
- We only support authentication via Google acting as an identity provider.
65-
- User Role Based Access Control (RBAC) is not supported.
66-
- NGINX Configuration needs a specific snippet for an NGINXaaS deployment to work.
65+
- User Role Based Access Control (RBAC) is not yet supported.
66+
- NGINX Configurations require a specific snippet for an NGINXaaS deployment to work.
67+
- For specifics see [NGINX configuration required content]({{< ref "nginxaas-google/getting-started/nginx-configuration/overview.md#nginx-configuration-required-content" >}}).
6768

6869
## What's next
6970

content/nginxaas-google/overview/_index.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

content/nginxaas-google/overview/feature-comparison.md

Lines changed: 0 additions & 72 deletions
This file was deleted.

0 commit comments

Comments
 (0)