Creating a Google Cloud Function

Let's look at creating a Google Cloud Function through the Console. As we have learned in the earlier chapters, Google Cloud Functions support two types of functions—HTTP and Background. Let's first look at creating HTTP Google Cloud Functions and then we will look into the Background Function.

Google Cloud Functions support only Node.js within there Google Cloud Functions platform.

Perform the following steps:

  1. Open the Navigation Menu in the Google Cloud Console.
  2. Select Cloud Functions under Compute within the Navigation Menu.
  3. From the homepage of Google Cloud Functions, click on Create function.
  1. On the Create function page, enter a name for the function.
  2. Select the memory that you want to allocate to ...

Get Hands-On Serverless Computing 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.