Appendix A. Running a cloud on your desktop

 

This appendix covers

  • Listing the software needed to run the code in this book
  • Downloading the source code from GitHub for each chapter
  • Compiling and packaging the source code using Maven
  • Building and provisioning the Docker images used in each chapter
  • Launching the Docker images compiled by the build using Docker Compose

I had two goals when laying out the code examples in this book and choosing the runtime technologies needed to deploy the code. The first goal was make sure that the code examples were consumable and easy to set up. Remember, a microservices application has multiple moving parts, and setting up these parts to run cleanly with minimal effort for the reader can be difficult if there is not some forethought.

The second goal was for each chapter to be completely standalone so that you could pick any chapter in the book and have a complete runtime environment available that encapsulates all the services and software needed to run the code examples in the chapter without dependencies on other chapters.

To this end, you’ll see the following technology and patterns used throughout every chapter in this book:

A.1. Required software

A.2. Downloading the projects from GitHub

A.3. Anatomy of each chapter

A.4. Building and compiling the projects

A.5. Building the Docker image

A.6. Launching the services with Docker Compose