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
Daniel Kocot
August 23, 2022
Technology
76
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
58
The Digital Product Passport
danielkocot
0
89
Establishing a Specification Framework for API Management Federation
danielkocot
0
61
API Sprawl In The Era Of Great Unbundling
danielkocot
0
120
API Development: Evolving Prospects and Future Outlook
danielkocot
0
160
API Thinking
danielkocot
0
100
The intersection of AI and API Development
danielkocot
0
75
Unlocking collaboration with Internal Developer Portals and Marketplaces - Democratizing API Access
danielkocot
0
51
leveraging_prompt_engineering_for_effective_openapi_descriptions_of_apis.pdf
danielkocot
0
84
Other Decks in Technology
See All in Technology
Railsのように考える: See through the Master
snoozer05
PRO
4
1k
開発投資の期待値を上げるプロダクトロードマップづくり ~プロダクトエンジニアが越境して事業を伸ばす~
kekekenta
1
200
目の前の楽しいが人生を変える - コミュニティの螺旋の歩き方と楽しむコツ / change your life
soudai
PRO
5
640
AgentCore Runtime上にAgentic Coding基盤を構築・展開する際の設計ポイントと限界点 / Design considerations and limitations when building an agentic coding platform on AgentCore Runtime
har1101
4
240
Cloudflare Workers 向けアプリを C# で構築する ~WASM Native AOT への道~
nenonaninu
0
170
おい、エージェントを使って終わらせろ
nwiizo
1
630
AI に書かせたその API、 “信頼” できますか?
nagix
0
120
AI時代の「技術的負債」の変質ー概念の終焉と再解釈、エージェントと共に向かう先
nwiizo
1
2.8k
アクセスキーこわい やめかたと漏らさない工夫
sassssan68
1
380
リアーキテクチャ後の障害ゼロを目指したShadow Testingの取り組み
nihonbuson
PRO
1
140
Claude Code本って、 読む必要あるの?
oikon48
2
470
ADKで始める業務改善 - AIエージェント開発時の考えと設計
harappa80
2
170
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
Un-Boring Meetings
codingconduct
0
420
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.6k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.9k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
Leo the Paperboy
mayatellez
10
2.3k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
4.8k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.4k
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