menu
arrow_back

Create a Network Load-Balanced Logbook Application

Create a Network Load-Balanced Logbook Application

1 hour 7 Credits

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.

Join Qwiklabs to read the rest of this lab...and more!

  • Get temporary access to the Google Cloud Console.
  • Over 200 labs from beginner to advanced levels.
  • Bite-sized so you can learn at your own pace.
Join to Start This Lab
Score

—/5

Deploy your resources

Run Step

/ 5