Viewing a Website on Google Cloud

15 minutes
  • 3 Learning Objectives

About this Hands-on Lab

When beginning to work on a website app that will be hosted on GCP or any other cloud vendor, it’s important to ensure that the app will work properly prior to deploying. In this lab, you’ll work in the Cloud Shell with files developed using React.js to create a new build and view it in the browser.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Retrieve Working Files

In Cloud Shell, clone a GitHub repository to access working files.

Set Up Initial Dependencies

Execute the provided Bash script to establish dependencies and prepare the app for execution.

Preview Your Web App

Run the necessary command to preview the web app directly through Cloud Shell.

Additional Resources

Your team is at the beginning stages of deploying a new Node.js web app on Cloud Run. You've been asked to run a quick test to ensure that the app does produce a viable, responsive web page. All you have is the name of a source repository and access to the Google Cloud Platform — but that's enough! You will retrieve a set of working files, run a start-up batch script, and preview a functional web page by the end of this lab.

Resources

GitHub repo: https://github.com/linuxacademy/content-launching-and-updating-a-website-using-cloud-run

Folder: viewing-a-website-on-google-cloud

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?