SlideShare ist ein Scribd-Unternehmen logo
1 von 13
Downloaden Sie, um offline zu lesen
Open Sourcing NGINX
Agent and Demo
Oliver O’Mahony
Technical Lead for NGINX Agent
©2022 F5
2
Agenda
NGINX Agent Overview
NGINX Agent Architecture
Key NGINX Agent Features
NGINX Agent Repository and Releases
NGINX Agent Registration Demo
NGINX Agent NGINX Configuration Demo
NGINX Agent NGINX Metrics Demo
©2022 F5
3
• The NGINX Agent is a lightweight piece of software that can be installed next to NGINX Open Source (OSS) and/or NGINX Plus
• It provides local interaction with NGINX instances to allow administrative actions to be carried out.
• The NGINX Agent provides the following information on a NGINX instance
• Management of NGINX instance configurations
• Metrics from Logs (OSS) or API (Plus)
• Gathering of a key set of dataplane events
• Written in Golang, uses protobuf for data contracts
NGINX Agent Overview
©2022 F5
4
NGINX Agent Architecture
• NGINX Agent uses an event driven
architecture with a centralized
messaging system
• The MessagePipe uses an in-
memory message bus leveraging the
tailored plugin subscriptions
• The NGINX Agent has an SDK for
reuse of protobuf definitions and
helper functions in building your own
control plane
Messaging
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
type Plugin interface {
Init(MessagePipeInterface)
Process(*Message)
Subscriptions() []string
Close()
Info() *Info
}
type MessagePipeInterface interface {
Register(int, …Plugin)
Process(…*Message)
Run()
Context() context.Context
GetPlugins() []Plugin
}
type Message struct {
topic *string
data *Payload
}
©2022 F5
5
Key NGINX Agent Features
Feature Description
Registration Registration of NGINX and Host / Dataplane Software Information
NGINX Config Management Manage NGINX configurations upstream and downstream
NGINX+ Counting R27+ NGINX Counting
Metrics Reporting Reporting of metrics information from NGINX OSS / Plus, Host (real and virtual)
Dataplane Health Status Report on the health of NGINX instances and dataplane information
©2022 F5
6
Key NGINX Agent Features Continued
Feature Description
Process Watching Watch for NGINX process changes (including workers)
File Watching Watch for file changes on the dataplane, uploading NGINX configuration changes
Activity Events
Report on key events on the dataplane
• Agent Start / Stop
• Config Apply Success / Failure / Rollback
• NGINX Process and Worker Start / Stop / Reload
TLS Certificate Reporting Report on TLS Certificate Information
©2022 F5
7
NGINX Agent Github Repository
©2022 F5
8
https://docs.nginx.com/nginx/releases
• NGINX Agentis supported on:
• Alpine Linux3.13,3.14,3.15,3.16
• AmazonLinux 2 LTS
• CentOS 7.4+
• Debian10,11
• FreeBSD12.1+,13
• Oracle Linux7.4+,8.1+
• RHEL7.4+,8.1+,9.0+
• SUSE Linux EnterpriseServer12 SP5,15 SP2
• Ubuntu 18.04LTS,20.04LTS,22.04LTS
• Available to downloadon,as of now
• Github
• https://pkgs.nginx.com/nginx-agent(requiresNGINX plus keys)
NGINX Agent Releases
Releases
1
2
3
4
5
6
7
8
9
1
0
1
1
1
2
1
3
1
4
1
5
1
6
1
7
1
8
1
9
2
0
2
1
2
2
2
3
2
4
curl --cert ./build/nginx-repo.crt --key ./build/nginx-repo.key
https://pkgs.nginx.com/nginx-agent/
<html>
<head><title>Index of /nginx-agent/</title></head>
<body>
<h1>Index of /nginx-agent/</h1><hr><pre><a href="../">../</a>
<a href="alpine/">alpine/</a>
13-Jul-2022 08:49 -
<a href="amzn2/">amzn2/</a>
13-Jul-2022 09:48 -
<a href="centos/">centos/</a>
13-Jul-2022 09:48 -
<a href="debian/">debian/</a>
05-Mar-2021 14:29 -
<a href="freebsd/">freebsd/</a>
13-Jul-2022 08:50 -
<a href="sles/">sles/</a>
13-Jul-2022 09:48 -
<a href="ubuntu/">ubuntu/</a>
13-Jul-2022 09:48 -
<a href="index.xml">index.xml</a>
13-Jul-2022 09:48 6805
</pre><hr></body>
</html>
©2022 F5
9
NGINX Agent Registration Demo
©2022 F5
10
Agent Registration Handshake (Simplified)
Agent Server
Step 1
Step 2
Step 3
Step 4
Agent Connect Request
Agent Connect Response
For Each Config Upload in Chunks
Populate
ConfigReport
Configs to request
all NGINX configs
to be uploaded
Assemble Data Chunks (DataChunk_Data)
Create HostInfo
Create NGINXDetails
Create NGINXConfig proto (optional)
©2022 F5
11
NGINX Agent NGINX Configuration Demo
©2022 F5
12
NGINX Agent NGINX Metrics Demo
https://docs.nginx.com/nginx-management-suite/nim/reference/catalogs/metrics/
THANKS FOR WATCHING

