Deploying and Managing an App Engine Solution in Google Cloud

30 minutes
  • 2 Learning Objectives

About this Hands-on Lab

Your team wants you to use a python application to deploy through Google Cloud App Engine. From there, they would like for you to deliver 2 different versions to the end-users to A/B test to see which version does best!

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Deploy the App Engine Service
  1. Launch GCP Cloud Shell.
  2. Initialize App Engine.
  3. Set the region to us-central.
  4. Clone the GitHub repo.
  5. Deploy the application.
  6. Verify the application reaches the "Hello World!" test page.
Create 2 Versions of the Application
  1. Open Cloud Shell to access the IDE.
  2. Find the python-docs-samples > appengine > standard_python3 > hello_world/ file.
  3. On line 28, replace "Hello World!" text with "Hello, Cloud Gurus!"
  4. Save the file.
  5. Head back to the Cloud Shell terminal.
  6. Deploy the second version.
  7. Navigate to App Engine.
  8. Split traffic and have each version serve 50% traffic to each.
  9. Test each version. You should be able to see both versions when using each ID.

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?