App version 1 – introducing Cloud Functions

In this example, we will step through the process for using Cloud Functions as the basis for the application. This process consists of the following steps:

  1. Creating a function: Start out with a simple Cloud Function.
  2. Adding Functions Framework: Understand how to add other libraries when migrating code to Cloud Shell.
  3. Deploying the resultant code: Learn how to deploy code from the command line.

Starting with Cloud Functions is made more accessible by the fact that it provides template code in several languages. The inclusion of this template code is beneficial when starting and enables developers to quickly try out the service without having to spend any time setting up an environment.

When working ...

Get Hands-On Serverless Computing with Google Cloud now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.