Weitere ähnliche Inhalte

Ähnlich wie Open Sourcing NGINX Agent and Demo

Ähnlich wie Open Sourcing NGINX Agent and Demo (20)

Web後端技術的演變
Web後端技術的演變Web後端技術的演變
Web後端技術的演變
 
NGINX Installation and Tuning
NGINX Installation and TuningNGINX Installation and Tuning
NGINX Installation and Tuning
 
What's New in NGINX Plus R12?
What's New in NGINX Plus R12? What's New in NGINX Plus R12?
What's New in NGINX Plus R12?
 
NGINX Microservices Reference Architecture: What’s in Store for 2019 – EMEA
NGINX Microservices Reference Architecture: What’s in Store for 2019 – EMEANGINX Microservices Reference Architecture: What’s in Store for 2019 – EMEA
NGINX Microservices Reference Architecture: What’s in Store for 2019 – EMEA
 
NGINX: Basics and Best Practices EMEA
NGINX: Basics and Best Practices EMEANGINX: Basics and Best Practices EMEA
NGINX: Basics and Best Practices EMEA
 
Installing and Configuring NGINX Open Source
Installing and Configuring NGINX Open SourceInstalling and Configuring NGINX Open Source
Installing and Configuring NGINX Open Source
 
NGINX ADC: Basics and Best Practices – EMEA
NGINX ADC: Basics and Best Practices – EMEANGINX ADC: Basics and Best Practices – EMEA
NGINX ADC: Basics and Best Practices – EMEA
 
Pivotal Platform: A First Look at the October Release
Pivotal Platform: A First Look at the October ReleasePivotal Platform: A First Look at the October Release
Pivotal Platform: A First Look at the October Release
 
Nim tames sprawl
Nim tames sprawlNim tames sprawl
Nim tames sprawl
 
Unit Rebooted – Real World Use Cases and Success Stories
Unit Rebooted – Real World Use Cases and Success StoriesUnit Rebooted – Real World Use Cases and Success Stories
Unit Rebooted – Real World Use Cases and Success Stories
 
NGINX Basics and Best Practices Workshop
NGINX Basics and Best Practices WorkshopNGINX Basics and Best Practices Workshop
NGINX Basics and Best Practices Workshop
 
NGINX ADC: Basics and Best Practices
NGINX ADC: Basics and Best PracticesNGINX ADC: Basics and Best Practices
NGINX ADC: Basics and Best Practices
 
Deploy Eclipse hawBit in Production
Deploy Eclipse hawBit in ProductionDeploy Eclipse hawBit in Production
Deploy Eclipse hawBit in Production
 
