Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
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
0
330
Microservices with Consul and Nomad
Richard Kettelerij
September 20, 2018
Tweet
Share
Other Decks in Technology
See All in Technology
20251203_AIxIoTビジネス共創ラボ_第4回勉強会_BP山崎.pdf
iotcomjpadmin
0
140
Microsoft Agent Frameworkの可観測性
tomokusaba
1
110
SQLだけでマイグレーションしたい!
makki_d
0
1.2k
Connection-based OAuthから学ぶOAuth for AI Agents
flatt_security
0
360
Kiro を用いたペアプロのススメ
taikis
4
1.8k
AR Guitar: Expanding Guitar Performance from a Live House to Urban Space
ekito_station
0
150
New Relic 1 年生の振り返りと Cloud Cost Intelligence について #NRUG
play_inc
0
230
意外と知らない状態遷移テストの世界
nihonbuson
PRO
1
250
日本Rubyの会: これまでとこれから
snoozer05
PRO
6
240
【開発を止めるな】機能追加と並行して進めるアーキテクチャ改善/Keep Shipping: Architecture Improvements Without Pausing Dev
bitkey
PRO
1
130
Strands Agents × インタリーブ思考 で変わるAIエージェント設計 / Strands Agents x Interleaved Thinking AI Agents
takanorig
5
2.1k
AI との良い付き合い方を僕らは誰も知らない
asei
0
260
Featured
See All Featured
Agile that works and the tools we love
rasmusluckow
331
21k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
0
88
Google's AI Overviews - The New Search
badams
0
870
The #1 spot is gone: here's how to win anyway
tamaranovitovic
1
860
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.8k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
92
Ethics towards AI in product and experience design
skipperchong
1
140
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
130
GraphQLとの向き合い方2022年版
quramy
50
14k
The Language of Interfaces
destraynor
162
25k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
69
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
65
35k
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