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
Microservices with Consul and Nomad
Search
Richard Kettelerij
September 20, 2018
Technology
340
0
Share
Microservices with Consul and Nomad
Richard Kettelerij
September 20, 2018
Other Decks in Technology
See All in Technology
QGISプラグイン CMChangeDetector
naokimuroki
1
430
AIが書いたコードを信じられない問題 〜レビュー負荷を下げるために変えたこと〜 / The AI Code Trust Gap: Reducing the Review Burden
bitkey
PRO
8
1.3k
バイブコーディングで3倍早く⚪⚪を作ってみた
samakada
0
100
Route 53 Global Resolver で高額課金発生!
otanikohei2023
0
110
音声言語モデル手法に関する発表の紹介
kzinmr
0
120
インターネットの技術 / Internet technology
ks91
PRO
0
210
LLM時代の検索アーキテクチャと技術的意思決定
shibuiwilliam
3
1.4k
AgentCore×VPCでの設計パターンn選と勘所
har1101
3
290
扱える不確実性を増やしていく - スタートアップEMが考える「任せ方」
kadoppe
0
310
AI時代における技術的負債への取り組み
codenote
1
1.6k
Expiration of Secure Boot Certificates for vSphere Virtual Machines
mirie_sd
0
100
20260428_Product Management Summit_Loglass_JoeHirose
loglassjoe
2
2.5k
Featured
See All Featured
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
160
Paper Plane
katiecoart
PRO
1
49k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
160
Making Projects Easy
brettharned
120
6.6k
Navigating Team Friction
lara
192
16k
Code Review Best Practice
trishagee
74
20k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
27
3.4k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.1k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.9k
The untapped power of vector embeddings
frankvandijk
2
1.7k
Building an army of robots
kneath
306
46k
Transcript
mindloops Richard Kettelerij Microservices with Consul & Nomad @rkettelerij
Intro
Agenda • Intro • Use case @ Police • Hashicorp
stack • Consul (incl. demo) • Nomad (incl. demo) • Recap
Product line Cloud, Big data & Internet
None
Already in place…
What could be improved…. • Limited automation around creating new
VM’s • No solution for high availability • No zero-downtime deployments - Purpose-built single instance VM for each microservice -
Architecture (over a year ago) service-foo service-bar service-qux
More VM’s service-foo service-bar service-qux service-foo service-qux service-bar
None
None
None
Provisioning tools
Runtime tools
Suite
Consul • Service discovery (via HTTP and DNS) • Health
checking • DNS (A record, SRV record) • HTTP • Files: Consul-Template • Environment variables: EnvConsul • SDKs/Frameworks: Spring Cloud Consul, Dropwizard, etc, etc
Consul Consul Connect (service segmentation) • Service configuration (K/V store
with watches)
service-foo service-bar service-qux service-foo service-qux service-bar More VM’s
service-foo service-bar service-qux service-foo service-qux Consul cluster service-bar Service discovery
Multiple datacenters test prod OpenStack tenant A test prod OpenStack
tenant B service- service- service- service-foo service-qux Consul cluster service-bar Webserver service- service- service- service-foo service-qux Consul cluster service-bar Webserver service- service- service- service-foo service-qux Consul cluster service-bar Webserver service- service- service- service-foo service-qux Consul cluster service-bar Webserver
Science • Raft • SWIM
Demo time!
None
What is Nomad? Scheduler a.k.a Cluster manager a.k.a Orchestrator
What is Nomad?
Type of jobs • System • Service • Batch
Why Nomad? • Simple • First-class Consul integration • Multiple
workloads (Java, exec, Docker, ….)
node1 Nomad Consul & Nomad cluster node2 service-bar node1 service-foo
node3 service-qux service- qux service- fox public-node1
Demo time!
Recap • Why did we do this? High availability •
What did we gain? • High availability • Location transparency • Zero-downtime / rolling-upgrades • Resilience against machine failures
Recap Gradual migration
Thank you! @rkettelerij