Best Practices for Getting Started with NGINX Open Source
Best Practices for Getting Started with NGINX Open SourceBest Practices for Getting Started with NGINX Open Source
Best Practices for Getting Started with NGINX Open Source
 
NGINX DevSecOps Workshop
NGINX DevSecOps WorkshopNGINX DevSecOps Workshop
NGINX DevSecOps Workshop
 
Marcus Rochelle - Landis+Gyr - Monitoring with Nagios Enterprise Edition
Marcus Rochelle - Landis+Gyr - Monitoring with Nagios Enterprise EditionMarcus Rochelle - Landis+Gyr - Monitoring with Nagios Enterprise Edition
Marcus Rochelle - Landis+Gyr - Monitoring with Nagios Enterprise Edition
 
MRA AMA Part 8: Secure Inter-Service Communication
MRA AMA Part 8: Secure Inter-Service CommunicationMRA AMA Part 8: Secure Inter-Service Communication
MRA AMA Part 8: Secure Inter-Service Communication
 
Pivotal Cloud Foundry 2.1: Making Transformation Real Webinar
Pivotal Cloud Foundry 2.1: Making Transformation Real WebinarPivotal Cloud Foundry 2.1: Making Transformation Real Webinar
Pivotal Cloud Foundry 2.1: Making Transformation Real Webinar
 
NGINX Lunch and Learn Event: Kubernetes and the NGINX Plus Ingress controller
NGINX Lunch and Learn Event: Kubernetes and the NGINX Plus Ingress controllerNGINX Lunch and Learn Event: Kubernetes and the NGINX Plus Ingress controller
NGINX Lunch and Learn Event: Kubernetes and the NGINX Plus Ingress controller
 
5 things you didn't know nginx could do
5 things you didn't know nginx could do5 things you didn't know nginx could do
5 things you didn't know nginx could do
 

Mehr von NGINX, Inc.

How to Avoid the Top 5 NGINX Configuration Mistakes.pptx
How to Avoid the Top 5 NGINX Configuration Mistakes.pptxHow to Avoid the Top 5 NGINX Configuration Mistakes.pptx
How to Avoid the Top 5 NGINX Configuration Mistakes.pptx
NGINX, Inc.
 
Kubernetes環境で実現するWebアプリケーションセキュリティ
Kubernetes環境で実現するWebアプリケーションセキュリティKubernetes環境で実現するWebアプリケーションセキュリティ
Kubernetes環境で実現するWebアプリケーションセキュリティ
NGINX, Inc.
 

Mehr von NGINX, Inc. (20)

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

Kürzlich hochgeladen

%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
masabamasaba
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
VictoriaMetrics
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
masabamasaba
 

Kürzlich hochgeladen (20)

What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the Situation
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
WSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaSWSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaS
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
 
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
WSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security Program
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 

