Google Cloud Functions: Getting Started

Serverless technologies are taking the developer world by storm because they allow you to push out code quickly and know that it will scale. This course teaches you how to get started writing serverless code on the Google Cloud Platform.
Course info
Rating
(16)
Level
Beginner
Updated
Dec 20, 2017
Duration
2h 27m
Table of contents
Description
Course info
Rating
(16)
Level
Beginner
Updated
Dec 20, 2017
Duration
2h 27m
Description

Developers want to build serverless microservices so they can create new content, reduce maintenance, scale easily, and deliver new features to users faster. In this course, Google Cloud Functions: Getting Started, you will learn the skills you need to create high-quality microservices that will enhance the experience of your app or website. First, you will set up a Google Cloud project, install the gcloud command line tools, and set up Google Cloud Functions on your local machine. Next, you will explore all of the different events your functions can respond to, including storage, PubSub, and HTTP triggers. Finally, you will dive into deploying the functions and see how everything integrates seamlessly into the Google Cloud Platform. When you’re finished with this course, you will have a solid understanding of Google Cloud Functions that will allow you to create and deploy your own microservices that will automatically scale with your users.

About the author
About the author

James Wilson is a Mobile Developer that specializes in iOS. He comes from a background in .NET, but spends the majority of his time in Objective-C, Swift, and iOS.

More from the author
Google Cloud Functions Fundamentals
Intermediate
4h 52m
28 Aug 2018
iOS Auto Layout: Adaptive UIs for All Devices
Intermediate
5h 50m
25 Jan 2017
More courses by James Wilson
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi everyone, my name is James Wilson, and welcome to my course, Google Cloud Functions: Getting Started. Serverless technologies are taking the developer world by storm. As a developer, you can push out your code quickly and know that it will scale. This course is going to teach you how to get started writing serverless code on the Google Cloud Platform. Some of the major topics that we will cover include working with all the cloud function types on the Google Cloud Platform, exploring the cloud functions dashboard on Google Cloud, building local functions with no JS, and managing and deploying functions with the G Cloud Command Line Interface Tool. By the end of this course, you'll know how to write, deploy, test, and maintain serverless functions on the Google Cloud Platform. We start with the basics, so no prior knowledge is necessary for this course. I hope you'll join me on this journey to learn serverless cloud functions with the Google Cloud Functions: Getting Started course at Pluralsight.

Constructing Functions with Node.js and NPM
With the Google Cloud Platform, Google gives you this incredible dashboard to work from so you can easily manage your functions, check logs and even write code. However, the more complex your function is going to get, the more challenging it's going to be to just use their console within the Google Cloud Platform. Now it's probably going to improve over time, however there are a lot of benefits to just coding the functions on your local machine and then using G Cloud to deploy them. And so that's what we're going to do in this module: constructing functions with Node. js and npm, Node Package Manager. We'll first going to look at installing Node. js. We'll see what the latest version is running on the Google Cloud Functions and we'll install that on our local machine. Then at that point, we'll go ahead and create a new Node. js project. This is really simple to do and it's not necessary to have any prior knowledge of Node itself because we're really just going to be doing basic stuff and this is going to be fairly easy to follow along with. Once we have this project created, we can then go ahead and write our functions. This is going to be a super simple process and we'll be able to write all three of them very quickly. And then once we have them written, we're going to go ahead and deploy those functions with G Cloud and the Google Cloud SDK. Now in the prior module, you've seen how to check logs, test and call your functions, but the one piece we did skip over was deployment and we're going to do it in this module and then we'll check to make sure everything is all right. And that'll be it. We're going to be doing a lot of cool stuff so let's start and get coding.