image
How to Configure Traffic Splitting

Contents

Deploying an Application to Google App Engine
1
Introduction
PREVIEW5m 26s
2
App Versioning
PREVIEW1m 6s
Start course
Difficulty
Beginner
Duration
10m
Students
34
Ratings
5/5
Description

This lesson is designed to teach you how to deploy an application to Google App Engine. You will learn how to deploy a new app, how to create multiple versions of an app, and how to split your user traffic between multiple app versions.

Learning Objectives

  • Deploy an application to App Engine
  • Create multiple versions of an application
  • Split App Engine traffic between multiple versions

Intended Audience

  • Cloud Architects
  • System Administrators
  • GCP Developers
  • Anyone preparing for a Google Cloud certification

Prerequisites

  • Access to a GCP account
Transcript

Welcome back. In the last lesson, we talked a little bit about traffic splitting. What I want to do here is show you how to do it via the console. It's actually rather easy to do, but it makes sense to demonstrate how it's done. 

As you can see here on your screen, I'm in the App Engine dashboard. What I'm going to do here is click over here on Versions. Now what this shows is two versions of my app that I deployed earlier. If you notice, only one of these apps is receiving all of the traffic. 

To split traffic across both of these versions, I just need to click Split Traffic up here at the top, and then from here, I can choose my split option. For this exercise, I'm going to choose Random. Clicking add version allows me to add my second version of the app to the split, and then from here, I can configure the split percentages. 

With my split configured, I just have to click Save to save my split configuration. Now what this configuration does is randomly split traffic evenly across both versions of my application, and if we go back here, we can see the 50-50 split. 

So that, in a nutshell, is how you configure traffic splitting across multiple versions of an application.

 

About the Author
Students
89859
Courses
89
Learning Paths
56

Tom is a 25+ year veteran of the IT industry, having worked in environments as large as 40k seats and as small as 50 seats. Throughout the course of a long an interesting career, he has built an in-depth skillset that spans numerous IT disciplines. Tom has designed and architected small, large, and global IT solutions.

In addition to the Cloud Platform and Infrastructure MCSE certification, Tom also carries several other Microsoft certifications. His ability to see things from a strategic perspective allows Tom to architect solutions that closely align with business needs.

In his spare time, Tom enjoys camping, fishing, and playing poker.