Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Deployable infrastructure with nginx
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Daniel Kocot
August 23, 2022
Technology
78
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Deployable infrastructure with nginx
Daniel Kocot
August 23, 2022
Transcript
20 slides
Deployable API infrastructure with nginx Daniel Kocot, Senior Solution Architect
/ Head of API Experience & Operations
Name: Daniel Kocot Role: Senior Solution Architect / Head of
API Experience & Operations Email: Twitter: @dk_1977 LinkedIn:
[email protected]
https://www.linkedin.com/in/danielkocot/
Deployable Infrastructure based on a API description Gateways Portals Hubs
Registries
API Mediation Architectural layer to manage, protect and enrich an
API Intercepting API traffic Concept of "outer" APIs No business logic should be handled within this layers
OpenAPI Specification
OpenAPI Definition in Detail openapi: 3.0.3 servers: - url: 'http://localhost:8080'
info: version: 1.0.0 title: News API contact: name: Daniel Kocot url: 'http://www.codecentric.de' email:
[email protected]
license: name: MIT url: 'https://www.tldrelgal.com/mit' description: An API to provide news tags: - name: news paths: /news: x-nginx-upstream: 'http://remotehost:4000' get: description: gets latest news operationId: getNews tags: - news
OpenAPI Map
Use of references with $ref local '#/components/schemas/myElement' remote 'myElement.yaml' url
'http://path/to/your/myElement.yaml'
Use of OpenAPI Extensions/X-Objects to handle own or vendor needs
x-vendor-… x-… Supported by: root level info paths operation parameters responses tags security schemes
From OpenAPI Definition to Configuration as Code paths: /news: x-nginx-upstream:
'http://remotehost:4000' get: description: gets latest news operationId: getNews tags: - news responses: '200':
Converting YAML to JSON > npm install -g yaml2json >
yaml2json specs/news.yaml
Parsing JSON Using a parser of choice Depending on the
preferred programming language
Fetch information Using variables to fetch data from JSON
Creating nginx configuration Using templating engine (Handlebars, Mustache, …) Writing
configuration templates
Automation Putting everything in a CI/CD pipeline
No standardization (so far)
None
Wrap Up Posts on codecentric blog: Posts on my blog:
Posts on Medium: https://blog.codecentric.de/en/author/daniel-kocot/ https://danielkocot.github.io https://medium.com/@daniel.kocot
Thank you
None
More Decks by Daniel Kocot
See All by Daniel Kocot
Navigating the Post OpenAPI Era
danielkocot
0
69
The Digital Product Passport
danielkocot
0
95
Establishing a Specification Framework for API Management Federation
danielkocot
0
62
API Sprawl In The Era Of Great Unbundling
danielkocot
0
130
API Development: Evolving Prospects and Future Outlook
danielkocot
0
160
API Thinking
danielkocot
0
110
The intersection of AI and API Development
danielkocot
0
80
Unlocking collaboration with Internal Developer Portals and Marketplaces - Democratizing API Access
danielkocot
0
59
leveraging_prompt_engineering_for_effective_openapi_descriptions_of_apis.pdf
danielkocot
0
88
Other Decks in Technology
See All in Technology
ぼくのClaude Codeの使い方
falken
PRO
5
7.4k
Steering と Hook (チームの決まりを守らせる) | 目指せ Kiro マスター 06
inariku
PRO
2
140
サーバーラックは作る時代! 3Dプリンターで作る10インチラックのススメ
jacopen
1
390
仕様と現実の間で落とし所を探るリモートMCPの認証・認可 — Sansanの認証基盤における課題と実践
sansantech
PRO
2
330
自動計装なしでECSサービスをApplication Signalsに載せるまで
ota1022
1
140
常時稼働エージェントの作り方(Claude公式ブログを資料化)
minorun365
PRO
15
25k
契約書SaaSにAIエージェントを組み込む
sansantech
PRO
0
170
高品質と高スピードを支える品質のシフトレフトのアプローチ
goyoki
4
1.5k
MCPでネットワーク障害調査を自動化する前に直すべき3つのこと
yama3133
0
490
Frontier Teams — Amazon は AI で「開発のやり方」をどう変えたのか
kmotohas
0
280
これからのデータエンジニアの役割について考える / Rethinking the Role of Data Engineers in the AI Era
okiyuki99
0
520
Go初心者のクラウドエンジニアが、デプロイを通して旨味を知っていく話
ryudai
1
230
Featured
See All Featured
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.9k
Exploring anti-patterns in Rails
aemeredith
4
570
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.7k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3.1k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
GitHub's CSS Performance
jonrohan
1033
470k
Ethics towards AI in product and experience design
skipperchong
2
460
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1.1k
Heart Work Chapter 1 - Part 1
lfama
PRO
11
37k