menu
arrow_back

Create a Network Load-Balanced Logbook Application

—/5

Checkpoints

arrow_forward

Deploy your resources

Create a Network Load-Balanced Logbook Application

1 个小时 7 个积分

GSP147

Google Cloud Self-Paced Labs

Overview

In this lab you learn how to build a logbook application using Node.js as the frontend and MySQL on the backend. You'll also create a network load balancer and an autoscaler to watch the frontend instances and scale when necessary. To start, you create templates that define these resources separately. Later, you call these templates in your final configuration and Deployment Manager deploys your app.

Your deployment contains these resources:

app_architecture.png

By the end of the lab you have:

  • A single Compute Engine instance that hosts the MySQL database in the backend.

  • An instance template that uses a Docker image to create a managed instance group for the frontend node.js instances.

  • A managed instance group that uses the instance template to create two frontend instances.

  • An autoscaler, a health check, and a load balancer with a forwarding rule and a target pool for the managed instance group.

加入 Qwiklabs 即可阅读本实验的剩余内容…以及更多精彩内容!

  • 获取对“Google Cloud Console”的临时访问权限。
  • 200 多项实验,从入门级实验到高级实验,应有尽有。
  • 内容短小精悍,便于您按照自己的节奏进行学习。
加入以开始此实验