Cloud Function using a gcloud command line

In this part of this chapter, we will be deploying the helloworld application through the gcloud command line. First, we need to have created a GCP project through the Manage resources page, enabled the Cloud Function API as a prerequisite, and, most importantly, to have installed the gcloud SDK locally:

  1. Let's update the gcloud components. Go to your Command Prompt and add the following command. You will be prompted to install components using the gcloud beta commands. Go ahead and install them. The gcloud selected components will be installed and configured locally:
$ gcloud components update && gcloud components install beta
We can follow the deployment steps with Google Cloud Shell (https://console.cloud.google.com/?cloudshell=true ...

Get DevOps for Serverless Applications 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.