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
Microservices with Consul and Nomad
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Richard Kettelerij
September 20, 2018
Technology
370
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Microservices with Consul and Nomad
Richard Kettelerij
September 20, 2018
Other Decks in Technology
See All in Technology
サブエージェントと Claude Mods で作る独自 Advisor ツールの話
kenichiodo
2
160
AI駆動で「他アプリの音を加工できる」アプリを作った
satomasahiro2005
0
150
アウトプット初心者、半年間のふりかえり
4o1sobblue
0
430
Gemini Intelligence 入門 ― AppFunctions と Gemini Nano
takuroabe
0
250
PHPカンファレンス関西の招待状 / Invitation to PHP Conference Kansai
ykanoh
0
110
パッチ更新でterraform initが落ちた日
grimoh
1
140
Persisting Massive Data with Rails ~Designing for 60 billion rows, and fighting the bottlenecks~ Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
0
730
How to Design Configuration for Rails Applications
willnet
1
770
[JAWS-UG彩の国埼玉#12]そろそろ準備する?re:Invent2026をやさしく解説 / reinvent2026-sainokuni
sh_fk2
1
340
脆弱性診断って、何をしているの? 〜弱点を見つけて、会社の改善につなげるまで〜
keeg
0
920
AIカンパニーへの転換を支えた、エンジニアの仕事の再定義
kworkdev
PRO
2
1.2k
JAWS-UGグッズ職人仕事の流儀
kentapapa
0
100
Featured
See All Featured
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
500
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.4k
Paper Plane (Part 1)
katiecoart
PRO
2
12k
How to Talk to Developers About Accessibility
jct
2
580
How GitHub (no longer) Works
holman
316
150k
Embracing the Ebb and Flow
colly
88
5.2k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
430
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
2
410
SEO for Brand Visibility & Recognition
aleyda
0
4.8k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
33
5.2k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
Skip the Path - Find Your Career Trail
mkilby
1
260
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