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
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
65
The Digital Product Passport
danielkocot
0
93
Establishing a Specification Framework for API Management Federation
danielkocot
0
61
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
76
Unlocking collaboration with Internal Developer Portals and Marketplaces - Democratizing API Access
danielkocot
0
58
leveraging_prompt_engineering_for_effective_openapi_descriptions_of_apis.pdf
danielkocot
0
86
Other Decks in Technology
See All in Technology
Jev の中身は50行で再現できる。でも本物との差はどこにあるのか
hisuzuya
0
220
reInvent2026stby LT00 "Change your life!"
shinichirokawano
1
490
re:Inventで、人生は変わったのか? / growth-builders-hub-1-reinvent-2026
mhrtech
2
170
E2Eってつらくないですか?E2Eの管理コストを下げる手段とその実践
akaboshinit
6
2.8k
ビジネス部門からPOを迎えての半年間の進歩と課題
zozotech
PRO
0
170
Technical Project Manager の役割とやりがい、少しだけ AI
yoshiiryo1
0
420
データマネジメント × 法務で作りあげる、 freeeの新しいデータガバナンスへの軌跡
freee
PRO
2
580
AI AgentによるEmbedded SREの取り組み
tgidgd
1
270
cdk deployとcdkd deploy、実際にデプロイして5倍速近くの差を実測した
yama3133
1
130
新米を「売り越さない」、Aurora DSQLで作る在庫ゼロ死守の限定ドロップEC
yama3133
0
110
Flutter Widget Previewerで始めるUIプレビューとVRTの自動化
sakusaku3939
0
180
生き様としてのSRE
hokkai7go
0
140
Featured
See All Featured
Testing 201, or: Great Expectations
jmmastey
46
8.4k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.9k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
540
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
33
5.5k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.2k
Fireside Chat
paigeccino
43
4.1k
Typedesign – Prime Four
hannesfritz
42
3.2k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
750
ラッコキーワード サービス紹介資料
rakko
5
5.6M
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