Docker Containers, Cloud Foundry, and Diego—Why Abstraction Matters

by Volha KurylionakJune 16, 2015
Renat Khasanshyn of Altoros dives into the history of containers and explains the relationship between Cloud Foundry, Diego, and Docker.
Why read this?
FOR A CIO

Containers are surrounded by a lot of myths. For instance, contrary to the common belief, they are not new, Docker didn’t invent them, and they have actually been used in production since the 90s. In this talk, Renat Khasanshyn busts the most popular container myths, explains why containers are not perfect, and lists some things that could be improved.

FOR AN ARCHITECT

Cloud Foundry/Diego and containers provide different levels of abstraction. Renat Khasanshyn explains what is on each level and how Cloud Foundry and Diego use containerization technologies, such as Docker, Warden, etc.

It’s all about abstraction

This 30-minute talk from the East Bay Cloud Foundry and Docker meetup busts some popular myths about containers and explains the difference between Docker, Diego, and the Cloud Foundry PaaS. Renat Khasanshyn, CEO of Altoros, also speaks about likely scenarios of Docker evolution in clustered systems.

While the purpose is clearly to draw the line between these three technologies, the main message is that “abstraction is the key to what’s happening all over the place.” According to Renat Khasanshyn, everything is being abstracted away. In the future, things such as data services, middleware, OS, virtualization, etc. will be provided automatically. Ultimately, the only thing you will have to worry about will be the actual app.

 

Containers vs. PaaS

The session starts with a brief introduction to levels of orchestration and the place of PaaS and containers in this hierarchy.

Containers vs. PaaS

It continues with some “surprising” facts about containers. For example, contrary to the common belief, containers are not new. “Docker hasn’t invented containers,” either. They have been around at least since the 90s and early 2000s. And they are actually widely used in production, mostly by web hosting companies.

“The multi-tenancy and isolation that containers offer was the key to early adoption…Years of hard labour and lobbying have been put into making containers something that is part of and is supported by the Linux Kernel.” —Renat Khasanshyn, Altoros

As to the question of why containers suddenly became so hot, it is mostly thanks to Docker and LXC. LXC have been around for a while, but Docker finally made them “easy for app developers.” “Easy” equals “adoption.” As a result, the number of individuals and organizations using Docker and other containerization tools has gone through the roof. Today it’s not only web hosters who need containers, there are a lot of others who use them in production, e.g. Google.

“We see middleware being often replaced by container-based systems…Now teams are much smaller, much more contained, and they still produce valuable results.” —Renat Khasanshyn

 

Scale your business with zero downtime. Cloud Foundry professional services.

Containers vs. Cloud Foundry and Diego

“If you noticed, the application, the developer, and the containers are coming together around Platform-as-a-Service,” according to Renat. A PaaS—e.g., Cloud Foundry—uses containers to isolate resources, but it also adds app management features, such as automatic health monitoring and recovery, a possibility to manage apps and services via an API, scheduling, etc. There are several projects in the Cloud Foundry community that feature Docker—e.g., Decker, Cloud Rocker (Focker), and Docker Circus.

Diego, the re-write of the Cloud Foundry runtime, which may in fact get its own release path in the future, takes Docker support even further. It actually provides native Docker integration, using the libcontainer library.

Docker vs. Diego

According to Renat Khasanshyn, the future of containers and PaaS looks very bright. Developers and managers alike want abstraction, which boosts productivity, helps to economize, and generally makes life easier. “Docker, Diego, and PaaS are all about abstraction,” so we already see a rapid growth in the number of companies and individuals who use Cloud Foundry, Docker, and similar tech. And there are reasons to believe that these technologies may become mainstream in the coming years.

 

Want details? Watch the video!

Table of contents
  1. Why containers are gaining popularity? (02’03”)
  2. The difference between IaaS, PaaS, and containers (04’23”)
  3. Why Docker? (08’18”)
  4. Who is using containers in production? (09’43”)
  5. Why containers have a low overhead (12’18”)
  6. Why is Docker so hot? (13’29”)
  7. What difference do containers make? (17’08”)
  8. The future of containers (18’05”)
  9. How do containers and Cloud Foundry come together? (22’43”)
  10. How Diego works (24’00”)
 


 

About the speaker

Renat Khasanshyn is CEO at Altoros. He is a subject-matter expert on database infrastructure software and the Cloud Foundry PaaS. Renat is also one of the founders of Apatar, an open-source data integration toolset, the founder of the Silicon Valley NewSQL User Group, and a co-founder of the Belarusian Java User Group. He studied Engineering at Belarusian National Technical University.

 

Related blog posts

Interested in how to manage secure Cloud Foundry deployments distributed across multiple data centers?

To stay tuned with the latest updates, subscribe to our blog or follow @altoros.

  •  
  •  
  •