O'Reilly logo

Cloud Native Architectures by Piyum Zonooz, Erik Farr, Kamal Arora, Tom Laszewski

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

Serverless microservice – sample walkthrough

As in previous chapters, we will create a serverless microservice using Google Cloud Functions, so let's follow these to create a working example:

  1. Go to Google Cloud Console and locate Cloud Functions, as follows:
  1. Click on the Create Functions option and start the process of defining an HTTP trigger function, as follows:
  1. Use the following code in the index.js section to handle the main business logic of our serverless microservice. Also, please note that just below the code in the console, the ...

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