Chapter 7. Deploying the Code
Now that the code has been built and tested, we need to deploy it to our servers so that our customers can use the newly developed features!
There are many competing tools and options in this space, and the one that is right for you and your organization will depend on your needs.
We will explore Puppet, Ansible, Salt, PalletOps, and others, by showing how to deploy sample applications in different scenarios. Any one of these tools has a vast ecosystem of complementing services and tools, so it is no easy subject to get a grip on.
Throughout the book, we have encountered aspects of some of the different deployment systems that already exist. We had a look at RPMs and .deb
files and how to build them with the fpm
command. We had a look at various Java artifacts and how Maven uses the idea of a binary repository where you can deploy your versioned artifacts.
In this chapter, we will focus on installing binary packages and their configuration with a configuration...