SlideShare a Scribd company logo
Copyright © 2019 HashiCorp
Demystifying Consul
and Consul Connect
Service Mesh Made Easy
Demystifying Consul and Consul Connect
Todd Radel
Technology Evangelist at HashiCorp
Agenda 1. What is service mesh? A brief history lesson
2. What is Consul and how does it work?
3. Live demo: building a working Kube cluster
with Consul, Ambassador, and demo app
4. Q&A
∕
A Quick History Lesson:
From Monoliths to Microservices
The Dawn of Time (pre-2010)
In the beginning was the monolith
The Age of Enlightenment
Breaking up the Monolith
The Age of Enlightenment
Google Trends: Microservices
2009 2010 2011 2012 2013 2014 2015 2016 2017 2018
The Age of Enlightenment?
Enterprise Services Buses
The Reformation
Service mesh is a lightweight infrastructure component designed to
answer these questions:
▪ Where are my services?
▪ Are they all healthy?
▪ How do I connect them securely?
The Renaissance
Google Trends: ESB, SOA, Service Mesh
2009 2010 2011 2012 2013 2014 2015 2016 2017 2018
enterprise service bus
service oriented architecture
service mesh
The Smart Guys
Armon Dadgar
Mitchell Hashimoto
Co-Founders and Co-CTOs
Application Security
Monolithic architecture (pre-cloud)
Statically provisioned servers live in your
corporate datacenter, probably in a DMZ,
fronted by a firewall and a load balancer.
Security is based on IP address and port.
Application Security
Cloud microservices
Monoliths are decomposed into small units
of code (microservices), easier to deploy
and scale in the cloud (or multiple clouds).
But where do you put the security barrier?
Zero-Trust
Security
Encryption,
Authentication,
Authorization
Zero-Trust
Security
Use your favorite
proxy server
∕
How does Consul work?
What is Consul?
Consul is a service mesh solution providing a full featured control plane
with service discovery, configuration, and segmentation functionality.
Huh?
What is Consul?
Consul is a service mesh solution
providing a full featured control plane with
service discovery,
configuration, and
segmentation functionality.
Features Service Registry
Keeps a real-time list of services, their location,
and their current health status.
Multi Datacenter
Supports multiple datacenters out of the box.
Automatic failover to other data centers.
DNS Interface
Enables service discovery using a built-in DNS
server.
Health Checks
Prevents routing requests to unhealthy hosts and
enables services to easily provide circuit breakers.
HTTP Interface
HTTP API to query the service registry for nodes,
services, and health check information. This allows
automation tools to react to services in real time.
Load Balancing
Provides dynamic east-west load balancing of
services and distributes traffic to healthy instances
only.
Consul
Architecture
Consul
Architecture
Gossip Protocol
Consul
Architecture
RPC and HTTP
Traffic with Raft
Consensus
Algorithm
Consul
Connect
Architecture
Declarative
security through
intentions
Consul
Connect
Architecture
Certificate-based
authentication
∕
Demo Time!
Service Mesh Demos
Heat Clinic
Legacy monolithic e-commerce application with three tiers — database, app
server, web server — running on 6 cloud compute instances.
Sock Shop
Modern microservice e-commerce application deployed in a Kubernetes cluster
with Consul and Ambassador.
Consul
Service
Discovery/Configuration/Segmentation
Ambassador
North-South Gateway
(Ingress Controller)
Sock Shop
Microservices
Node.js, Python, Java
Kubernetes
Container Orchestration
Why do we need Ambassador?
Consul is designed to manage East-West traffic between services.
Ambassador is designed to manage North-South traffic.
▪ URL-based routing and rewriting
▪ Canary release/traffic shadowing/AB testing
▪ Session management
Consul Connect in Kubernetes
Injection of sidecar proxies
Adding the connect-inject annotation to a
pod will cause Consul to spin up a proxy
sidecar in the pod and register the service
with Consul.
Consul Connect in Kubernetes
Adapting your existing services
1. Add annotations.
2. Configure app to use localhost.
3. There is no step 3.
Replace
with”localhost”
Best Practice Anti-Pattern
Don’t hardcode service names in code!
Best Practice
Configure via environment variables
Building our
demo
1. Generate Gossip encryption key
2. Deploy Consul Helm chart
3. Deploy Ambassador
4. Deploy Sock Shop Helm chart
5. Declare intentions
∕
Additional thoughts
Walk
Turn on Consul Connect and
secure traffic between
services.
Crawl
Deploy Consul, register some
services, start using it for
service discovery.
Run
Connect multiple datacenters,
incorporate both Kubernetes
and legacy environments, etc.
Crawl-Walk-Run Approach
Securing for
production
1. Gossip encryption
2. TLS for RPC between Consul nodes
3. TLS for HTTP
4. Bootstrap the ACL system
#1 and #4 are fully supported in Helm chart.
#2 and #3 will be added soon.
∕
Questions?
Resources
and Useful
Links
▪ Heat Clinic Demo
https://github.com/tradel/cc-heat-clinic
▪ Sock Shop Demo
https://github.com/tradel/cc-kube-sockshop
▪ Live Sock Shop Tutorial
https://instruqt.com/hashicorp/tracks/sock-shop-tutorial
▪ Animated Raft Tutorial
http://thesecretlivesofdata.com/raft/
Thank You!
Todd Radel
Technology Evangelist at HashiCorp
twitter.com/tradel
github.com/tradel
todd@hashicorp.com

