Video description
In Video Editions the narrator reads the book while the content, figures, code listings, diagrams, and text appear on the screen. Like an audiobook that you can also watch as a video.
The single best introduction I’ve read to the tools needed to understand and implement microservices.
Chris Viner, Forged Development
The best way to learn microservices development is to build something! Bootstrapping Microservices with Docker, Kubernetes, and Terraform guides you from zero through to a complete microservices project, including fast prototyping, development, and deployment. You’ll get your feet wet using industry-standard tools as you learn and practice the practical skills you’ll use for every microservices application. Following a true bootstrapping approach, you’ll begin with a simple, familiar application and build up your knowledge and skills as you create and deploy a real microservices project.
about the technology
Taking microservices from proof of concept to production is a complex, multi-step operation relying on tools like Docker, Terraform, and Kubernetes for packaging and deployment. The best way to learn the process is to build a project from the ground up, and that’s exactly what you’ll do with this book!
about the book
In Bootstrapping Microservices with Docker, Kubernetes, and Terraform, author Ashley Davis lays out a comprehensive approach to building microservices. You’ll start with a simple design and work layer-by-layer until you’ve created your own video streaming application. As you go, you’ll learn to configure cloud infrastructure with Terraform, package microservices using Docker, and deploy your finished project to a Kubernetes cluster.
what's inside
- Developing and testing microservices applications
- Working with cloud providers
- Applying automated testing
- Implementing infrastructure as code and setting up a continuous delivery pipeline
- Monitoring, managing, and troubleshooting
about the audience
Examples are in JavaScript. No experience with microservices, Kubernetes, Terraform, or Docker required.
about the author
Ashley Davis is a software developer, entrepreneur, stock trader, and the author of Manning’s Data Wrangling with JavaScript.
The definitive infrastructure reference for any microservice builder.
Julien Pohie, Thoughtworks
A wonderful, practical book promising a jump start for readers for developing microservices and cloud-native applications using Docker, Kubernetes, and Terraform.
Dhruvesh Patel, Cognizant Worldwide Limited
An extensive and practical exposure to modern cloud resources for implementing microservices.
Alain Couniot, Sopra Steria Benelux
NARRATED BY ADAM NEWMARK
Table of Contents
Chapter 1 Why microservices?
Chapter 1 What will I learn?
Chapter 1 What is a microservices application?
Chapter 1 Benefits of microservices
Chapter 1 Modern tooling for microservices
Chapter 2 Creating your first microservice
Chapter 2 Our philosophy of development
Chapter 2 Establishing our single-service development environment
Chapter 2 Building an HTTP server for video streaming
Chapter 2 Installing Express
Chapter 2 Running our simple web server
Chapter 2 Setting up for production
Chapter 3 Publishing your first microservice
Chapter 3 Why Docker?
Chapter 3 Packaging our microservice
Chapter 3 Booting our microservice in a container
Chapter 3 Publishing our microservice
Chapter 3 Booting our microservice from the registry
Chapter 4 Data management for microservices
Chapter 4 Creating our Docker Compose file
Chapter 4 Working with the application
Chapter 4 Adding file storage to our application
Chapter 4 Using Azure Storage
Chapter 4 Testing the updated application
Chapter 4 Adding a database to our application
Chapter 4 Adding a database server in production
Chapter 5 Communication between microservices
Chapter 5 Live reload for fast iterations
Chapter 5 Updating the Docker Compose file for live reload
Chapter 5 Methods of communication for microservices
Chapter 5 Sending a message with HTTP POST
Chapter 5 Indirect messaging with RabbitMQ
Chapter 5 Connecting our microservice to the message queue
Chapter 5 Multiple-recipient messages
Chapter 5 What have we achieved?
Chapter 6 Creating your production environment
Chapter 6 Working with the Azure CLI
Chapter 6 Creating infrastructure with Terraform
Chapter 6 Creating an Azure resource group for your application
Chapter 6 Building your infrastructure
Chapter 6 Creating your container registry
Chapter 6 Creating our Kubernetes cluster
Chapter 6 Interacting with Kubernetes
Chapter 6 The Kubernetes CLI
Chapter 7 Getting to continuous delivery
Chapter 7 Deploying containers with Terraform
Chapter 7 Deploying our first microservice with Terraform
Chapter 7 Continuous delivery with Bitbucket Pipelines
Chapter 7 The Bitbucket Pipelines script
Chapter 8 Automated testing for microservices
Chapter 8 Testing with Jest
Chapter 8 Interpreting test failures
Chapter 8 Unit testing
Chapter 8 Integration testing
Chapter 8 Creating an integration test with Jest
Chapter 8 End-to-end testing
Chapter 8 Booting your application
Chapter 8 Automated testing in the CD pipeline
Chapter 9 Exploring FlixTube
Chapter 9 Running FlixTube in development
Chapter 9 FlixTube deep dive
Chapter 9 The user interface (UI)
Chapter 9 Manually deploying FlixTube to production with Terraform
Chapter 9 Continuous delivery to production
Chapter 9 Adding automated testing
Chapter 10 Healthy microservices
Chapter 10 Error handling
Chapter 10 Basic logging with Kubernetes
Chapter 10 Automatic restarts with Kubernetes health checks
Chapter 10 Debugging microservices
Chapter 10 The debugging process
Chapter 10 Reliability and recovery
Chapter 10 Simple techniques for fault tolerance
Chapter 11 Pathways to scalability
Chapter 11 Independent microservices
Chapter 11 The meta-repo
Chapter 11 Scaling performance
Chapter 11 Elastic scaling for an individual microservice
Chapter 11 Security
Chapter 11 Refactoring to microservices
Chapter 11 Microservices on a budget