66 points · by phildougherty · 10y ago · 22 comments
I want to run GitLab, Mattermost, an API gateway, etc. With Docker based CaaS/PaaS, this is easy since apps can be easily packaged as containers that are treated the same as your own custom apps. This is only my opinion, but I think we are getting to the point where all server software can be run on something like Kubernetes and traditional virtualization becomes even more of a commodity.
Disclaimer, I work for Red Hat! We have both a CaaS (RHEL Atomic Enterprise Platform ie Kubernetes) and a PaaS built on top of it (OpenShift v3). Containers taking over the entire data center is my own opinion, but it would be great!
If so, then the wikipedia disambiguation page (https://en.wikipedia.org/wiki/CAAS) redirects to a yet unwritten one:
https://en.wikipedia.org/wiki/Containers_as_a_Service
;)
The limitations with most all container platforms is what they don't do major things which need to be addressed somehow in production systems:
- data backups / restores
- security practices / policies (good luck running SELinux)
- migrations to new versions
- security updates
- firewall rules
- monitoring & performance agents
- hard resource isolation (cpu, ram, network, IOPS)
- [something else obviously important here]
Containers are great for limited testing and local development, but for production they are like anti-type 1 hypervisors... more trouble that they're worth (docker instances still get stuck all the time as zombie processes, requiring a hard host reboot).
Worse, most of these containers are built by unknown persons, are unsigned and hosted publicly, so it's effectively running untrustworthy code however they decided to package and deliver it.
Finally, to add insult to injury, there's no reliable way to rebuild an image from scratch without some sources, whereas configuration management tools are intended to describe how to deploy apps and put systems into a desired configuration.
But most of your concerns are actually handled by what we are doing at Red Hat. OpenShift v3:
* applies SELinux policies to each running container
* can handle multiple styles of container upgrades (rolling, green/blue, canary, etc)
* includes an automated build process for automatically patching all of your containers when there is an update to their base image (including supported releases of RHEL containers that are kept up to date with errata)
* automatically reconfigures iptables as containers go up/dowm/migrate
* collects metrics on all running containers
* health checks for running containers to ensure they are not zombies
Since it is built on top of Kubernetes, the only configuration that you need to apply/maintain is the pod description, a short json document that describes what to run, what ports to expose, etc.
GitLab CI Lead
Here's both links to make it a little easier:
http://blog.containership.io/iaas-vs-paas-vs-caas-which-clou...
http://blog.containership.io/iaas-vs-paas-vs-caas-which-clou...
You mean ones without any employees or an office?
1. Getting ahead of your costs before they start to shoot up as you grow. Check out this pricing calculator for an idea of what I mean: http://containership.io/#pricing
2. Cloud portability: Heroku runs in 2 AWS regions (us-east-1, eu-west-1). What happens if you want to host in a specific country, a completely different provider (maybe you have some free credits?) or even your own data center eventually? Not gonna happen with heroku.
3. More flexibility to run the types of databases, queues, or other open source software that isn't possible to run on Heroku.
4. With CaaS you have root access to the servers powering your software, where Heroku is more of a black box. Remember what happened with (rap)Genius? http://techcrunch.com/2013/02/14/heroku-admits-to-performanc...