More Related Content

What's hot

Elastic Connectivity - Session Sponsored by Megaport
Elastic Connectivity - Session Sponsored by MegaportElastic Connectivity - Session Sponsored by Megaport
Elastic Connectivity - Session Sponsored by Megaport
Amazon Web Services
 
Microservices and elastic resource pools with Amazon EC2 Container Service
Microservices and elastic resource pools with Amazon EC2 Container ServiceMicroservices and elastic resource pools with Amazon EC2 Container Service
Microservices and elastic resource pools with Amazon EC2 Container Service
Boyan Dimitrov
 
Software Defined Networking – Two Views
Software Defined Networking – Two ViewsSoftware Defined Networking – Two Views
Software Defined Networking – Two Views
Open Networking Summits
 
Production ready microservices (by Viktor Bushmin)
Production ready microservices (by Viktor Bushmin)Production ready microservices (by Viktor Bushmin)
Production ready microservices (by Viktor Bushmin)
ViktorBushmin
 
Monitoring microservices platform
Monitoring microservices platformMonitoring microservices platform
Monitoring microservices platform
Boyan Dimitrov
 
Observability foundations in dynamically evolving architectures
Observability foundations in dynamically evolving architecturesObservability foundations in dynamically evolving architectures
Observability foundations in dynamically evolving architectures
Boyan Dimitrov
 
Kafka and kafka connect
Kafka and kafka connectKafka and kafka connect
Kafka and kafka connect
Touraj Ebrahimi
 
AWS Summit Sydney 2014 | Network-as-a-Service - Session Sponsored by Megaport
AWS Summit Sydney 2014 | Network-as-a-Service - Session Sponsored by MegaportAWS Summit Sydney 2014 | Network-as-a-Service - Session Sponsored by Megaport
AWS Summit Sydney 2014 | Network-as-a-Service - Session Sponsored by Megaport
Amazon Web Services
 
Micro services
Micro servicesMicro services
Micro services
Mateusz Bukowicz
 
What a mesh !
What a mesh !What a mesh !
What a mesh !
ldoguin
 
Travel api
Travel api Travel api
Travel api
Trawex Technologies
 
Messaging without servers
Messaging without serversMessaging without servers
Messaging without servers
SimonTimms1
 
Anatomy of the modern application stack
Anatomy of the modern application stackAnatomy of the modern application stack
Anatomy of the modern application stack
Boyan Dimitrov
 
AZULINK- Azure managed Services
AZULINK- Azure managed ServicesAZULINK- Azure managed Services
AZULINK- Azure managed Services
Matthieu DEMOOR
 
Moving to microservices – a technology and organisation transformational journey
Moving to microservices – a technology and organisation transformational journeyMoving to microservices – a technology and organisation transformational journey
Moving to microservices – a technology and organisation transformational journey
Boyan Dimitrov
 
