SlideShare a Scribd company logo
Install and Configure
NGINX Unit
Robert Haynes- NGINX
©2022 F5
2
1. Housekeeping – (Q&A, resources, window sizing, lab access)
2. NGINX Unit Overview
3. The lab environment
4. Quick lab demo
5. Over to you – get hands on with NGINX Unit
6. Wrap up and next steps
Welcome!
©2022 F5
3
What is NGINX Unit?
©2022 F5
4
NGINX and NGINX Unit
NGINX NGINX Unit
Reverse Proxy
Load Balancer
Static Webserver
Web Application Firewall
API Gatewayl
Application Runtime(s)
Origin Server
©2022 F5
5
What can Unit do?
Route Application Requests
Serve Static
Content Run Applications Reverse Proxy to
External services
Manage TLS
• Runs on most UNIX-like operating-
systems
• Container images and OS packages
• Compile from source
©2022 F5
6
Unit runs apps across many languages and frameworks
©2022 F5
7
NGINX Unit Components
©2022 F5
8
Unit configuration controls networking and runtime
listeners
applications
routes
upstreams
pass
pass / proxy
pass
pass
Layer 4 Layer 7 User Space Layer 7
TCP/TLS/ports Headers, URIs Code/Files IP/ports
pass
/files/on/disk
share
External
services
return Simple response
©2022 F5
9
NGINX Unit configuration API – JSON
{
"listeners": {
"127.0.0.1:80": {
"pass": "routes"
}
},
"routes": [
{
"action": {
"return": 200
}
}
],
"applications": {}
}
• Config is written in JSON Payload
• Upload via HTTP GET/POST/PUT/DELETE methods
• Postman
• Curl
• Ansible (via a community-maintained collection)
Or any language that can make HTTP requests (e.g python)
©2022 F5
10
Your Lab Environment
©2022 F5
11
•The lab is browser based
•Just click on the invite link in the on-24 resources section
•The lab has a time limit of 1 hour (but is quite quick to do)
•You have 3 hours of lab availably once you start
•You can attempt the lab 4 times
•Help via the Q&A and chat system in On24
Lab housekeeping
©2022 F5
12
Lab layout
In-browser shell
Instructions – auto
copy
Check and move to
next challenge
©2022 F5
13
IMPORTANT! (please)
©2022 F5
14
Lab Demo
©2022 F5
15
Over to You
©2022 F5
16
•Download and install NGINX Unit in your environment
•Join the NGINX Community Slack channel
https://community.nginx.org/joinslack
•Check out the Unit home page
https://unit.nginx.org/
•Contribute to the project!
https://unit.nginx.org/contribution/
What’s next?
Install and Configure NGINX Unit, the Universal Application, Web, and Proxy Server
Ad

Recommended

PPTX
Nginx A High Performance Load Balancer, Web Server & Reverse Proxy
Amit Aggarwal
 
PPTX
Nginx
Geeta Vinnakota
 
PPTX
NGINX: Basics and Best Practices
NGINX, Inc.
 
PDF
FreeSWITCH on Docker
建澄 吳
 
PPTX
Dataplane programming with eBPF: architecture and tools
Stefano Salsano
 
PPTX
Introduction to Hyper-V
Mark Wilson
 
PPTX
Learn nginx in 90mins
Larry Cai
 
PDF
Red Hat Insights
Alessandro Silva
 
PPTX
Installing and Configuring NGINX Open Source
NGINX, Inc.
 
PPT
Linux
Kevin James
 
ODP
Introduction to Ansible
Knoldus Inc.
 
PDF
Grub2 Booting Process
Mike Wang
 
PDF
Virtualization Technology Overview
OpenCity Community
 
PPT
Ansible presentation
John Lynch
 
PDF
netfilter and iptables
Kernel TLV
 
PDF
The WAF book (Web App Firewall )
Lior Rotkovitch
 
PPTX
Linux Network Stack
Adrien Mahieux
 
PPTX
How to Avoid the Top 5 NGINX Configuration Mistakes
NGINX, Inc.
 
PPTX
Introduction to ansible
Omid Vahdaty
 