Open Sourcing NGINX Agent and Demo

  • 1. Open Sourcing NGINX Agent and Demo Oliver O’Mahony Technical Lead for NGINX Agent
  • 2. ©2022 F5 2 Agenda NGINX Agent Overview NGINX Agent Architecture Key NGINX Agent Features NGINX Agent Repository and Releases NGINX Agent Registration Demo NGINX Agent NGINX Configuration Demo NGINX Agent NGINX Metrics Demo
  • 3. ©2022 F5 3 • The NGINX Agent is a lightweight piece of software that can be installed next to NGINX Open Source (OSS) and/or NGINX Plus • It provides local interaction with NGINX instances to allow administrative actions to be carried out. • The NGINX Agent provides the following information on a NGINX instance • Management of NGINX instance configurations • Metrics from Logs (OSS) or API (Plus) • Gathering of a key set of dataplane events • Written in Golang, uses protobuf for data contracts NGINX Agent Overview
  • 4. ©2022 F5 4 NGINX Agent Architecture • NGINX Agent uses an event driven architecture with a centralized messaging system • The MessagePipe uses an in- memory message bus leveraging the tailored plugin subscriptions • The NGINX Agent has an SDK for reuse of protobuf definitions and helper functions in building your own control plane Messaging 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 type Plugin interface { Init(MessagePipeInterface) Process(*Message) Subscriptions() []string Close() Info() *Info } type MessagePipeInterface interface { Register(int, …Plugin) Process(…*Message) Run() Context() context.Context GetPlugins() []Plugin } type Message struct { topic *string data *Payload }
  • 5. ©2022 F5 5 Key NGINX Agent Features Feature Description Registration Registration of NGINX and Host / Dataplane Software Information NGINX Config Management Manage NGINX configurations upstream and downstream NGINX+ Counting R27+ NGINX Counting Metrics Reporting Reporting of metrics information from NGINX OSS / Plus, Host (real and virtual) Dataplane Health Status Report on the health of NGINX instances and dataplane information
  • 6. ©2022 F5 6 Key NGINX Agent Features Continued Feature Description Process Watching Watch for NGINX process changes (including workers) File Watching Watch for file changes on the dataplane, uploading NGINX configuration changes Activity Events Report on key events on the dataplane • Agent Start / Stop • Config Apply Success / Failure / Rollback • NGINX Process and Worker Start / Stop / Reload TLS Certificate Reporting Report on TLS Certificate Information
  • 7. ©2022 F5 7 NGINX Agent Github Repository
  • 8. ©2022 F5 8 https://docs.nginx.com/nginx/releases • NGINX Agentis supported on: • Alpine Linux3.13,3.14,3.15,3.16 • AmazonLinux 2 LTS • CentOS 7.4+ • Debian10,11 • FreeBSD12.1+,13 • Oracle Linux7.4+,8.1+ • RHEL7.4+,8.1+,9.0+ • SUSE Linux EnterpriseServer12 SP5,15 SP2 • Ubuntu 18.04LTS,20.04LTS,22.04LTS • Available to downloadon,as of now • Github • https://pkgs.nginx.com/nginx-agent(requiresNGINX plus keys) NGINX Agent Releases Releases 1 2 3 4 5 6 7 8 9 1 0 1 1 1 2 1 3 1 4 1 5 1 6 1 7 1 8 1 9 2 0 2 1 2 2 2 3 2 4 curl --cert ./build/nginx-repo.crt --key ./build/nginx-repo.key https://pkgs.nginx.com/nginx-agent/ <html> <head><title>Index of /nginx-agent/</title></head> <body> <h1>Index of /nginx-agent/</h1><hr><pre><a href="../">../</a> <a href="alpine/">alpine/</a> 13-Jul-2022 08:49 - <a href="amzn2/">amzn2/</a> 13-Jul-2022 09:48 - <a href="centos/">centos/</a> 13-Jul-2022 09:48 - <a href="debian/">debian/</a> 05-Mar-2021 14:29 - <a href="freebsd/">freebsd/</a> 13-Jul-2022 08:50 - <a href="sles/">sles/</a> 13-Jul-2022 09:48 - <a href="ubuntu/">ubuntu/</a> 13-Jul-2022 09:48 - <a href="index.xml">index.xml</a> 13-Jul-2022 09:48 6805 </pre><hr></body> </html>
  • 9. ©2022 F5 9 NGINX Agent Registration Demo
  • 10. ©2022 F5 10 Agent Registration Handshake (Simplified) Agent Server Step 1 Step 2 Step 3 Step 4 Agent Connect Request Agent Connect Response For Each Config Upload in Chunks Populate ConfigReport Configs to request all NGINX configs to be uploaded Assemble Data Chunks (DataChunk_Data) Create HostInfo Create NGINXDetails Create NGINXConfig proto (optional)
  • 11. ©2022 F5 11 NGINX Agent NGINX Configuration Demo
  • 12. ©2022 F5 12 NGINX Agent NGINX Metrics Demo https://docs.nginx.com/nginx-management-suite/nim/reference/catalogs/metrics/