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_api_infrastructure_with_nginx.pdf
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Daniel Kocot
August 31, 2022
Technology
96
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
deployable_api_infrastructure_with_nginx.pdf
Daniel Kocot
August 31, 2022
Transcript
21 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
Q&A
Thank you
None
More Decks by Daniel Kocot
See All by Daniel Kocot
Navigating the Post OpenAPI Era
danielkocot
0
71
The Digital Product Passport
danielkocot
0
96
Establishing a Specification Framework for API Management Federation
danielkocot
0
63
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
82
Unlocking collaboration with Internal Developer Portals and Marketplaces - Democratizing API Access
danielkocot
0
62
leveraging_prompt_engineering_for_effective_openapi_descriptions_of_apis.pdf
danielkocot
0
91
Other Decks in Technology
See All in Technology
OWASP AI Agentic Top10に準拠するクラウドネイティブなガードレールの実践(CNDW 2026)
keitah
1
450
AI-DLCでソフトウェア開発の速さは 上がったのか?
rfdnxbro
0
170
コーディングできない僕にBobが舞い降りた
shumpei3
0
210
さようならSSH鍵、こんにちはゼロトラスト ― AIフレンドリーで快適な自宅鯖SSH
atalie2m
14
7.6k
パスワードのない鍵で、 データを手元に置く
ginjihayashi
0
400
専門家に使ってもらうAIプロダクトをつくる - 病院の医事課向けDPCコーディング支援システムの設計と評価
hagino3000
4
1k
Test Impact Analysis を武器に立ち向かう、AI 時代のテスト増加に対するヌーラボのアプローチ / getting-started-datadog-test-impact-analysis
k6s4i53rx
3
420
メディアアートを〈拡張〉する——器官学と個体化論を手がかりに
_kotobuki_
0
270
常時稼働エージェントの作り方(Claude公式ブログを資料化)
minorun365
PRO
20
29k
NutanixへのSSHアクセスの今後について
shadowhat
0
180
現場に渡し、構造で守る AI エージェントを活用したセルフサーブのデータ基盤の運用
legalontechnologies
PRO
0
120
「正しいデータ」の定義をAI エージェントとつくるGoogleADKによるデータ品質定義の実践
takaha4k
0
140
Featured
See All Featured
We Are The Robots
honzajavorek
0
460
Darren the Foodie - Storyboard
khoart
PRO
5
4.1k
RailsConf 2023
tenderlove
30
1.6k
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.4k
Designing Powerful Visuals for Engaging Learning
tmiket
1
660
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
7.1k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.6k
Building Applications with DynamoDB
mza
96
7.3k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.7k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
590