PPTX
NGINX: Basics & Best Practices - EMEA Broadcast
NGINX, Inc.
 
PDF
VMware ESXi - Intel and Qlogic NIC throughput difference v0.6
David Pasek
 
PDF
Nodejs presentation
Arvind Devaraj
 
PPTX
5 things you didn't know nginx could do
sarahnovotny
 
PPTX
Ansible presentation
Suresh Kumar
 
PDF
Backroll: Production Grade KVM Backup Solution Integrated in CloudStack
ShapeBlue
 
PDF
The ultimate guide to software updates on embedded linux devices
Mender.io
 
PPTX
eBPF Basics
Michael Kehoe
 
PDF
Open Sourcing NGINX Agent and Demo
NGINX, Inc.
 
PDF
Unit Rebooted – Real World Use Cases and Success Stories
NGINX, Inc.
 

More Related Content

What's hot (20)

PPTX
Installing and Configuring NGINX Open Source
NGINX, Inc.
 
PPT
Linux
Kevin James
 
ODP
Introduction to Ansible
Knoldus Inc.
 
PDF
Grub2 Booting Process
Mike Wang
 
PDF
Virtualization Technology Overview
OpenCity Community
 
PPT
Ansible presentation
John Lynch
 
PDF
netfilter and iptables
Kernel TLV
 
PDF
The WAF book (Web App Firewall )
Lior Rotkovitch
 
PPTX
Linux Network Stack
Adrien Mahieux
 
PPTX
How to Avoid the Top 5 NGINX Configuration Mistakes
NGINX, Inc.
 
PPTX
Introduction to ansible
Omid Vahdaty
 
PPTX
NGINX: Basics & Best Practices - EMEA Broadcast
NGINX, Inc.
 
PDF
VMware ESXi - Intel and Qlogic NIC throughput difference v0.6
David Pasek
 
PDF
Nodejs presentation
Arvind Devaraj
 
PPTX
5 things you didn't know nginx could do
sarahnovotny
 
PPTX
Ansible presentation
Suresh Kumar
 
PDF
Backroll: Production Grade KVM Backup Solution Integrated in CloudStack
ShapeBlue
 
PDF
The ultimate guide to software updates on embedded linux devices
Mender.io
 
PPTX
eBPF Basics
Michael Kehoe
 
Installing and Configuring NGINX Open Source
NGINX, Inc.
 
Linux
Kevin James
 
Introduction to Ansible
Knoldus Inc.
 
Grub2 Booting Process
Mike Wang
 
Virtualization Technology Overview
OpenCity Community
 
Ansible presentation
John Lynch
 
netfilter and iptables
Kernel TLV
 
The WAF book (Web App Firewall )
Lior Rotkovitch
 
Linux Network Stack
Adrien Mahieux
 
How to Avoid the Top 5 NGINX Configuration Mistakes
NGINX, Inc.
 
Introduction to ansible
Omid Vahdaty
 
NGINX: Basics & Best Practices - EMEA Broadcast
NGINX, Inc.
 
VMware ESXi - Intel and Qlogic NIC throughput difference v0.6
David Pasek
 
Nodejs presentation
Arvind Devaraj
 
5 things you didn't know nginx could do
sarahnovotny
 
Ansible presentation
Suresh Kumar
 
Backroll: Production Grade KVM Backup Solution Integrated in CloudStack
ShapeBlue
 
The ultimate guide to software updates on embedded linux devices
Mender.io
 
eBPF Basics
Michael Kehoe
 

Similar to Install and Configure NGINX Unit, the Universal Application, Web, and Proxy Server (20)

PDF
Open Sourcing NGINX Agent and Demo
NGINX, Inc.
 
PDF
Unit Rebooted – Real World Use Cases and Success Stories
NGINX, Inc.
 
PDF
Zephyr Introduction - Nordic Webinar - Sept. 24.pdf
AswathRangaraj1
 
PDF
Presentation network design and security for your v mware view deployment w...
solarisyourep
 
PDF
.NET Cloud-Native Bootcamp
VMware Tanzu
 
PDF
Nim tames sprawl
NGINX, Inc.
 
PPTX
Make the Shift from Manual to Automation with Open Source
Perfecto by Perforce
 
PDF
Securing Your App Deployments with Tunnels, OIDC, RBAC, and Progressive Deliv...
Weaveworks
 
PPTX
CENTRAL MANAGEMENT OF NETWORK AND CALL SERVICES
Nazmul Hossain Rakib
 
PDF
Twelve-Factor App: Software Application Architecture
Sigfred Balatan Jr.
 
PDF
Securing Your Apps & APIs in the Cloud
Olivia LaMar
 
PDF
Nginx app protect-for-meetup-v1.0-202006_lk
Juraj Hantak
 
PDF
Intro to GitOps with Weave GitOps, Flagger and Linkerd
Weaveworks
 
PPT
Storage Provisioning for Enterprise Information Applications
Ambareesh Kulkarni
 
PDF
VMware ThinApp 4.5
netlogix
 
PDF
NGINX Unit: Rebooting our Universal Web App Server
NGINX, Inc.
 
PPTX
5 things you didn't know nginx could do velocity
sarahnovotny
 
PPTX
Javascript Essentials - Cisco Live Barcelona 2019
Cisco DevNet
 
PPTX
NGINX Basics and Best Practices Workshop
NGINX, Inc.
 
PPTX
NGINX Installation and Tuning
NGINX, Inc.
 
Open Sourcing NGINX Agent and Demo
NGINX, Inc.
 
Unit Rebooted – Real World Use Cases and Success Stories
NGINX, Inc.
 
Zephyr Introduction - Nordic Webinar - Sept. 24.pdf
AswathRangaraj1
 
Presentation network design and security for your v mware view deployment w...
solarisyourep
 
.NET Cloud-Native Bootcamp
VMware Tanzu
 
Nim tames sprawl
NGINX, Inc.
 
Make the Shift from Manual to Automation with Open Source
Perfecto by Perforce
 
Securing Your App Deployments with Tunnels, OIDC, RBAC, and Progressive Deliv...
Weaveworks
 
CENTRAL MANAGEMENT OF NETWORK AND CALL SERVICES
Nazmul Hossain Rakib
 
Twelve-Factor App: Software Application Architecture
Sigfred Balatan Jr.
 
Securing Your Apps & APIs in the Cloud
Olivia LaMar
 
Nginx app protect-for-meetup-v1.0-202006_lk
Juraj Hantak
 
Intro to GitOps with Weave GitOps, Flagger and Linkerd
Weaveworks
 
Storage Provisioning for Enterprise Information Applications
Ambareesh Kulkarni
 
VMware ThinApp 4.5
netlogix
 
NGINX Unit: Rebooting our Universal Web App Server
NGINX, Inc.
 
5 things you didn't know nginx could do velocity
sarahnovotny
 
Javascript Essentials - Cisco Live Barcelona 2019
Cisco DevNet
 
NGINX Basics and Best Practices Workshop
NGINX, Inc.
 
NGINX Installation and Tuning
NGINX, Inc.
 
Ad

More from NGINX, Inc. (20)

PDF
【NGINXセミナー】 Ingressを使ってマイクロサービスの運用を楽にする方法
NGINX, Inc.
 
PDF
【NGINXセミナー】 NGINXのWAFとは?その使い方と設定方法 解説セミナー
NGINX, Inc.
 
PDF
【NGINXセミナー】API ゲートウェイとしてのNGINX Plus活用方法
NGINX, Inc.
 
PPTX
Get Hands-On with NGINX and QUIC+HTTP/3
NGINX, Inc.
 
PPTX
Managing Kubernetes Cost and Performance with NGINX & Kubecost
NGINX, Inc.
 
PDF
Manage Microservices Chaos and Complexity with Observability
NGINX, Inc.
 
PDF
Accelerate Microservices Deployments with Automation
NGINX, Inc.
 
PDF
Unit 2: Microservices Secrets Management 101
NGINX, Inc.
 
PDF
Unit 1: Apply the Twelve-Factor App to Microservices Architectures
NGINX, Inc.
 
PDF
NGINX基本セミナー(セキュリティ編)~NGINXでセキュアなプラットフォームを実現する方法!
NGINX, Inc.
 
