It also opens up opportunities for spinning up a fresh VM for every CI build. GCP startup latency is pretty good, so this might be doable for some CI systems.
It also opens up opportunities for spinning up a fresh VM for every CI build. GCP startup latency is pretty good, so this might be doable for some CI systems.
I asked a question about it here a while ago https://serverfault.com/questions/845298/no-network-connecti...
Checked again just now, approx. 40 seconds between pressing START in the console UI and until I can ping 8.8.8.8, using serial console on Debian Stretch.
If anyone have a clue how to improve this I'd be most happy to hear about it. I'm using this for CI builds.
Disclosure: I work on Google Cloud.
With the to/from API path this routing is much simpler since you don't get the N^2 behavior.
Again, Disclosure: I work on Google Cloud (but I've never contributed engineering-wise to Cloud networking).
We aim for global convergence of network state as sort of an ongoing goal, but it's a distributed system with failure domain isolation, so that goal is necessarily flexible. There are different rates of convergence, and Solomon is certainly right that routes to first party services are some of the easiest to converge. Internet connectivity is to a certain extent the hardest thing to converge, as in our premium tier (which up until recently was our only tier) we aim to keep data on Google's network for as much of its journey as possible. At the extreme, this means a lot of edge nodes learning that a given external IP belongs to your VM.
Part of it is also just the mundane business of reconciling what a given configuration event means and propagating that to interested parties. With respect to your firewall example, it's really just another config change event with some set of implications for routes that are added or removed.
Anyway, that's my hand wavy explanation. Hopefully it's helpful!
I love what I do, and I love talking about it to anyone who will listen. I find Google's infrastructure is fantastically exciting -- sometimes too exciting, rarely boring. Most of the time I wish I could share more. Always happy to hear someone has found what I can share interesting!
(Feel free to answer me internally :) )
Not used to GCE, what sort of timeframe is this expected in?
Kinda wondering what the expected time would be for a process that's something like:
Run container
Download something from GCS
null op
Upload to GCS
Terminate
I know there's a lot of variables there, but does anyone have a quick idea of what this should be?