Microservices
MicroservicesMicroservices
Microservices
Nguyen Dung
 
Windows azure biztalk services
Windows azure biztalk servicesWindows azure biztalk services
Windows azure biztalk services
Piyush Kalra
 
Using Cloud Management to Deliver Speed and Consistency in an Agile Environment
Using Cloud Management to Deliver Speed and Consistency in an Agile EnvironmentUsing Cloud Management to Deliver Speed and Consistency in an Agile Environment
Using Cloud Management to Deliver Speed and Consistency in an Agile Environment
Ostrato
 
Azure signalR
Azure signalRAzure signalR
Azure signalR
Christoffer Noring
 
D cast ostrato 1 29-2014.ppt
D cast ostrato 1 29-2014.pptD cast ostrato 1 29-2014.ppt
D cast ostrato 1 29-2014.ppt
Jennifer Galvin
 

What's hot (20)

Elastic Connectivity - Session Sponsored by Megaport
Elastic Connectivity - Session Sponsored by MegaportElastic Connectivity - Session Sponsored by Megaport
Elastic Connectivity - Session Sponsored by Megaport
 
Microservices and elastic resource pools with Amazon EC2 Container Service
Microservices and elastic resource pools with Amazon EC2 Container ServiceMicroservices and elastic resource pools with Amazon EC2 Container Service
Microservices and elastic resource pools with Amazon EC2 Container Service
 
Software Defined Networking – Two Views
Software Defined Networking – Two ViewsSoftware Defined Networking – Two Views
Software Defined Networking – Two Views
 
Production ready microservices (by Viktor Bushmin)
Production ready microservices (by Viktor Bushmin)Production ready microservices (by Viktor Bushmin)
Production ready microservices (by Viktor Bushmin)
 
Monitoring microservices platform
Monitoring microservices platformMonitoring microservices platform
Monitoring microservices platform
 
Observability foundations in dynamically evolving architectures
Observability foundations in dynamically evolving architecturesObservability foundations in dynamically evolving architectures
Observability foundations in dynamically evolving architectures
 
Kafka and kafka connect
Kafka and kafka connectKafka and kafka connect
Kafka and kafka connect
 
AWS Summit Sydney 2014 | Network-as-a-Service - Session Sponsored by Megaport
AWS Summit Sydney 2014 | Network-as-a-Service - Session Sponsored by MegaportAWS Summit Sydney 2014 | Network-as-a-Service - Session Sponsored by Megaport
AWS Summit Sydney 2014 | Network-as-a-Service - Session Sponsored by Megaport
 
Micro services
Micro servicesMicro services
Micro services
 
What a mesh !
What a mesh !What a mesh !
What a mesh !
 
Travel api
Travel api Travel api
Travel api
 
Messaging without servers
Messaging without serversMessaging without servers
Messaging without servers
 
Anatomy of the modern application stack
Anatomy of the modern application stackAnatomy of the modern application stack
Anatomy of the modern application stack
 
AZULINK- Azure managed Services
AZULINK- Azure managed ServicesAZULINK- Azure managed Services
AZULINK- Azure managed Services
 
Moving to microservices – a technology and organisation transformational journey
Moving to microservices – a technology and organisation transformational journeyMoving to microservices – a technology and organisation transformational journey
Moving to microservices – a technology and organisation transformational journey
 
Microservices
MicroservicesMicroservices
Microservices
 
Windows azure biztalk services
Windows azure biztalk servicesWindows azure biztalk services
Windows azure biztalk services
 
Using Cloud Management to Deliver Speed and Consistency in an Agile Environment
Using Cloud Management to Deliver Speed and Consistency in an Agile EnvironmentUsing Cloud Management to Deliver Speed and Consistency in an Agile Environment
Using Cloud Management to Deliver Speed and Consistency in an Agile Environment
 
Azure signalR
Azure signalRAzure signalR
Azure signalR
 
