Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Docker and the cloud.

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I read the contents of the book and I found a very interesting section about the container orchestration about managing multiple docker containers, my question is if this section could provide the principles/basis in which the deployment of the docker containers works in the cloud, or is any other specific section that cover the cloud scenarios.

Thanks
 
Author
Posts: 6
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Mauricio Mena wrote:I read the contents of the book and I found a very interesting section about the container orchestration about managing multiple docker containers, my question is if this section could provide the principles/basis in which the deployment of the docker containers works in the cloud, or is any other specific section that cover the cloud scenarios.

Thanks



Hi Mauricio

Chapter 9 (which I believe is the one you're talking about) tries to give an overview of the available orchestration tools in the ecosystem. Having some method for orchestration is fairly crucial if you're planning to run multiple containers across multiple machines - doing it manually gets tiring very quickly! This isn't necessarily cloud specific (the tools would work equivalently well there on a bunch of spare desktop machines lying around at home), but putting your containers on a cloud provider is undeniably the most common use-case.

We also cover a few miscellaneous bits relevant to the cloud elsewhere in the book - a technique in chapter 4 talks about using docker-machine to create a virtualbox VM containing Docker, and notes that you can follow a very similar process for creating machines on cloud providers with Docker on them. Chapter 11 and 12 are dedicated to talking about the realities of running Docker in production, and the techniques here apply wherever you decide to run Docker. The 'securing your docker api' technique in chapter 10 is worth a mention as well - it's a very bad idea to expose your Docker api port externally on the cloud without securing it with TLS!

However, the process of actually starting your machines up, getting Docker on them, managing them and destroying them when done is left as an exercise to the reader (the official documentation has some examples for using docker-machine on DigitalOcean and AWS https://docs.docker.com/machine/ which may be a useful start). There's such a variety of cloud providers we tried not to get bogged down in the specifics - we could talk about using an Amazon-specific service (like DynamoDB) with Docker, but that wouldn't help you much if you moved to DigitalOcean! Instead the book aims to provide information that will apply regardless of what machines your containers are running on or how you create and destroy them.
 
Mauricio Mena
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Totally agree with you try to cover an specific cloud solution, will be not really useful for other user that are working with another one. Also interesting the way in which the book seems to be structured as cover in the points that you mention "running docker in production" also the "securing docker" the realities that you would face once you try to put this on production. Thanks for the answer .
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic