Settings

Theme

Cloud Run, a Managed Knative Service, Is GA

cloud.google.com

50 points by linuxcoder 6 years ago · 13 comments

Reader

coder543 6 years ago

I think it's interesting that this isn't being presented as the direct successor to Google Cloud Functions.

When would someone pick GCF over Cloud Run at this point?

  • lindydonna 6 years ago

    Product Manager for Cloud Run for Anthos here.

    This is a great question -- thanks for asking.

    GCF provides a different experience where you provide just snippets of code and you don't have to even build a full app. Of course, this has pros and cons. The pros are that it's easier to get started, and the service manages things like language runtimes for you. But, the number of languages is usually limited, and you can't customize the OS packages you're including.

    In Cloud Run, you provide an entire container. But, this means you're responsible for the contents of the container, which means you have to roll out updates if there there is a security issue for a language.

    The two products actually run on the same underlying infrastructure. And, with the open source JavaScript functions framework, you can have a GCF-like experience on Cloud Run. https://cloud.google.com/functions/docs/functions-framework

    This was actually the subject of a talk I did last month at ServerlessConf (containers vs. functions), but unfortunately the video hasn't been posted yet. (It'll be posted at https://acloud.guru/series/serverlessconf-nyc-2019.)

  • cameronbrown 6 years ago

    I work for Google but not Cloud.

    From what I understand they serve different needs. One is deployment at the container level and the other is at the functions level. Both use HTTP as the communication layer. Depending on your workload there are good reasons to choose either.

locnguyen 6 years ago

I hope at some point the fully managed Cloud Run can connect to the VPC and also support web sockets.

  • steren 6 years ago

    Hi, I am a PM on Cloud Run. Thanks for the feedback. VPC connectivity is literally at the top of our roadmap.

    For web sockets, this requires substantial infrastructure changes. In the meantime, we recommend Cloud Run for Anthos, which supports web sockets.

    • dsl 6 years ago

      > we recommend Cloud Run for Anthos

      Cool. Can you please tell us how to setup Anthos? From an availability perspective, it is "Contact Sales" vaporware.

      • lindydonna 6 years ago

        Product Manager for Cloud Run for Anthos here.

        You can currently use Cloud Run for Anthos with no additional charge beyond GKE until May 2020. After that, you'd need an Anthos subscription to continue using the product.

        I agree that it's frustrating that you have to contact sales to sign up. We're working to make this self-serve in the future -- Anthos hasn't been available for very long, and we plan to make substantial improvements here.

adamfeldman 6 years ago

If I understand correctly, I now must subscribe to Anthos ($$$) in order to run my Cloud Run containers in my own GKE cluster.

Without Anthos, I can only use the fully-managed edition of Cloud Run. Or, presumably, I can set up self-managed Knative in my non-Anthos GKE cluster...

  • lindydonna 6 years ago

    Product Manager for Cloud Run for Anthos here.

    Yes, your understanding is correct, though I can't comment on the price point. Note that there's a free trial of Cloud Run for Anthos available until May 2020.

thecodeassassin 6 years ago

Hi, Why does it still show up as beta?

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection