Conditional Routing of APIs Based on Feature Flag
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
加入 Qwiklabs 即可阅读本实验的剩余内容…以及更多精彩内容！
- 获取对“Google Cloud Console”的临时访问权限。
- 200 多项实验，从入门级实验到高级实验，应有尽有。
Create service account and service key with IAM permission
Load log entries to Stackdriver Logging