Live data from Hacker News

Google Launches Managed Service for Running Docker Apps on Its Platform

googlecloudplatform.blogspot.com

41–50 of 69 posts

Re: Google Launches Managed Service for Running Docker Apps on Its Platform

#41
post #35

Can someone explain the difference between Apache Mesos, Apache Spark, and Kubernetes. As someone reading just announcements, and having never experimented with any of these tools, they sound like they promise the same capabilities. Is it just that they are different open source projects aiming for the same goal ... or are their goals different?

I'll give it a shot, with the disclaimer that this explanation is based on conference talks I've seen and documentation I've read. Spark is a successor to Hadoop, aiming to perform big distributed data crunching jobs more quickly by not limiting itself to a map-reduce paradigm and by holding more data in memory. Apache Mesos is a resource scheduler for a cluster of machines. It is architected to be agnostic about the…

> and not used so much for long-running services like a web app

Mesosphere Marathon, which sits on top of Mesos, makes doing long-running services easier; it starts services, restarts them if machines crash, etc etc. Where Mesos is the resource schedular, Marathon is more like a *nix init system.

Aurora is supposed to do much the same thing, but is in Incubation at the moment. There's also "Singularity", which does a bunch of stuff including managing long-running services and one-off services through an HTTP API and webapp.

Mesos is supposed to be treated sort of as a "cluster kernel", with "frameworks" which sit on top of it and use it to schedule things. It's a lot more versatile than "I want to deploy a bunch of services" - it's more along the lines of having your own EC2 that you can request resources from on-demand.

Re: Google Launches Managed Service for Running Docker Apps on Its Platform

#42
Does this mean that Google feels confident in running untrusted code inside containers? Or is each container actually running in an isolated VM?

It is my understanding that Docker containers are "generally" secure (https://docs.docker.com/articles/security/). But that statement isn't enough for me to use them to power a multi-user production hosting environment.

Re: Google Launches Managed Service for Running Docker Apps on Its Platform

#43
post #38
post #2

More info/docs here: https://cloud.google.com/container-engine/ I'm on the Kubernetes/GKE team and happy to answer any questions you all might have. We also all hang out on IRC at #google-containers on freenode.

Given that this is the alpha launch of Container Engine, and the Beta launch of Autoscaling and Managed VMs, what is the anticipated timeframe for this to be ready for production workloads? I'm assuming that there'll be a beta of Container Engine in the near future, and then a stable 1.0 launch?

Stable production ready GKE will gate on Kubernetes. Our Kubernetes roadmap is here: https://github.com/GoogleCloudPlatform/kubernetes/blob/maste...

We are driving aggressively here. I hate to put a date on it but things are converging.

Re: Google Launches Managed Service for Running Docker Apps on Its Platform

#44
post #26
post #18

Pretty sure we're gonna see a similar offering from AWS in a week.

AWS released PaaS docker support 7 months ago: http://aws.amazon.com/blogs/aws/aws-elastic-beanstalk-for-do...

Something more is coming soon, though: https://twitter.com/jeffbarr/status/529493907839533056

Re: Google Launches Managed Service for Running Docker Apps on Its Platform

#45

Does this mean that Google feels confident in running untrusted code inside containers? Or is each container actually running in an isolated VM? It is my understanding that Docker containers are "generally" secure ( https://docs.docker.com/articles/security/ ). But that statement isn't enough for me to use them to power a multi-user production hosting environment.

We aren't doing multi-tenant in a VM. Instead, each user/account/project has their own set of VMs implementing the cluster.

My view is that the surface area for cgroups/kernel namespaces is just too large and isn't appropriate for hostile untrusted workloads right now.

More nuanced statement on this here: http://googlecloudplatform.blogspot.com/2014/08/containers-v...

Re: Google Launches Managed Service for Running Docker Apps on Its Platform

#46

Can someone explain the difference between Apache Mesos, Apache Spark, and Kubernetes. As someone reading just announcements, and having never experimented with any of these tools, they sound like they promise the same capabilities. Is it just that they are different open source projects aiming for the same goal ... or are their goals different?

Apache Mesos is based on Twitter's expertise in deploying their cluster, Kubernetes on Google's. They do things in different ways. Spark seems to be in the same area as Hadoop, so not relevant to the conversation.

Yep, but there's an important difference I think...

Mesos (some customizations, but largely the same as open-source Apache Mesos) IS what Twitter uses to deploy and manage their clusters. Battle-hardened at scale running diverse production workloads.

With Kubernetes, we're told that it is built using architectural and philosophical principles proven to work at scale on Google's production systems. But it's a fairly clean-room built-from-scratch implementation and although developing quickly, is still immature and untested.

Re: Google Launches Managed Service for Running Docker Apps on Its Platform

#48
post #43
post #38

Earlier quoted context omitted.

Given that this is the alpha launch of Container Engine, and the Beta launch of Autoscaling and Managed VMs, what is the anticipated timeframe for this to be ready for production workloads? I'm assuming that there'll be a beta of Container Engine in the near future, and then a stable 1.0 launch?

Stable production ready GKE will gate on Kubernetes. Our Kubernetes roadmap is here: https://github.com/GoogleCloudPlatform/kubernetes/blob/maste... We are driving aggressively here. I hate to put a date on it but things are converging.

Ok that's fair, but just a rough idea would be incredibly helpful.

Are we talking sometime within the next 6 months / 12 months / longer?

That roadmap document doesn't really explain how the current featureset makes Kubernetes ready for an 'alpha' release on GKE.

Re: Google Launches Managed Service for Running Docker Apps on Its Platform

#49
post #37

Earlier quoted context omitted.

Oddly, I get a "only available for new customers" message, even after I enable the API.

That's because the link from the GKE page is for the free Google Cloud Platform trial ($300 credit), which is only available for new customers.

Ah, that would make sense.

Re: Google Launches Managed Service for Running Docker Apps on Its Platform

#50
post #2

More info/docs here: https://cloud.google.com/container-engine/ I'm on the Kubernetes/GKE team and happy to answer any questions you all might have. We also all hang out on IRC at #google-containers on freenode.

With the Managed VM and Container Engine releases today, is there now a way for frontend Python GAE apps and backend Java GAE/GCE apps to share the same development server (esp datastore, taskqueue)?
Post reply on HN