3 options
Microservices deployment cookbook : master over 60 recipes to help you deliver complete, scalable, microservice-based solutions and see the improved business results immediately / Vikram Murugesan.
- Format:
- Book
- Author/Creator:
- Murugesan, Vikram, author.
- Language:
- English
- Subjects (All):
- Computer architecture.
- Distributed operating systems (Computers).
- Computer software--Development.
- Computer software.
- Physical Description:
- 1 online resource (374 pages) : illustrations
- Edition:
- 1st edition
- Place of Publication:
- Birmingham : Packt, 2017.
- System Details:
- text file
- Biography/History:
- Murugesan Vikram: Vikram Murugesan is a software architect who has over 10 years of experience building distributed systems and products. He currently works as a principal architect with Egen Solutions Inc. In his current job, he focuses on building platforms based on JVM (Java, Scala, and Groovy), big data, and cloud technologies. He is a passionate programmer and is interested in learning new technologies. He is also interested in coaching, mentoring, and building scalable teams that build great software.
- Summary:
- Master over 60 recipes to help you deliver complete, scalable, microservice-based solutions and see the improved business results immediately About This Book Adopt microservices-based architecture and deploy it at scale Build your complete microservice architecture using different recipes for different solutions Identify specific tools for specific scenarios and deliver immediate business results, correlate use cases, and adopt them in your team and organization Who This Book Is For This book is for developers, ops, and DevOps professionals who would like to put microservices to work and improve products, services, and operations. Those looking to build and deploy microservices will find this book useful, as well as managers and people at CXO level looking to adopt microservices in their organization. Prior knowledge of Java is expected. No prior knowledge of microservices is assumed. What You Will Learn Build microservices using Spring Boot, Wildfly Swarm, Dropwizard, and SparkJava Containerize your microservice using Docker Deploy microservices using Mesos/Marathon and Kubernetes Implement service discovery and load balancing using Zookeeper, Consul, and Nginx Monitor microservices using Graphite and Grafana Write stream programs with Kafka Streams and Spark Aggregate and manage logs using Kafka Get introduced to DC/OS, Docker Swarm, and YARN In Detail This book will help any team or organization understand, deploy, and manage microservices at scale. It is driven by a sample application, helping you gradually build a complete microservice-based ecosystem. Rather than just focusing on writing a microservice, this book addresses various other microservice-related solutions: deployments, clustering, load balancing, logging, streaming, and monitoring. The initial chapters offer insights into how web and enterprise apps can be migrated to scalable microservices. Moving on, you'll see how to Dockerize your application so that it is ready to be shipped and deployed. We will look at how to deploy microservices on Mesos and Marathon and will also deploy microservices on Kubernetes. Next, you will implement service discovery and load balancing for your microservices. We'll also show you how to build asynchronous streaming systems using Kafka Streams and Apache Spark. Finally, we wind up by aggregating your logs in Kafka, creating your own metrics, and monitoring the metrics for the microservice. Style and approach This book follows a recipe-driven app...
- Contents:
- Cover
- Copyright
- Credits
- About the Author
- About the Reviewer
- www.PacktPub.com
- Customer Feedback
- Table of Contents
- Preface
- Chapter 1: Building Microservices with Java
- Introduction
- Creating a project template using STS and Maven
- Getting ready
- How to do it…
- There's more…
- Writing microservices with Spring Boot
- Writing REST APIs with Spring MVC
- Writing microservices with WildFly Swarm
- Writing microservices with Dropwizard
- Writing REST APIs with SparkJava
- Conclusion
- Chapter 2: Containerizing Microservices with Docker
- Building an executable JAR using Maven Shade plugin
- Building an executable JAR using the Spring Boot Maven plugin
- Installing and setting up Docker
- Writing your Dockerfile
- Building your Docker image
- Running your microservice inside a Docker container
- Pushing your image to Docker Hub
- Chapter 3: Deploying Microservices on Mesos
- Setting up a Mesos cluster using Docker
- Zookeeper
- Mesos masters and Mesos slaves
- Mesos frameworks
- Understanding the Mesos and Marathon interface
- The Mesos interface
- The Mesos home page
- Frameworks
- The Marathon web UI
- Deploying your microservice to Mesos using Marathon
- Configuring ports in Marathon
- Configuring volumes in Marathon
- Getting ready.
- How to do it…
- Configuring environment variables in Marathon
- Scaling your microservice in Marathon
- Destroying your microservice in Marathon
- Monitoring your microservice logs in Marathon
- Monitoring your microservice logs in Mesos
- Managing your microservice using Marathon's REST API
- Chapter 4: Deploying Microservices on Kubernetes
- Kubernetes master
- API server
- etcd
- Scheduler
- Controller manager
- Kubernetes node
- Setting up Kubernetes cluster using Docker
- Understanding the Kubernetes dashboard
- Deploying your microservice on Kubernetes
- Configuring ports in Kubernetes
- Configuring volumes in Kubernetes
- Configuring environment variables in Kubernetes
- Scaling your microservice in Kubernetes
- Destroying your microservice in Kubernetes
- Monitoring your microservice logs in Kubernetes
- Chapter 5: Service Discovery and Load Balancing Microservices
- Setting up Zookeeper using Docker
- Load balancing microservices using Zookeeper
- Setting up Consul using Docker
- Understanding the concepts of Consul
- Implementing service discovery using Spring Cloud Consul
- Load balancing your microservice using Spring Cloud Consul.
- Getting ready
- Load balancing your microservice using Nginx and Consul
- Load balancing your microservice using Marathon LB
- How it works…
- Chapter 6: Monitoring Microservices
- Configuring Spring Boot Actuator metrics
- Understanding Spring Boot Actuator metrics
- Creating custom metrics using Dropwizard
- Setting up Graphite using Docker
- Using the Graphite interface
- Tree view
- Search
- Auto-Completer
- Graphite
- Exporting Dropwizard metrics over to Graphite
- Exporting Spring Boot Actuator metrics over to Graphite
- Setting up Grafana using Docker
- Configuring Grafana to use Graphite
- Configuring Grafana dashboards to view metrics
- Chapter 7: Building Asynchronous Streaming Systems with Kafka and Spark
- Setting up Kafka using Docker
- [Kafka]
- Kafka
- Point-to-point mechanism
- Pub-sub mechanism
- Kafka terminology
- Brokers
- Topics
- Partitions
- Producers and consumers
- Creating Kafka topics to stream data
- Writing a streaming program using Kafka Streams
- Improving the performance of the Kafka Streams program
- Writing a streaming program using Apache Spark
- Improving the performance of the Spark job
- Aggregating logs into Kafka using Log4J
- How to do it….
- Integrating Kafka with log management systems
- Chapter 8: More Clustering Frameworks - DC/OS, Docker Swarm, and YARN
- Deploying infrastructure with DC/OS
- Deploying containers with Docker Swarm
- Deploying containers on YARN
- Index.
- Notes:
- Includes index.
- Description based on online resource; title from PDF title page (ebrary, viewed March 2, 2017).
- ISBN:
- 9781786461315
- 1786461315
- OCLC:
- 974929834
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.