Serverless - bobbae/gcp GitHub Wiki

Google Cloud’s serverless platform lets you write code your way without worrying about the underlying infrastructure. Deploy functions or apps as source code or as containers.

https://cloud.google.com/blog/products/serverless/the-next-big-evolution-in-cloud-computing

Programmable cloud

https://cloud.google.com/blog/products/serverless/introducing-the-programmable-cloud

Choosing Serverless Option

https://medium.com/gdgeurope/choosing-server-less-option-on-gcp-510e49fdb40a

Cloud Run

Cloud Run is a managed compute platform that enables you to run stateless containers that can be invoked via web requests or Pub/Sub events.

App Engine

App Engine is a fully managed, serverless platform for developing and hosting web applications at scale. You can choose from several popular languages, libraries, and frameworks to develop your apps, then let App Engine take care of provisioning servers and scaling your app instances based on demand.

https://www.youtube.com/watch?v=2PRciDpqpko

Cloud Functions

Google Cloud Functions is a lightweight compute solution for developers to create single-purpose, stand-alone functions that respond to Cloud events without the need to manage a server or runtime environment.

Cloud Function second generation

https://cloud.google.com/functions/docs/2nd-gen/overview

Cloud Run jobs

https://cloud.google.com/run/docs/create-jobs

App Engine vs. serverless

https://medium.com/google-cloud/google-cloud-serverless-technology-never-sleep-8a2e5e97f789

Knative

Knative extends Kubernetes to provide a set of middleware components.

Cloud Workflows and serverless tasks

You can use Cloud Workflows to create serverless workflows that link a series of serverless tasks together in an order you define. Combine the power of Google Cloud's APIs, serverless products like Google Cloud Functions and Cloud Run, and calls to external APIs to create flexible serverless applications. Workflows require no infrastructure management and scales seamlessly with demand, including scaling down to zero.

https://www.youtube.com/watch?v=Uz8G8fTwwXs

Cloud Tasks

Cloud Tasks lets you separate out pieces of work that can be performed independently, outside of your main application flow, and send them off to be processed, asynchronously, using handlers that you create.

Examples

Serverless Tensorflow Predictions at Scale

Cloud Machine Learning Engine Prediction Service can serve TensorFlow models and scale.

https://www.youtube.com/watch?v=_JCMN8-yhBM

Modernizing serverless apps

https://cloud.google.com/blog/topics/developers-practitioners/modernizing-your-serverless-applications

App Engine Updates

https://cloud.google.com/blog/products/serverless/support-for-app-engine-services-in-second-generation-runtimes

GitHub actions

https://cloud.google.com/blog/topics/developers-practitioners/deploying-serverless-platforms-github-actions

https://github.com/google-github-actions/setup-gcloud#example-workflows

Examples

Serverless APIs using Goblet

https://engineering.premise.com/serverless-apis-made-simple-on-gcp-with-goblet-backed-by-cloud-functions-and-cloud-run-730db2da04ba

Event driven applications using Cloud Functions

https://medium.com/brainjar/how-to-build-an-event-driven-application-on-google-cloud-using-cloud-functions-64fa241b556e

Google Translate app on Cloud Function, Cloud Run and App Engine

https://codelabs.developers.google.com/codelabs/cloud-nebulous-serverless-nodejs?hl=en#0

Serverless PI calculation

https://cloud.google.com/blog/topics/developers-practitioners/celebrating-pi-day-cloud-functions

Serverless MEAN Stack Applications with Cloud Run

https://cloud.google.com/blog/topics/developers-practitioners/serverless-with-cloud-run-mongodb-atlas

Qwiklabs

Deploy Your Website on Cloud Run

Websites and Web Applications

Monitoring and Logging for Cloud Functions

Responding to Stackdriver Messages with Cloud Functions