Cloud Functions can be deployed using a CLI, the Google Cloud Console, or with APIs. In this section, we will have a look at the first two methods since it's likely that you will be tested on them in the exam.
Deploying Cloud Functions
Deploying Cloud Functions with the Google Cloud Console
To deploy Cloud Functions from the Google Cloud Console, follow these steps:
- Select Cloud Functions from the hamburger menu. You will see the Cloud Functions window. Click on CREATE FUNCTION:
- Fill in the name of your function and choose the memory you wish to allocate under Memory allocated:
- Choose the trigger type from the drop-down menu:
If you have chosen to use an HTTP trigger, the URL to call your function will be generated...