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 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 ...

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