Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.

NGINX Basics and Best Practices Workshop

Whether you're new to NGINX, starting your first NGINX project, or refining your DevOps skills, this three hour workshop will give you a solid foundation. We will begin the workshop with an intro to NGINX and NGINX Plus, then dive into an interactive lab session where we explore common use cases, features, and functionalities.

  • Als Erste(r) kommentieren

  • Gehören Sie zu den Ersten, denen das gefällt!

NGINX Basics and Best Practices Workshop

  1. 1. NGINX Basics & Best Practices Workshop F5 Solutions Engineers: Jason Williams Shouvik Dutta Dominic Lucia Anton Varkalevich Melisa Wentz
  2. 2. Agenda Welcome & Intros: [5 min] Presentation: Introduction to NGINX & NGINX Plus [20 min] Lab: [2 hr. 30 min] Closing: [5 min] 1 2 3 4
  3. 3. Introduction to NGINX Plus Intro
  4. 4. NGINX Application Platform A suite of technologies to develop and deliver digital experiences that span from legacy, monolithic apps to modern, microservices apps.
  5. 5. 7 ENTERPRISE SOLUTIONS WITH DYNAMIC MODULES • Enterprise class visibility with 200+ additional metrics and live dashboard built-in • JWTAuthentication (simple integration with okta/ping/etc) • Native OpenID Connect support • Active health checks on status code and response body • Key value store (dynamic IP black-listing, blue/green deployments) • High Availability / Zone Sync across cluster • Dynamic reconfiguration—zero downtime • Service discovery using DNS • Sticky Session persistence based on cookies What is NGINX Plus?
  6. 6. Dynamic Modules Tested and certified to take your applications further 9
  7. 7. MORE INFORMATION AT NGINX.COM NGINX Plus Installation • Visit docs.nginx.com > NGINX Plus > Admin Guide > Installing NGINX Plus
  8. 8. MORE INFORMATION AT NGINX.COM $ sudo cp -a /etc/nginx /etc/nginx-plus-backup $ sudo cp -a /var/log/nginx /var/log/nginx-plus-backup $ sudo mkdir -p /etc/ssl/nginx $ sudo wget http://nginx.org/keys/nginx_signing.key && sudo apt-key add nginx_signing.key $ sudo apt-get install apt-transport-https lsb-release ca-certificates $ printf "deb https://plus-pkgs.nginx.com/ubuntu `lsb_release -cs` nginx- plusn" | sudo tee /etc/apt/sources.list.d/nginx-plus.list $ sudo wget -P /etc/apt/apt.conf.d https://cs.nginx.com/static/files/90nginx $ sudo apt-get update $ sudo apt-get install nginx-plus NGINX Plus Installation
  9. 9. MORE INFORMATION AT NGINX.COM Verifying Installation $ nginx -v nginx version: nginx/1.13.10 (nginx-plus-r15-p1) $ ps -ef | grep nginx root 1334 1 0 Apr24 ? 00:00:00 nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.conf nginx 168200 1334 0 Apr26 ? 00:00:28 nginx: worker process … $ service nginx status ● nginx.service - NGINX Plus - high performance web server Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled) Active: active (running) since Tue 2018-04-24 07:20:49 PDT; 6 days ago Docs: https://www.nginx.com/resources/ Process: 1299 ExecStart=/usr/sbin/nginx -c /etc/nginx/nginx.conf (code=exited, status=0/SUCCESS) Process: 1193 ExecStartPre=/usr/lib/nginx-plus/check-subscription (code=exited, status=0/SUCCESS) Main PID: 1334 (nginx) Tasks: 2 Memory: 6.2M CPU: 30.732s CGroup: /system.slice/nginx.service ├─ 1334 nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.con └─168200 nginx: worker process
  10. 10. Lab Components & Tour Intro
  11. 11. Feel free to ask questions into the chat window Welcome
  12. 12. One-on-one assistance
  13. 13. One-on-one assistance
  14. 14. Getting started • Chrome based web browser highly recommended • RDP client required. If you do not have one, please download one, Some examples are: • Remote desktop connection (macOS) https://apps.apple.com/us/app/microsoft-remote-desktop/ • Chrome browser RDP https://remotedesktop.google.com/ • Bypass VPNs (known to cause issues) 17
  15. 15. Join the Lab 18
  16. 16. 19
  17. 17. 20
  18. 18. MORE INFORMATION AT NGINX.COM No need to access other systems directly Important: Use Windows Jumphost to run workshop
  19. 19. 22 Black: test (“prod”) traffic Blue: management/lab traffic
  20. 20. 23 Black: test (“prod”) traffic Blue: management/lab traffic
  21. 21. 24 Black: test (“prod”) traffic Blue: management/lab traffic
  22. 22. These are nice!!! Use them!
  23. 23. SELF PACED WORKTIME To launch the lab, go to https://udf.f5.com. Use chat or come off mute if you have any questions and we can help you in a breakout room. 1. Turn off VPN 2. Username and Password for the jumphost are user/user 3. The lab guide is on the jump host and available via web1 under Access->Lab Guide 4. If you have any questions, (login not working, didnt get an email from UDF, you want to discuss NGINX best practices) the best way to get ahold of us is to unmute to get our attention, but we'll be watching the chat as well 5. Breakout rooms are available for conversations, troubleshooting, etc.

×