Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Deployable infrastructure with nginx
Search
Daniel Kocot
August 23, 2022
Technology
73
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Deployable infrastructure with nginx
Daniel Kocot
August 23, 2022
More Decks by Daniel Kocot
See All by Daniel Kocot
Navigating the Post OpenAPI Era
danielkocot
0
54
The Digital Product Passport
danielkocot
0
82
Establishing a Specification Framework for API Management Federation
danielkocot
0
57
API Sprawl In The Era Of Great Unbundling
danielkocot
0
120
API Development: Evolving Prospects and Future Outlook
danielkocot
0
150
API Thinking
danielkocot
0
99
The intersection of AI and API Development
danielkocot
0
72
Unlocking collaboration with Internal Developer Portals and Marketplaces - Democratizing API Access
danielkocot
0
49
leveraging_prompt_engineering_for_effective_openapi_descriptions_of_apis.pdf
danielkocot
0
77
Other Decks in Technology
See All in Technology
Webアプリ認証の全体像 / The Big Picture of Web App Authentication
kitano_yuichi
1
450
システム監視入門
grimoh
3
580
MCPをつなげて作る組織横断のAIエージェント基盤
tsubakimoto_s
0
160
Flutter研修【MIXI 26新卒技術研修】
mixi_engineers
PRO
1
150
書籍セキュアAPIについて
riiimparm
0
350
20260720_クラウド女子会×PyLadiesTokyoコラボ Amazon Bedrock ハンズオン用資料
yuuka51
2
120
人とエージェントが高め合う協業設計
kintotechdev
0
960
全社でのソフトウェアサプライチェーン攻撃対策をやってみた with Takumi Guard
z63d
0
310
クラウドを使う側から、作る側へ / 大吉祥寺.pm 2026前夜祭
fujiwara3
7
1.5k
歴史から理解するクラウドインフラのしくみ
kizawa2020
0
170
41歳でAWSが好きすぎてITエンジニアになったおっさんの話
yama3133
1
770
AWS環境のセキュリティ不安を解消した企業事例 ~よくある課題と対策を一挙公開~
asanoharuki
0
190
Featured
See All Featured
How GitHub (no longer) Works
holman
316
150k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
420
Product Roadmaps are Hard
iamctodd
55
12k
How to train your dragon (web standard)
notwaldorf
97
6.7k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.4k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.3k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
200
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
520
Raft: Consensus for Rubyists
vanstee
141
7.6k
Crafting Experiences
bethany
1
230
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
320
The #1 spot is gone: here's how to win anyway
tamaranovitovic
3
1.1k
Transcript
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