D cast ostrato 1 29-2014.ppt
D cast ostrato 1 29-2014.pptD cast ostrato 1 29-2014.ppt
D cast ostrato 1 29-2014.ppt
 

Similar to Service Meshes Made Easy

Modern application delivery with Consul
Modern application delivery with ConsulModern application delivery with Consul
Modern application delivery with Consul
Mitchell Pronschinske
 
Whitepaper : Microservices In or Out
Whitepaper : Microservices   In or OutWhitepaper : Microservices   In or Out
Whitepaper : Microservices In or Out
Newt Global Consulting LLC
 
Service Discovery and Registration in a Microservices Architecture
Service Discovery and Registration in a Microservices ArchitectureService Discovery and Registration in a Microservices Architecture
Service Discovery and Registration in a Microservices Architecture
PLUMgrid
 
Moving to a Microservice World: Leveraging Consul on Azure
Moving to a Microservice World: Leveraging Consul on AzureMoving to a Microservice World: Leveraging Consul on Azure
Moving to a Microservice World: Leveraging Consul on Azure
Mitchell Pronschinske
 
NYC Kubernetes Meetup: Ambassador and Istio - Flynn, Datawire
NYC Kubernetes Meetup: Ambassador and Istio - Flynn, DatawireNYC Kubernetes Meetup: Ambassador and Istio - Flynn, Datawire
NYC Kubernetes Meetup: Ambassador and Istio - Flynn, Datawire
Ambassador Labs
 
Reference architectures shows a microservices deployed to Kubernetes
Reference architectures shows a microservices deployed to KubernetesReference architectures shows a microservices deployed to Kubernetes
Reference architectures shows a microservices deployed to Kubernetes
Rakesh Gujjarlapudi
 
#JaxLondon keynote: Developing applications with a microservice architecture
#JaxLondon keynote: Developing applications with a microservice architecture#JaxLondon keynote: Developing applications with a microservice architecture
#JaxLondon keynote: Developing applications with a microservice architecture
Chris Richardson
 
Developing Applications with a Micro Service Architecture - Chris Richardson
Developing Applications with a Micro Service Architecture - Chris RichardsonDeveloping Applications with a Micro Service Architecture - Chris Richardson
Developing Applications with a Micro Service Architecture - Chris Richardson
JAXLondon2014
 
2010 06-18 service oriented architecture (soa) v4
2010 06-18 service oriented architecture (soa) v42010 06-18 service oriented architecture (soa) v4
2010 06-18 service oriented architecture (soa) v4alvaro alcocer sotil
 
2010 06-18 service oriented architecture (soa) v4
2010 06-18 service oriented architecture (soa) v42010 06-18 service oriented architecture (soa) v4
2010 06-18 service oriented architecture (soa) v4alvaro alcocer sotil
 
OpenStack and Cloud Foundry - Pair the leading open source IaaS and PaaS
OpenStack and Cloud Foundry - Pair the leading open source IaaS and PaaSOpenStack and Cloud Foundry - Pair the leading open source IaaS and PaaS
OpenStack and Cloud Foundry - Pair the leading open source IaaS and PaaS
Daniel Krook
 
#dbhouseparty - Should I be building Microservices?
#dbhouseparty - Should I be building Microservices?#dbhouseparty - Should I be building Microservices?
#dbhouseparty - Should I be building Microservices?
Tammy Bednar
 
Do You Need A Service Mesh?
Do You Need A Service Mesh?Do You Need A Service Mesh?
Do You Need A Service Mesh?
NGINX, Inc.
 
Service Mesh CTO Forum (Draft 3)
Service Mesh CTO Forum (Draft 3)Service Mesh CTO Forum (Draft 3)
Service Mesh CTO Forum (Draft 3)
Rick Hightower
 
Microservices
MicroservicesMicroservices
Microservices
Ramesh (@Mavuluri)
 
Architecting Microservices in .Net
Architecting Microservices in .NetArchitecting Microservices in .Net
Architecting Microservices in .Net
Richard Banks
 
Service mesh in action with onap
Service mesh in action with onapService mesh in action with onap
Service mesh in action with onap
Huabing Zhao
 
Getting Started with Kubernetes and Consul
Getting Started with Kubernetes and ConsulGetting Started with Kubernetes and Consul
Getting Started with Kubernetes and Consul
Mitchell Pronschinske
 

Similar to Service Meshes Made Easy (20)

Modern application delivery with Consul
Modern application delivery with ConsulModern application delivery with Consul
Modern application delivery with Consul
 
Whitepaper : Microservices In or Out
Whitepaper : Microservices   In or OutWhitepaper : Microservices   In or Out
Whitepaper : Microservices In or Out
 
Service Discovery and Registration in a Microservices Architecture
Service Discovery and Registration in a Microservices ArchitectureService Discovery and Registration in a Microservices Architecture
Service Discovery and Registration in a Microservices Architecture
 
Moving to a Microservice World: Leveraging Consul on Azure
Moving to a Microservice World: Leveraging Consul on AzureMoving to a Microservice World: Leveraging Consul on Azure
Moving to a Microservice World: Leveraging Consul on Azure
 
NYC Kubernetes Meetup: Ambassador and Istio - Flynn, Datawire
NYC Kubernetes Meetup: Ambassador and Istio - Flynn, DatawireNYC Kubernetes Meetup: Ambassador and Istio - Flynn, Datawire
NYC Kubernetes Meetup: Ambassador and Istio - Flynn, Datawire
 
Reference architectures shows a microservices deployed to Kubernetes
Reference architectures shows a microservices deployed to KubernetesReference architectures shows a microservices deployed to Kubernetes
Reference architectures shows a microservices deployed to Kubernetes
 
#JaxLondon keynote: Developing applications with a microservice architecture
#JaxLondon keynote: Developing applications with a microservice architecture#JaxLondon keynote: Developing applications with a microservice architecture
#JaxLondon keynote: Developing applications with a microservice architecture
 
Developing Applications with a Micro Service Architecture - Chris Richardson
Developing Applications with a Micro Service Architecture - Chris RichardsonDeveloping Applications with a Micro Service Architecture - Chris Richardson
Developing Applications with a Micro Service Architecture - Chris Richardson
 
2010 06-18 service oriented architecture (soa) v4
2010 06-18 service oriented architecture (soa) v42010 06-18 service oriented architecture (soa) v4
2010 06-18 service oriented architecture (soa) v4
 
2010 06-18 service oriented architecture (soa) v4
2010 06-18 service oriented architecture (soa) v42010 06-18 service oriented architecture (soa) v4
2010 06-18 service oriented architecture (soa) v4
 
Introducing cloud computing complete
Introducing cloud computing completeIntroducing cloud computing complete
Introducing cloud computing complete
 
OpenStack and Cloud Foundry - Pair the leading open source IaaS and PaaS
OpenStack and Cloud Foundry - Pair the leading open source IaaS and PaaSOpenStack and Cloud Foundry - Pair the leading open source IaaS and PaaS
OpenStack and Cloud Foundry - Pair the leading open source IaaS and PaaS
 
#dbhouseparty - Should I be building Microservices?
#dbhouseparty - Should I be building Microservices?#dbhouseparty - Should I be building Microservices?
#dbhouseparty - Should I be building Microservices?
 
Do You Need A Service Mesh?
Do You Need A Service Mesh?Do You Need A Service Mesh?
Do You Need A Service Mesh?
 
Service Mesh CTO Forum (Draft 3)
Service Mesh CTO Forum (Draft 3)Service Mesh CTO Forum (Draft 3)
Service Mesh CTO Forum (Draft 3)
 
Resume
ResumeResume
Resume
 
Microservices
MicroservicesMicroservices
Microservices
 
Architecting Microservices in .Net
Architecting Microservices in .NetArchitecting Microservices in .Net
Architecting Microservices in .Net
 
Service mesh in action with onap
Service mesh in action with onapService mesh in action with onap
Service mesh in action with onap
 
Getting Started with Kubernetes and Consul
Getting Started with Kubernetes and ConsulGetting Started with Kubernetes and Consul
Getting Started with Kubernetes and Consul
 

Recently uploaded

