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
360
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
ぼっちではじめた登壇が「51名」「241件」の発信に化けた
subroh0508
1
300
AIチャット検索改善の3週間
kworkdev
PRO
2
160
【セミナー資料】Claude Code をセキュアに使うための考え方と設定の勘どころ / Claude Code Webinar 20260616
masahirokawahara
2
450
インシデントレスポンス演習 I / Incident Response Exercise I
ks91
PRO
0
110
コミュニティの有益性 ~JAWS Days 2026 での体験を通して~ / The Benefits of a Community ~Through My Experience at JAWS Days 2026~
seike460
PRO
0
260
入門!AWS Blocks
ysuzuki
1
180
AI-DLCを “そのまま導入しなかった”話 ~組織に合わせてアジャストした 私たちの実践共有~
hiroramos4
PRO
1
390
AI 不只幫你寫 Code: 當專案從 300 暴增到 1500, 我們如何撐住 DevOps
appleboy
0
140
Kiro Ambassador を目指す話
k_adachi_01
0
110
スタートアップにAmazon EKSは早すぎる? マルチプロダクト戦略を加速する Platform Engineeringの実践 / Is Amazon EKS Too Soon for Startups? Practical Platform Engineering to Accelerate a Multi-Product Strategy
elmodev09
1
1.7k
コミットの「なぜ」を読む
ota1022
0
110
[チョークトーク資料]AWS DevOps Agent を使いこなす / AWS Dev Ops Agent Chalk Talk AWS Summit Japan 2026
kinunori
4
750
Featured
See All Featured
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
11k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
360
Between Models and Reality
mayunak
4
350
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
170
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
600
Measuring & Analyzing Core Web Vitals
bluesmoon
9
870
The Illustrated Children's Guide to Kubernetes
chrisshort
51
52k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
Documentation Writing (for coders)
carmenintech
77
5.4k
Information Architects: The Missing Link in Design Systems
soysaucechin
0
980
Amusing Abliteration
ianozsvald
1
210
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
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