We tried two different combinations to create a Swarm cluster in DigitalOcean. We used Docker Machine with the DigitalOcean API and Packer with Terraform. That is, by no means, the final list of the tools we can use. The time is limited, and I promised to myself that this book will be shorter than War and Peace, so I had to draw the line somewhere. Those two combinations are, in my opinion, the best candidates as your tools of choice. Even if you do choose something else, this chapter, hopefully, gave you an insight into the direction you might want to take.
Most likely you won't use both combinations so the million dollar question is which one should it be?
Only you can answer that question. Now you have the practical experience that should be combined with the knowledge of what you want to accomplish. Each use case is different,...