menu
arrow_back

Serverless Compute: Microservices with Cloud Functions

Serverless Compute: Microservices with Cloud Functions

1시간 크레딧 7개

GSP448

Google Cloud Self-Paced Labs

Overview

In this lab you learn how to use Cloud Functions to create a small serverless application demonstrating a simple microservices architecture.

Your company processes widgets which are supplied by HTTP requests. The third widget processing service utilized by your company can take variable amounts of time to complete, and the HTTP request cannot block whilst waiting for the processing to complete. Widgets for processing are often received during certain peak times of day, but many hours can elapse between these peaks.

To address these needs, you will create a series of Cloud Functions microservices to

  • Receive widgets and publish them to a Pub/Sub topic
  • Process the widgets from the Pub/Sub subscription
  • Provide a RESTful interface for interacting with the status database

이 실습의 나머지 부분과 기타 사항에 대해 알아보려면 Qwiklabs에 가입하세요.

  • Google Cloud Console에 대한 임시 액세스 권한을 얻습니다.
  • 초급부터 고급 수준까지 200여 개의 실습이 준비되어 있습니다.
  • 자신의 학습 속도에 맞춰 학습할 수 있도록 적은 분량으로 나누어져 있습니다.
이 실습을 시작하려면 가입하세요
점수

—/100

Create the Cloud SQL instance

단계 진행

/ 20

Create the Database

단계 진행

/ 10

Create the Database User

단계 진행

/ 10

Create the Pub/Sub Topic

단계 진행

/ 10

Create the Pub/Sub Subscription

단계 진행

/ 10

Create the HTTP triggered Cloud Function (Env Var: TOPIC)

단계 진행

/ 10

Create the Pub/Sub triggered Cloud Function

단계 진행

/ 10

Inspect results from the HTTP triggered function "widget_status" from the Command Line

단계 진행

/ 20