Skip to content
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

this is documentation for managing our nginx on OpenBSD #49

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kayiwa
Copy link
Member

@kayiwa kayiwa commented Sep 1, 2023

No description provided.

Copy link
Contributor

@acozine acozine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is very detailed documentation, thanks @kayiwa.

I would love to see a bit more explanation / background on this - are these instructions for creating a central Nginx load balancer that hosts configs for all the sites we run in GCP? Or are they for creating site-specific Nginx servers that run one site per server? The PR mentions the 'few subtle differences' between Nginx and NginxPlus, but I don't see much detail below.


### Overview

We have [nginx](https://www.nginx.com) running on [OpenBSD](https://www.openbsd.org) as a load balancer. This allows us to mirror -to a degree- what we have on-Prem. There are a few subtle differences to Nginx and NginxPlus that this will enlighten in addition to the Operating System that this document will try to articulate.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
We have [nginx](https://www.nginx.com) running on [OpenBSD](https://www.openbsd.org) as a load balancer. This allows us to mirror -to a degree- what we have on-Prem. There are a few subtle differences to Nginx and NginxPlus that this will enlighten in addition to the Operating System that this document will try to articulate.
For sites that run on Google Cloud Platform (GCP), we run [nginx](https://www.nginx.com) on [OpenBSD](https://www.openbsd.org) as a load balancer. This allows us to mirror -to a degree- what we have on-Prem. This document highlights the differences between our on-prem setup (NginxPlus on Ubuntu) and our cloud setup (Nginx on OpenBSD).


#### Build and Deploy

* We have machine images on [Google Cloud Platform](https://console.cloud.google.com/compute/instancesAdd?project=pul-gcdc&creationFlow=fromMachineImage) that you can create from. From the Google Cloud Console you can select a new instance from machine image and select the latest snapshot.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* We have machine images on [Google Cloud Platform](https://console.cloud.google.com/compute/instancesAdd?project=pul-gcdc&creationFlow=fromMachineImage) that you can create from. From the Google Cloud Console you can select a new instance from machine image and select the latest snapshot.
* To build a new load balancer on GCP, look at the [GCP machine images](https://console.cloud.google.com/compute/instancesAdd?project=pul-gcdc&creationFlow=fromMachineImage), select a new instance from machine image, and select the latest snapshot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants