Save 37% off PRO during our Black Friday Sale! »

6 Q&As for Cloud Run By Me + WE DID GCPUG EXTENDED IN Google Cloud Next SF!

6 Q&As for Cloud Run By Me + WE DID GCPUG EXTENDED IN Google Cloud Next SF!

D58fe5089757d3f2f7a32439fe3f19d0?s=128

kumakumakkk

April 19, 2019
Tweet

Transcript

  1. None
  2. Google Cloud Next Extendedを開催しましょう…だと!?

  3. Google Cloud Next SF ‘19 に殴り込みしたぜ!!!!

  4. その名も

  5. None
  6. None
  7. None
  8. 6 Q&As for Cloud Run By Me Kuma Arakawa, SRE,

    Recruit Lifestyle Co. Ltd.
  9. • Previously introduced as “Serverless Containers for Cloud Functions” or

    “GKE serverless add-on” in last year’s Google Cloud Next • Deploy containerized application to either managed or GKE environment • Immutable deployment using the concept of “revision” • Knative backend. No vendor lock • Scale from 0 What is Cloud Run?
  10. • As easy as gcloud beta run deploy --image [container

    image] or via Web console How do you deploy to Cloud Run? https://cloud.google.com/run/docs/resource-model
  11. • As easy as gcloud beta run deploy --image [container

    image] or via Web console • Immutable deployment using the concept of “revision” How do you deploy to Cloud Run? https://cloud.google.com/run/docs/resource-model
  12. • No VPC Access • In roadmap VPC Access? Cloud

    Memorystore Cloud Filestore Cloud SQL Cloud Load Balancing Stackdriver Cloud Storage Cloud Pub/Sub Cloud Firestore BigQuery
  13. When to use GCF/Run/GKE ? • GCF: If you can

    rely on PaaS like Cloud Function • Run: When you need to consider dependencies, or moving existing container applications • GKE: When you need to consider network, or your microservice is getting complex
  14. • Mind startup time When scale out, Cloud Run will:

    retrieve container, start container and run entrypoint command to start the server. Seems like no option to define the number of minimum up container • Delete temporary files Cloud Run disk system uses in-memory filesystem. If you don’t, will get out-of-memory error eventually and goes to cold start. • Tune concurrency config Concurrency in Run means “serve multiple requests simultaneously”. Default is 80 and that is the maximum. Cloud Function has a fixed concurrency of 1. Any tips to create an app for Cloud Run?
  15. • “Streaming HTTP and gRPC support is on our roadmap,

    but it's still a ways out :(“ • Invoke API Gateway to do translation from gRPC to JSON • Outbound gRPC/Streaming is support. So you can use Cloud Firestore for example. gRPC? Streaming HTTP?? https://news.ycombinator.com/item?id=19616265