Microservice API
Gateways
with NGINX
/Geoff Filippi @geofffilippi
Geoff Filippi
Senior Architect
DISH Network
Oildex
A cloud service company for oil and gas
2 years
Formerly:
Time Warner Cable
(Now Charter)
12 years
Experience
DISH Projects
Microservices
Spring Boot
Continuous Delivery
Domain Driven Design
Client Side Components
Experience
Oildex Projects
Rewrite 10+-year-old apps
Angular 2
Typescript
Microservices
NoSQL
Mongo
Experience
Worked on streaming media (Voice over IP), 6 years
5 million phone customers
Experience
Worked on video and streaming video, 4 years
Projects
twctv.com
Video streaming website
backbone.js
Video streaming Set-Top Box (STB) web application
We will cover
Microservice Architectures
API Gateways
NGINX
Microservice Architectures
Decoupling is the Primary Benefit of
Microservice Architectures
Development
Deployment
Dependencies
Interest Over Time
Client Challenge
Keeping track of what to call
Microservice Architecture Before API
Gateway
Microservice API Gateways with NGINX
Interactive - Microservice Architecture Before
API Gateway
API Gateways
API Gateways replace tight coupling with
loose coupling
Help manage large numbers of microservices
Hide infrastructure complexity from clients
Reverse Proxy
Handles incoming requests from clients
Calls a service to get the data to satsify the request
Returns the data to the client
An API Gateway is a Reverse Proxy
Microservice Architecture Before API
Gateway
Microservice API Gateways with NGINX
Interactive - Microservice Architecture Before
API Gateway
Microservice Architecture A er API Gateway
Interactive - Microservice Architecture A er
API Gateway
API Gateway Implementations
Open Source
Built on NGINX
NGINX
Netflix Zuul
Kong
API Gateway Implementations
"Open Source-Based" Enterprise Offering
Built on KONG/NGINX
NGINX-plus
Mashape
API Gateway Implementations
Cloud Services
Amazon API Gateway
Google Cloud Platform - Cloud Endpoints
Azure API Management
API Gateway Implementations
Proprietary
Owned by Google
Apigee
MuleSo
Mashery
CA API Gateway
Oracle API Gateway
IBM Bluemix API Gateway
3scale by Red Hat
NGINX
NGINX
API Gateway
Load Balancer
Content Cache
Web Server
NGINX is Open Source
NGINX source code
NGINX source code - GitHub mirror
Contributing to NGINX
License
NGINX has a Commercial Offering
NGINX-plus
We will not cover the commercial features
Some Companies That Use NGINX
Netflix
Hulu
Pinterest
GitHub
Heroku
MaxCDN
NGINX Getting Started
Install
OS Package
Red Hat/CentOS
Debian/Ubuntu
Win32 Binary
Build from source
NGINX Getting Started
Docker
NGINX Getting Started
Mac Homebrew
NGINX Documentation
NGINX Concepts
Modules
Directives
Contexts
Events
Upstreams
NGINX Architecture
Multiprocess vs. Multithread
One master process
Multiple worker processes
Modules
ngx_http_proxy_module
Directives
Contexts
main
http
server
upstream
location
mail
Variables
NGINX Configuration
nginx.conf
worker_processes 1;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
server {
listen 8080;
server_name localhost;
NGINX Reverse Proxy Configuration
server {
listen 8080;
server_name localhost;
location /server-a/ {
proxy_pass http://127.0.0.1:3002;
}
location /server-b/ {
proxy_pass http://127.0.0.1:3004;
}
}
Common NGINX Configuration
Mistakes
Questions?
References
NGINX
NGINX Wiki
NGINX Docker
NGINX source code
NGINX source code - GitHub mirror
Contributing to NGINX
NGINX - Andrew Alexeev
7:15 - 8:15pm - Microservice API Gateways with NGINX -
Geoffrey Filippi
(NGINX is pronounced "engine x".)
Microservices are a popular architectural solution. Clients of
microservices may experience some difficulty keeping track
of the various instances and endpoints they have to call. An
API gateway can help manage large numbers of
microservices and hide the infrastructure complexity from
your clients. We will review a microservice architecture
before and a er the addition of an API gateway.
An API gateway is a reverse proxy. A reverse proxy handles
incoming requests from clients and calls a service to get the
data to satisfy that request. The reverse proxy returns that
data to the client. Many developers write these proxies by
data to the client. Many developers write these proxies by
hand in custom code, not realizing the are better solutions
available. We will mention a number of popular solutions,
some open source and some cloud-based services. For this
talk, we will focus on NGINX, a popular open source reverse
proxy and API Gateway. (NGINX also sells an enterprise
offering, NGINX Plus, but this talk will only cover the features
available in the open-source version.)
We will show how to set up NGINX as an API Gateway. We
will dive into the configuration and operation of NGINX.

More Related Content

PDF
Docker Explained | What Is A Docker Container? | Docker Simplified | Docker T...
PPTX
Derbycon - Passing the Torch
PDF
Kubernetes architecture
PPTX
Docker Ecosystem on Azure
PDF
Kubernetes Architecture | Understanding Kubernetes Components | Kubernetes Tu...
PDF
Red Hat OpenShift Operators - Operators ABC
PDF
Docker란 무엇인가? : Docker 기본 사용법
PPTX
Token Authentication in ASP.NET Core
Docker Explained | What Is A Docker Container? | Docker Simplified | Docker T...
Derbycon - Passing the Torch
Kubernetes architecture
Docker Ecosystem on Azure
Kubernetes Architecture | Understanding Kubernetes Components | Kubernetes Tu...
Red Hat OpenShift Operators - Operators ABC
Docker란 무엇인가? : Docker 기본 사용법
Token Authentication in ASP.NET Core

What's hot (20)

PDF
Understanding docker networking
PDF
Going realtime with Socket.IO
PDF
What is Docker Architecture | Edureka
PPTX
Introduction to Haproxy
PPTX
Introduction to Docker - 2017
ODP
Introduction To RabbitMQ
PDF
Deep Dive into Docker Swarm Mode
PDF
Observability with HAProxy
PDF
Maas Juju Introduction
PDF
How to write a Dockerfile
PDF
[Paris Container Day 2021] nerdctl: yet another Docker & Docker Compose imple...
PPTX
Docker Swarm for Beginner
PPTX
containerd the universal container runtime
PPTX
마이크로 서비스 아키텍쳐 소개 및 구현 방법
PDF
Introduction to OpenID Connect
PDF
docker installation and basics
PPTX
Dapr- Distributed Application Runtime
PPTX
CQRS: Command/Query Responsibility Segregation
PPTX
Docker: From Zero to Hero
PDF
[OpenStack] 공개 소프트웨어 오픈스택 입문 & 파헤치기
Understanding docker networking
Going realtime with Socket.IO
What is Docker Architecture | Edureka
Introduction to Haproxy
Introduction to Docker - 2017
Introduction To RabbitMQ
Deep Dive into Docker Swarm Mode
Observability with HAProxy
Maas Juju Introduction
How to write a Dockerfile
[Paris Container Day 2021] nerdctl: yet another Docker & Docker Compose imple...
Docker Swarm for Beginner
containerd the universal container runtime
마이크로 서비스 아키텍쳐 소개 및 구현 방법
Introduction to OpenID Connect
docker installation and basics
Dapr- Distributed Application Runtime
CQRS: Command/Query Responsibility Segregation
Docker: From Zero to Hero
[OpenStack] 공개 소프트웨어 오픈스택 입문 & 파헤치기
Ad

Similar to Microservice API Gateways with NGINX (20)

PPTX
Using an API Gateway for Microservices (APAC Webinar)
PPTX
API Gateway: Nginx way
PPTX
Using an API Gateway for Microservices
PDF
APIs: Intelligent Routing, Security, & Management
PPTX
The 3 Models in the NGINX Microservices Reference Architecture
PDF
Achieve Full API Lifecycle Management Using NGINX Controller – EMEA
PDF
Microservices & API Gateways
PPTX
Achieve Full API Lifecycle Management Using NGINX Controller
PDF
nginxcontrollerapimanagementwebinar-190123215258.pdf
PPTX
Accelerating Your Web Application with NGINX
PPTX
Deployment Patterns for API gateways
PDF
NGINX Microservices Reference Architecture: What’s in Store for 2019 – EMEA
PPTX
Flawless Application Delivery with NGINX Plus
PPTX
NGINX Microservices Reference Architecture: Ask Me Anything
PPTX
Gain multi-cloud versatility with software load balancing designed for cloud-...
PDF
MRA AMA: Ingenious: The Journey to Service Mesh using a Microservices Demo App
PPTX
Nginx Conference 2016 - Learnings and State of the Industry
PPTX
NGINX Lunch and Learn Event: Kubernetes and the NGINX Plus Ingress controller
PPTX
Session: A Reference Architecture for Running Modern APIs with NGINX Unit and...
PDF
Deploy and Secure Your API Gateway with NGINX: From Zero to Hero – APCJ
Using an API Gateway for Microservices (APAC Webinar)
API Gateway: Nginx way
Using an API Gateway for Microservices
APIs: Intelligent Routing, Security, & Management
The 3 Models in the NGINX Microservices Reference Architecture
Achieve Full API Lifecycle Management Using NGINX Controller – EMEA
Microservices & API Gateways
Achieve Full API Lifecycle Management Using NGINX Controller
nginxcontrollerapimanagementwebinar-190123215258.pdf
Accelerating Your Web Application with NGINX
Deployment Patterns for API gateways
NGINX Microservices Reference Architecture: What’s in Store for 2019 – EMEA
Flawless Application Delivery with NGINX Plus
NGINX Microservices Reference Architecture: Ask Me Anything
Gain multi-cloud versatility with software load balancing designed for cloud-...
MRA AMA: Ingenious: The Journey to Service Mesh using a Microservices Demo App
Nginx Conference 2016 - Learnings and State of the Industry
NGINX Lunch and Learn Event: Kubernetes and the NGINX Plus Ingress controller
Session: A Reference Architecture for Running Modern APIs with NGINX Unit and...
Deploy and Secure Your API Gateway with NGINX: From Zero to Hero – APCJ
Ad

Recently uploaded (20)

PPT
Geologic Time for studying geology for geologist
PPTX
Final SEM Unit 1 for mit wpu at pune .pptx
PDF
Hybrid model detection and classification of lung cancer
PDF
A novel scalable deep ensemble learning framework for big data classification...
PDF
WOOl fibre morphology and structure.pdf for textiles
PDF
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
PDF
STKI Israel Market Study 2025 version august
PDF
Enhancing emotion recognition model for a student engagement use case through...
PDF
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
PDF
Unlock new opportunities with location data.pdf
PDF
August Patch Tuesday
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PPTX
observCloud-Native Containerability and monitoring.pptx
PDF
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
PDF
Architecture types and enterprise applications.pdf
PDF
Getting Started with Data Integration: FME Form 101
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
PDF
Assigned Numbers - 2025 - Bluetooth® Document
Geologic Time for studying geology for geologist
Final SEM Unit 1 for mit wpu at pune .pptx
Hybrid model detection and classification of lung cancer
A novel scalable deep ensemble learning framework for big data classification...
WOOl fibre morphology and structure.pdf for textiles
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
STKI Israel Market Study 2025 version august
Enhancing emotion recognition model for a student engagement use case through...
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
Unlock new opportunities with location data.pdf
August Patch Tuesday
NewMind AI Weekly Chronicles – August ’25 Week III
observCloud-Native Containerability and monitoring.pptx
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
Architecture types and enterprise applications.pdf
Getting Started with Data Integration: FME Form 101
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
Assigned Numbers - 2025 - Bluetooth® Document

Microservice API Gateways with NGINX