menu
arrow_back

Conditional Routing of APIs Based on Feature Flag

Conditional Routing of APIs Based on Feature Flag

1 hour 30 minutes 7 Credits

GSP674

Google Cloud Self-Paced Labs

Overview

API proxies give you the full power of Apigee's API platform to secure API calls, throttle traffic, mediate messages, control error handling, cache things, build developer portals, document APIs, analyze API traffic data, make money on the use of your APIs, protect against bad bots, and more.

In this lab you will leverage Apigee to conditionally route traffic to different heterogeneous versions of the backend using route rules. This pattern can be used, for example, to transparently migrate application traffic from legacy backends to GCP backend systems.

What you'll do

  • Provide alternate flow logic for the cloud as a target

  • Flag the Developer App so that its calls are routed to the cloud

  • Use the Trace tool to confirm that you routed traffic to the correct backend

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

—/100

Create service account and service key with IAM permission

Run Step

/ 50

Load log entries to Stackdriver Logging

Run Step

/ 50