Book description
Understand how to use service mesh architecture to efficiently manage and safeguard microservices-based applications with the help of examples
Key Features
- Manage your cloud-native applications easily using service mesh architecture
- Learn about Istio, Linkerd, and Consul – the three primary open source service mesh providers
- Explore tips, techniques, and best practices for building secure, high-performance microservices
Book Description
Although microservices-based applications support DevOps and continuous delivery, they can also add to the complexity of testing and observability. The implementation of a service mesh architecture, however, allows you to secure, manage, and scale your microservices more efficiently. With the help of practical examples, this book demonstrates how to install, configure, and deploy an efficient service mesh for microservices in a Kubernetes environment.
You'll get started with a hands-on introduction to the concepts of cloud-native application management and service mesh architecture, before learning how to build your own Kubernetes environment. While exploring later chapters, you'll get to grips with the three major service mesh providers: Istio, Linkerd, and Consul. You'll be able to identify their specific functionalities, from traffic management, security, and certificate authority through to sidecar injections and observability.
By the end of this book, you will have developed the skills you need to effectively manage modern microservices-based applications.
What you will learn
- Compare the functionalities of Istio, Linkerd, and Consul
- Become well-versed with service mesh control and data plane concepts
- Understand service mesh architecture with the help of hands-on examples
- Work through hands-on exercises in traffic management, security, policy, and observability
- Set up secure communication for microservices using a service mesh
- Explore service mesh features such as traffic management, service discovery, and resiliency
Who this book is for
This book is for solution architects and network administrators, as well as DevOps and site reliability engineers who are new to the cloud-native framework. You will also find this book useful if you’re looking to build a career in DevOps, particularly in operations. Working knowledge of Kubernetes and building microservices that are cloud-native is necessary to get the most out of this book.
Table of contents
- Title Page
- Copyright and Credits
- About Packt
- Foreword
- Contributors
- Preface
- Section 1: Cloud-Native Application Management
- Monolithic Versus Microservices
- Cloud-Native Applications
- Section 2: Architecture
- Service Mesh Architecture
- Service Mesh Providers
- Service Mesh Interface and SPIFFE
- Section 3: Building a Kubernetes Environment
- Building Your Own Kubernetes Environment
- Section 4: Learning about Istio through Examples
- Understanding the Istio Service Mesh
- Installing a Demo Application
- Installing Istio
- Exploring Istio Traffic Management Capabilities
-
Exploring Istio Security Features
- Technical requirements
- Overview of Istio's security
- Authentication
- Authorization
- Advanced capabilities
- Summary
- Questions
- Further reading
- Enabling Istio Policy Controls
-
Exploring Istio Telemetry Features
- Technical requirements
- Telemetry and observability
- Configuring UI access
- Collecting built-in metrics
- Collecting new metrics
- Database metrics
- Distributed tracing
- Exploring prometheus
- Visualizing metrics through Grafana
- Service mesh observability through Kiali
- Tracing with Jaeger
- Cleaning up
- Summary
- Questions
- Further reading
- Section 5: Learning about Linkerd through Examples
- Understanding the Linkerd Service Mesh
- Installing Linkerd
- Exploring the Reliability Features of Linkerd
- Exploring the Security Features of Linkerd
- Exploring the Observability Features of Linkerd
- Section 6: Learning about Consul through Examples
- Understanding the Consul Service Mesh
- Installing Consul
- Exploring the Service Discovery Features of Consul
- Exploring Traffic Management in Consul
-
Assessment
- Chapter 1: Monolithic versus Microservices
- Chapter 2: Cloud-Native Applications
- Chapter 3: Service Mesh Architecture
- Chapter 4: Service Mesh Providers
- Chapter 5: Service Mesh Interface and SPIFFE
- Chapter 6: Building Your Own Kubernetes Environment
- Chapter 7: Understanding the Istio Service Mesh
- Chapter 8: Installing a Demo Application
- Chapter 9: Installing Istio
- Chapter 10: Exploring Istio Traffic Management Capabilities
- Chapter 11: Exploring Istio Security Features
- Chapter 12: Enabling Istio Policy Controls
- Chapter 13: Exploring Istio Telemetry Features
- Chapter 14: Understanding the Linkerd Service Mesh
- Chapter 15: Installing Linkerd
- Chapter 16: Exploring the Reliability Features of Linkerd
- Chapter 17: Exploring the Security Features of Linkerd
- Chapter 18: Exploring the Observability Features of Linkerd
- Chapter 19: Understanding the Consul Service Mesh
- Chapter 20: Installing Consul
- Chapter 21: Exploring the Service Discovery Features of Consul
- Chapter 22: Exploring Traffic Management in Consul
- Other Books You May Enjoy
Product information
- Title: Mastering Service Mesh
- Author(s):
- Release date: March 2020
- Publisher(s): Packt Publishing
- ISBN: 9781789615791
You might also like
book
Mastering Kubernetes - Fourth Edition
Go beyond the basics of Kubernetes and explore more advanced concepts, including Kubernetes in production, governance, …
book
Mastering Kubernetes
Exploit design, deployment, and management of large-scale containers About This Book Explore the latest features available …
book
The Enterprise Path to Service Mesh Architectures, 2nd Edition
Planning to build a microservice-driven cloud native application or looking to modernize existing application services? Consider …
book
Introducing Istio Service Mesh for Microservices, 2nd Edition
Microservices fundamentally change the way you design enterprise software. By adding network dependencies to your application …