2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
Georgi Kodinov
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
Globus
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
Tier1 app
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
NYGGS Automation Suite
 
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Mind IT Systems
 
RISE with SAP and Journey to the Intelligent Enterprise
RISE with SAP and Journey to the Intelligent EnterpriseRISE with SAP and Journey to the Intelligent Enterprise
RISE with SAP and Journey to the Intelligent Enterprise
Srikant77
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
takuyayamamoto1800
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
Globus
 
A Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of PassageA Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of Passage
Philip Schwarz
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Globus
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Globus
 
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Anthony Dahanne
 
Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdf
Cyanic lab
 
top nidhi software solution freedownload
top nidhi software solution freedownloadtop nidhi software solution freedownload
top nidhi software solution freedownload
vrstrong314
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
XfilesPro
 
Graphic Design Crash Course for beginners
Graphic Design Crash Course for beginnersGraphic Design Crash Course for beginners
Graphic Design Crash Course for beginners
e20449
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
Max Andersen
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
AMB-Review
 
A Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdfA Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdf
kalichargn70th171
 

Recently uploaded (20)

2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
 
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
 
RISE with SAP and Journey to the Intelligent Enterprise
RISE with SAP and Journey to the Intelligent EnterpriseRISE with SAP and Journey to the Intelligent Enterprise
RISE with SAP and Journey to the Intelligent Enterprise
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
 
A Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of PassageA Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of Passage
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
 
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
 
Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdf
 
top nidhi software solution freedownload
top nidhi software solution freedownloadtop nidhi software solution freedownload
top nidhi software solution freedownload
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
 
Graphic Design Crash Course for beginners
Graphic Design Crash Course for beginnersGraphic Design Crash Course for beginners
Graphic Design Crash Course for beginners
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
 
A Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdfA Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdf
 

Service Meshes Made Easy

Editor's Notes

  1. Not talking about the monolith from 2001 A Space Odyssey, I’m talking about application architecture Spent the last 30 years learning how to break up code into components Hadn’t made the same leap with deployments - compile components into libraries, link libraries into main program, deploy the whole mess Drawback: have to wait for all teams to be ready
  2. Maybe we should deploy our apps the same way we build them: Break up our app into lots of small web services
  3. You can see how interest in microservices started to grow Around the same time we saw interest in some other concepts - cloud, DevOps, & containers Not an accident - Containers made it easier to package apps, especially small apps Made sense to give each team control over deploying their own stuff The problem then became - how do I discover, connect and monitor these services?
  4. The first sort of corporate enterprise-y solution was called an ESB ESB itself was a huge, complex, finicky application Needed a whole middleware team - sysadmins, DBA’s, priests Single point of failure
  5. We needed something lighter weight. Thus the service mesh was born.
  6. You can see how interest in service mesh has taken off the last 2-3 years
  7. They had already built a tool called Consul designed to do a lot of the same stuff Had a service catalog you could query Had a key/value store for configuration Distributed, scales to thousands of servers or cloud instances Missing one thing: security
  8. Drawbacks: Deployments are slow and complicated Bringing more capacity online can take weeks Can only move as fast as the slowest team
  9. How do you draw a box around your environment? Draw lots of little boxes. Put a firewall around each unit. This leads to 500,000 security groups.
  10. The only thing that makes sense is to trust no one Or, as Ronald Reagan once said: “Trust, but verify” 1. If you don’t trust the network, encrypt the traffic 2. If you don’t know who you’re talking to, authenticate them 3. If you’re not sure they’re allowed to talk to you, make sure they’re authorized Either rewrite apps to handle all of that, or… Put proxy in front of each app. Proxies are transparent. Proxies are data plane, Consul is control plane.
  11. Pluggable data plane - use whatever you like
  12. If you go to our web site and open our documentation, the very first page says this (read the text aloud) If you’re like me, sometimes too many buzzwords makes your brain lock up
  13. What did that mean?
  14. Segmentation is a fancy name for applying security at a more granular level
  15. Clients generate certificates for each service, signed by a common CA I can authenticate peer based on common CA, SNI
  16. Kubernetes has service catalog, health checks, etc. We just leverage that existing data.