PDF
Easily View, Manage, and Scale Your App Security with F5 NGINX
NGINX, Inc.
 
PDF
NGINXセミナー(基本編)~いまさら聞けないNGINXコンフィグなど基本がわかる!
NGINX, Inc.
 
PDF
Keep Ahead of Evolving Cyberattacks with OPSWAT and F5 NGINX
NGINX, Inc.
 
PPTX
Protecting Apps from Hacks in Kubernetes with NGINX
NGINX, Inc.
 
PPTX
NGINX Kubernetes API
NGINX, Inc.
 
PPTX
Successfully Implement Your API Strategy with NGINX
NGINX, Inc.
 
PPTX
Shift Left for More Secure Apps with F5 NGINX
NGINX, Inc.
 
PPTX
How to Avoid the Top 5 NGINX Configuration Mistakes.pptx
NGINX, Inc.
 
PDF
Kubernetes環境で実現するWebアプリケーションセキュリティ
NGINX, Inc.
 
PDF
Software Delivery and the Rube Goldberg Machine: What Is the Problem We Are T...
NGINX, Inc.
 
【NGINXセミナー】 Ingressを使ってマイクロサービスの運用を楽にする方法
NGINX, Inc.
 
【NGINXセミナー】 NGINXのWAFとは?その使い方と設定方法 解説セミナー
NGINX, Inc.
 
【NGINXセミナー】API ゲートウェイとしてのNGINX Plus活用方法
NGINX, Inc.
 
Get Hands-On with NGINX and QUIC+HTTP/3
NGINX, Inc.
 
Managing Kubernetes Cost and Performance with NGINX & Kubecost
NGINX, Inc.
 
Manage Microservices Chaos and Complexity with Observability
NGINX, Inc.
 
Accelerate Microservices Deployments with Automation
NGINX, Inc.
 
Unit 2: Microservices Secrets Management 101
NGINX, Inc.
 
Unit 1: Apply the Twelve-Factor App to Microservices Architectures
NGINX, Inc.
 
NGINX基本セミナー(セキュリティ編)~NGINXでセキュアなプラットフォームを実現する方法!
NGINX, Inc.
 
Easily View, Manage, and Scale Your App Security with F5 NGINX
NGINX, Inc.
 
NGINXセミナー(基本編)~いまさら聞けないNGINXコンフィグなど基本がわかる!
NGINX, Inc.
 
Keep Ahead of Evolving Cyberattacks with OPSWAT and F5 NGINX
NGINX, Inc.
 
Protecting Apps from Hacks in Kubernetes with NGINX
NGINX, Inc.
 
NGINX Kubernetes API
NGINX, Inc.
 
Successfully Implement Your API Strategy with NGINX
NGINX, Inc.
 
Shift Left for More Secure Apps with F5 NGINX
NGINX, Inc.
 
How to Avoid the Top 5 NGINX Configuration Mistakes.pptx
NGINX, Inc.
 
Kubernetes環境で実現するWebアプリケーションセキュリティ
NGINX, Inc.
 
Software Delivery and the Rube Goldberg Machine: What Is the Problem We Are T...
NGINX, Inc.
 
Ad

Recently uploaded (20)

DOCX
Best AI-Powered Wearable Tech for Remote Health Monitoring in 2025
SEOLIFT - SEO Company London
 
PDF
Canva Pro Crack Free Download 2025-FREE LATEST
grete1122g
 
PDF
A Guide to Telemedicine Software Development.pdf
Olivero Bozzelli
 
PDF
Digital Transformation: Automating the Placement of Medical Interns
Safe Software
 
PDF
Modern Platform Engineering with Choreo - The AI-Native Internal Developer Pl...
WSO2
 
PPTX
AI for PV: Development and Governance for a Regulated Industry
Biologit
 
PPT
Complete Guideliness to Build an Effective Maintenance Plan.ppt
QualityzeInc1
 
PDF
Humans vs AI Call Agents - Qcall.ai's Special Report
Udit Goenka
 
PPTX
arctitecture application system design os dsa
za241967
 
PPTX
From Code to Commerce, a Backend Java Developer's Galactic Journey into Ecomm...
Jamie Coleman
 
