最近在考虑是否要在公司引入Cloudfoundry这样的<em>平台</em>，google了一些资料以后感觉在IaaS已经广泛使用的企业中，CF貌似没什么吸引力。rn1、CF相对于虚拟机最大的优势是资源可以进一步细分，提高硬件的利用率。但是目前大多数的应用服务器，例如Apache/IIS都已经提供了CPU、MEM、DISK的配合管理功能，稍微加上一些脚本控制就可以实现同CF一样的功能。rn2、部署。同样地，例如shell脚本，或者visual studio TFS的功能也可以实现从编译到部署的一系列功能。rn3、监控、弹性。监控就不说了，现在达到应用级的监控<em>平台</em>一大堆。弹性，默认的CF也不能提供弹性的自动启动和回收DEA 的实例，虽然warden将资源管理转交给cgroup以后由linux系统来实现container的回收，但是这个并不能跨<em>平台</em>，仅限于linux/unix下，很多APP Server做的也挺好。.NET上面的IronFoundry很显然无法利用这个功能，IF也就无法实现弹性，比不上IIS。rnrn综合上面三点，部署一个CF，在进行应用的迁移等等工作实在是得不偿失。rnrn也许我有什么不知道的PaaS的优势，希望各路高手不吝指教
Docker is a great tool in many ways for developers and people in DevOps.
We begin by learning how easy it is to create and publish your own customized Docker images and making them available to everyone. We also see how practical it is to separate every service to its own container. When you have published separated service containers, the process of running all kinds of platforms in the same server is a walk in the park.
This book walks you through a use case project that will teach you how to customize and create your own Docker image, allowing you to run any platform you want. The project evolves throughout the book and emerges as a complete three containers Wordpress/MySQL platform when finished.
by Michael P. McGrath
2012-01-12 First release
For years, I worked as the Fedora Project’s infrastructure team lead. It was quite possibly the best job I’ll ever have. People were constantly coming up with new ideas and
as the keeper of resources, they’d come to the infrastructure team to put those ideas
into motion. Looking back, I have regret. It’s about how many of those ideas I had to
say no to just because there weren’t enough people or servers to go around. So many
projects just never got off the ground because of the high cost of innovation.
With all those never born projects in mind, I joined Red Hat’s cloud computing initiative to make OpenShift a reality. OpenShift is Red Hat’s Platform as a Service (PaaS)
offering and it’s the answer to so many problems I’ve had in the past, like those Fedora
Project ideas that never got off the ground.
Yet, even months after OpenShift launched, I am constantly surprised how often people
would ask me what PaaS is. Is it virtualization? Is it just cloud computing? Why would
I use it? This book is the result of the questions so many people have asked me at
conferences, on IRC, and via email. So to all of you curious and hardworking inventors
out there, thank you. I hope the answers contained in this book will help you innovate
Platform-as-a-Service (PaaS) is gaining serious traction among web and mobile developers, but as new PaaS providers emerge and existing vendors upgrade their features, it’s hard to keep track of what PaaS has to offer. This thorough introduction takes you through the PaaS model from a developer’s point of view, and breaks down the types of services that Google App Engine, Windows Azure, Heroku, Cloud Foundry, and others deliver.