Wrapping Up
You’ve created an environment you can use to run your microservice or any other JRuby application in production. You’ve also set up Docker, which allows you to add new components to your infrastructure without running a bunch of commands or managing a complicated configuration management codebase. The tools you’ve used are state of the art for the industry, and it’s likely that you’ll use them to set up new environments each time you embark with a new customer or employer.
When you need to scale this environment horizontally, you won’t have to do much work. You’ll start with the base image and launch Docker containers from it. Or you can simply scale up your Heroku app.
In the coming chapters, you’ll build on this base Docker ...
Get Deploying with JRuby 9k now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.