PDF
How Automation in Claims Handling Streamlined Operations
Insurance Tech Services
 
DOCX
Enable Your Cloud Journey With Microsoft Trusted Partner | IFI Tech
IFI Techsolutions
 
PPTX
Simplify Insurance Regulations with Compliance Management Software
Insurance Tech Services
 
PDF
Azure AI Foundry: The AI app and agent factory
Maxim Salnikov
 
PPTX
ERP Systems in the UAE: Driving Business Transformation with Smart Solutions
dheeodoo
 
PDF
CodeCleaner: Mitigating Data Contamination for LLM Benchmarking
arabelatso
 
DOCX
Zoho Creator Solution for EI by Elsner Technologies.docx
Elsner Technologies Pvt. Ltd.
 
PDF
CodeCleaner: Mitigating Data Contamination for LLM Benchmarking
arabelatso
 
PPTX
Top Time Tracking Solutions for Accountants
oliviareed320
 
PDF
Best Software Development at Best Prices
softechies7
 
Best AI-Powered Wearable Tech for Remote Health Monitoring in 2025
SEOLIFT - SEO Company London
 
Canva Pro Crack Free Download 2025-FREE LATEST
grete1122g
 
A Guide to Telemedicine Software Development.pdf
Olivero Bozzelli
 
Digital Transformation: Automating the Placement of Medical Interns
Safe Software
 
Modern Platform Engineering with Choreo - The AI-Native Internal Developer Pl...
WSO2
 
AI for PV: Development and Governance for a Regulated Industry
Biologit
 
Complete Guideliness to Build an Effective Maintenance Plan.ppt
QualityzeInc1
 
Humans vs AI Call Agents - Qcall.ai's Special Report
Udit Goenka
 
arctitecture application system design os dsa
za241967
 
From Code to Commerce, a Backend Java Developer's Galactic Journey into Ecomm...
Jamie Coleman
 
How Automation in Claims Handling Streamlined Operations
Insurance Tech Services
 
Enable Your Cloud Journey With Microsoft Trusted Partner | IFI Tech
IFI Techsolutions
 
Simplify Insurance Regulations with Compliance Management Software
Insurance Tech Services
 
Azure AI Foundry: The AI app and agent factory
Maxim Salnikov
 
ERP Systems in the UAE: Driving Business Transformation with Smart Solutions
dheeodoo
 
CodeCleaner: Mitigating Data Contamination for LLM Benchmarking
arabelatso
 
Zoho Creator Solution for EI by Elsner Technologies.docx
Elsner Technologies Pvt. Ltd.
 
CodeCleaner: Mitigating Data Contamination for LLM Benchmarking
arabelatso
 
Top Time Tracking Solutions for Accountants
oliviareed320
 
Best Software Development at Best Prices
softechies7
 

Install and Configure NGINX Unit, the Universal Application, Web, and Proxy Server

  • 1. Install and Configure NGINX Unit Robert Haynes- NGINX
  • 2. ©2022 F5 2 1. Housekeeping – (Q&A, resources, window sizing, lab access) 2. NGINX Unit Overview 3. The lab environment 4. Quick lab demo 5. Over to you – get hands on with NGINX Unit 6. Wrap up and next steps Welcome!
  • 3. ©2022 F5 3 What is NGINX Unit?
  • 4. ©2022 F5 4 NGINX and NGINX Unit NGINX NGINX Unit Reverse Proxy Load Balancer Static Webserver Web Application Firewall API Gatewayl Application Runtime(s) Origin Server
  • 5. ©2022 F5 5 What can Unit do? Route Application Requests Serve Static Content Run Applications Reverse Proxy to External services Manage TLS • Runs on most UNIX-like operating- systems • Container images and OS packages • Compile from source
  • 6. ©2022 F5 6 Unit runs apps across many languages and frameworks
  • 8. ©2022 F5 8 Unit configuration controls networking and runtime listeners applications routes upstreams pass pass / proxy pass pass Layer 4 Layer 7 User Space Layer 7 TCP/TLS/ports Headers, URIs Code/Files IP/ports pass /files/on/disk share External services return Simple response
  • 9. ©2022 F5 9 NGINX Unit configuration API – JSON { "listeners": { "127.0.0.1:80": { "pass": "routes" } }, "routes": [ { "action": { "return": 200 } } ], "applications": {} } • Config is written in JSON Payload • Upload via HTTP GET/POST/PUT/DELETE methods • Postman • Curl • Ansible (via a community-maintained collection) Or any language that can make HTTP requests (e.g python)
  • 10. ©2022 F5 10 Your Lab Environment
  • 11. ©2022 F5 11 •The lab is browser based •Just click on the invite link in the on-24 resources section •The lab has a time limit of 1 hour (but is quite quick to do) •You have 3 hours of lab availably once you start •You can attempt the lab 4 times •Help via the Q&A and chat system in On24 Lab housekeeping
  • 12. ©2022 F5 12 Lab layout In-browser shell Instructions – auto copy Check and move to next challenge
  • 16. ©2022 F5 16 •Download and install NGINX Unit in your environment •Join the NGINX Community Slack channel https://community.nginx.org/joinslack •Check out the Unit home page https://unit.nginx.org/ •Contribute to the project! https://unit.nginx.org/contribution/ What’s next?

