O'Reilly logo

DevOps for Serverless Applications by Shashikant Bangera

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Cloud Functions through the GCP console

We will now create a cloud function through the GCP console: 

  1. Go to the Cloud Functions overview page in the GCP console, select the project from the drop-down list for which the function is attached.
  2. Click on Create Function.
  1. Name the function as my-serverless-function.
  2. Select the trigger as an HTTP trigger.
  3. Let's use the default code, so it should be checked by an inline editor. The text area will have two scripts, one is index.js and the other is package.json. This is a simple helloworld function provided by Google Functions. The function logs a message which you provide in a later step. When you finish the steps you will see something similar to the following screenshot:
  1. Click on the Create ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required