Live data from Hacker News

An update on container support on Google Cloud Platform

googlecloudplatform.blogspot.com

21–30 of 36 posts

Re: An update on container support on Google Cloud Platform

#21
post #17

Earlier quoted context omitted.

Slightly offtopic - I haven't used docker yet but can docker be used to run Ubuntu on GCE? That seems to be possible by using a ubuntu base image?

Ubuntu can run directly on GCE. http://doit-intl.com/blog/2014/5/31/how-to-install-ubuntu-se...

Wow, why is it so complicated? Can't you do it from the console?

Re: An update on container support on Google Cloud Platform

#22
post #19
post #15

Earlier quoted context omitted.

If docker images are fancy static binaries, then docker containers are fancy OS processes. Going through two billion OS PIDs in a week doesn't seem that hard.

Still seems like a lot, 2 billion a week is over 3300 every second. Says a lot about the scale at which Google operates.

_The Datacenter as a Computer_ [1] is a free book written by Googlers that helps get your head around that scale.

[1] http://www.morganclaypool.com/doi/abs/10.2200/S00516ED2V01Y2...

Re: An update on container support on Google Cloud Platform

#23
post #21
post #17

Earlier quoted context omitted.

Ubuntu can run directly on GCE. http://doit-intl.com/blog/2014/5/31/how-to-install-ubuntu-se...

Wow, why is it so complicated? Can't you do it from the console?

Because they don't have ready-made ubuntu images, so you have to make your own first.

The simpler solution is to use their ready-made Debian images, which can be easily configured via CLI or API.

Re: An update on container support on Google Cloud Platform

#24
post #17

Earlier quoted context omitted.

Slightly offtopic - I haven't used docker yet but can docker be used to run Ubuntu on GCE? That seems to be possible by using a ubuntu base image?

Ubuntu can run directly on GCE. http://doit-intl.com/blog/2014/5/31/how-to-install-ubuntu-se...

Note that some Google's Debian Wheezy images are specifically optimized for their Andromeda SDN [1], especially when they running on us-central1-b or europe-west1-a zones, where Andromeda is enabled [2].

Also Ubuntu 14.04 LTS has much worse performance than Ubuntu 12.04 LTS, so it's better to stick to 12.04 LTS for now.

In my opinion it's better to port to Debian or to run Ubuntu image inside container hosted on Debian, until they will have native Ubuntu support.

[1] http://gigaom.com/2014/04/02/google-launches-andromeda-a-sof...

[2] http://googlecloudplatform.blogspot.co.il/2014/04/enter-andr...

Re: An update on container support on Google Cloud Platform

#25
post #12

"Everything at Google, from Search to Gmail, is packaged and run in a Linux container." Was this something which Google had previously disclosed? Seems a bit surprising to me.

Yeah -- I talked about it a couple of weeks ago at GlueCon. Also shared that we launch over 2 billion containers every week. My slides from the talk: https://speakerdeck.com/jbeda/containers-at-scale PDF: http://slides.eightypercent.net/GlueCon%202014%20-%20Contain...

I went to a talk on Omega on Box.com about a year ago. At that point Omega was still about managing Google's giant statically linked binaries.

Did Google switch to containers in a year? Maybe that answer is in your slides? If so crazy...

Re: An update on container support on Google Cloud Platform

#26
post #25
post #12

Earlier quoted context omitted.

Yeah -- I talked about it a couple of weeks ago at GlueCon. Also shared that we launch over 2 billion containers every week. My slides from the talk: https://speakerdeck.com/jbeda/containers-at-scale PDF: http://slides.eightypercent.net/GlueCon%202014%20-%20Contain...

I went to a talk on Omega on Box.com about a year ago. At that point Omega was still about managing Google's giant statically linked binaries. Did Google switch to containers in a year? Maybe that answer is in your slides? If so crazy...

The statically linked binaries run inside the containers. Static linking gives you a certain kind of portability (no need for library dependencies on the machine.) The containers give you isolation, resource management, etc.

Re: An update on container support on Google Cloud Platform

#27

"Everything at Google, from Search to Gmail, is packaged and run in a Linux container." Was this something which Google had previously disclosed? Seems a bit surprising to me.

I'm guessing you weren't aware that google is the company that wrote the overwhelming majority of the cgroup subsystem and much of the namespace bits that lxc/docker use. Paul Menage and Rohit something were the two biggest kernel guys on it if memory serves. I used to read the LKML firehose actively and gave up eventually.

Re: An update on container support on Google Cloud Platform

#28
post #17

Earlier quoted context omitted.

Ubuntu can run directly on GCE. http://doit-intl.com/blog/2014/5/31/how-to-install-ubuntu-se...

Note that some Google's Debian Wheezy images are specifically optimized for their Andromeda SDN [1], especially when they running on us-central1-b or europe-west1-a zones, where Andromeda is enabled [2]. Also Ubuntu 14.04 LTS has much worse performance than Ubuntu 12.04 LTS, so it's better to stick to 12.04 LTS for now. In my opinion it's better to port to Debian or to run Ubuntu image inside container hosted on Debi…

"Also Ubuntu 14.04 LTS has much worse performance than Ubuntu 12.04 LTS"

Citation needed.

Re: An update on container support on Google Cloud Platform

#29
post #26
post #25

Earlier quoted context omitted.

I went to a talk on Omega on Box.com about a year ago. At that point Omega was still about managing Google's giant statically linked binaries. Did Google switch to containers in a year? Maybe that answer is in your slides? If so crazy...

The statically linked binaries run inside the containers. Static linking gives you a certain kind of portability (no need for library dependencies on the machine.) The containers give you isolation, resource management, etc.

The way it has been explained to me is that Google's fat binaries have no dependencies beyond libc. The task scheduler would just have to deploy that one file to one or more machines to get it to run.

Containers are much more flexible that statically linked binaries. You could have multiple binaries in a container sharing a common set of dynamically linked files.

Fat binaries inside containers sounds a bit like the worst of both worlds...

Re: An update on container support on Google Cloud Platform

#30
post #26
post #25

Earlier quoted context omitted.

I went to a talk on Omega on Box.com about a year ago. At that point Omega was still about managing Google's giant statically linked binaries. Did Google switch to containers in a year? Maybe that answer is in your slides? If so crazy...

The statically linked binaries run inside the containers. Static linking gives you a certain kind of portability (no need for library dependencies on the machine.) The containers give you isolation, resource management, etc.

Static binaries are congruent to containers, in a way. Both bundle an app and dependencies together. There are advantages and disadvantages to both approaches, but Docker-style containers are more elegant in some ways.
Post reply on HN