Editor's Notes

  • #2: Usual welcome
  • #3: Run through what we are going to do, talk about the labs and duration
  • #5: So let’s talk about NGINX and NGINX Unit – because they are not the same thing. I expect most of you will be aware of NGINX ##. NGINX is our well known web server and reverse proxy. NGINX is available in both open source and commercial versions and offers features like ## reverse proxy, load balancing, web serving, application layer firewall capabilities and api gateway capabilities. But we are not talking about that today. Today we are talking about NGINX Unit ##. Nginx Unit is a different piece of software that provides the application server runtime environment for your web applications. ## this is where your application code is going to run. NGINX unit offers a highly configuratle, lightweight and isolated runtime environment where multiple applications using different languages can run on the same platform.
  • #6: So what can unit do? Well first ## it can run on most unix-like operating systems, with binaries available for popular LINUX distributions, container images, and of course the ability to build from source. Next ## it can route application requests as the come in – based on, well, all the things you might expect, hostname, path, cookies etc. Route to where? ## Well just like NGINX, Unit can serve static content. This might be useful for images, media etc. More commonly the target will be an application ##. We will cover installing a language module and a sample application in the lab. Of course Unit might not be able to handle every request, so also has the ability to proxy requests to external services, and even load balance across them. And of course, like any moderna platform, we can manage the TLS/SSL layer so that your application traffic is encrypted
  • #7: Unit supports a lot of languages ## and even more frameworks ## Today we will install just one language, but you can have multiple languages (and even multiple versions of the same language) running on unit, all the installation instructions for languages are on the unit website.
  • #9: Here are the major configuration items and directives – first we have a listener##. Which defines an address and port to listen on, at a minimum. Wildcards are supported, Listeners are also where TLS is configured A listener can pass traffic to an application, an upstream (an external service), or most commonly a route A route is where we can use some logic to take action. We can share static content, pass traffic to an application, or an upstream server, and even return simple content directly from the route. ##Upstreams are configured in a similar way to NGINX – although if your primary use case is a reverse proxy load-balancer, then NGINX is currently a better choice then Unit.
  • #10: If this all sounds good, you might be wondering how to configure unit to do all this stuff. ##Unit is configured by a REST API, with the configuration data in a JSON payload You can use any tools you like to make the HTTP requests ## ##And any language that can send a request ## The format is simple and easy to read. Today we will just be using text files and curl to make configuration changes.
  • #11: OK, nearly time for the lab, lets give you a quick run through and a very short demo of the lab.
  • #12: Talk hrough the points
  • #13: Once you start the lab, each challenge will give you a screen like this . It ‘s very easy to navigate. ## there is a shell, and some times another tab for an application ## the instructions to follow are on the right, and you can resize and easily copy commands. The sections expand to make it easier to get a lot on one page. Once you have completed a challenge in the lab, click the ‘check’ button to see if it’s complete.
  • #14: PLEASE – click ‘finish’ to end the lab, and give feedback.
  • #15: OK, I’m going to put the link for the lab in the chat now.