Microservices Security in Action

  • 9h 59m
  • Nuwan Dias, Prabath Siriwardena
  • Manning Publications
  • 2020

Microservices Security in Action teaches you how to address microservices-specific security challenges throughout the system. This practical guide includes plentiful hands-on exercises using industry-leading open-source tools and examples using Java and Spring Boot.

Summary

Unlike traditional enterprise applications, Microservices applications are collections of independent components that function as a system. Securing the messages, queues, and API endpoints requires new approaches to security both in the infrastructure and the code. Microservices Security in Action teaches you how to address microservices-specific security challenges throughout the system. This practical guide includes plentiful hands-on exercises using industry-leading open-source tools and examples using Java and Spring Boot.

About the technology

Integrating independent services into a single system presents special security challenges in a microservices deployment. With proper planning, however, you can build in security from the start. Learn to create secure services and protect application data throughout development and deployment. As microservices continue to change enterprise application systems, developers and architects must learn to integrate security into their design and implementation. Because microservices are created as a system of independent components, each a possible point of failure, they can multiply the security risk. With proper planning, design, and implementation, you can reap the benefits of microservices while keeping your application data--and your company's reputation--safe!

About the book

Microservices Security in Action is filled with solutions, teaching best practices for throttling and monitoring, access control, and microservice-to-microservice communications. Detailed code samples, exercises, and real-world use cases help you put what you've learned into production. Along the way, authors and software security experts Prabath Siriwardena and Nuwan Dias shine a light on important concepts like throttling, analytics gathering, access control at the API gateway, and microservice-to-microservice communication. You'll also discover how to securely deploy microservices using state-of-the-art technologies including Kubernetes, Docker, and the Istio service mesh. Lots of hands-on exercises secure your learning as you go, and this straightforward guide wraps up with a security process review and best practices. When you're finished reading, you'll be planning, designing, and implementing microservices applications with the priceless confidence that comes with knowing they're secure!

What's inside

  • Microservice security concepts
  • Edge services with an API gateway
  • Deployments with Docker, Kubernetes, and Istio
  • Security testing at the code level
  • Communications with HTTP, gRPC, and Kafka

About the reader

For experienced microservices developers with intermediate Java skills.

About the Authors

Prabath Siriwardena is the Deputy CTO (Security) at WSO2. Nuwan Dias is the Deputy CTO (API Management & Integration) at WSO2. They have designed secure systems for many Fortune 500 companies.

In this Book

  • Preface
  • About This Book
  • About the Cover Illustration
  • Microservices Security Landscape
  • First Steps in Securing Microservices
  • Securing North/South Traffic with an API Gateway
  • Accessing a Secured Microservice via a Single-Page Application
  • Engaging Throttling, Monitoring, and Access Control
  • Securing East/West Traffic with Certificates
  • Securing East/West Traffic with JWT
  • Securing East/West Traffic over gRPC
  • Securing Reactive Microservices
  • Conquering Container Security with Docker
  • Securing Microservices on Kubernetes
  • Securing Microservices with Istio Service Mesh
  • Secure Coding Practices and Automation
SHOW MORE
FREE ACCESS