What you'll learn: This page explains how the 11-lesson Apigee course works: who it is for, what you need first, what each lesson lets you do, the vocabulary used throughout, and how to get a real Apigee environment to practise in. By the end of the course you can design, build, secure, deploy and operate APIs on Apigee, not just recognise the words.
APIs are how a business hands its capabilities to apps, partners and other teams. Doing that safely means answering the same questions for every API: who is calling, how much may they call, what do they see, what happens when the backend is slow, and who notices when something breaks. Apigee is Google Cloud's platform for answering those questions in one place, in front of your backends, without rewriting the backends.
This course takes you from the first concept to a working, secured, deployed API with an automated release pipeline. The target platform is Apigee on Google Cloud (older pages call it Apigee X). Where Apigee hybrid or the older Apigee Edge differ, the lessons say so, and only where the official documentation supports the statement.
The core idea
Learning an API platform is like learning to drive. Reading the highway code is necessary but it does not make you a driver. The course is therefore built as a ladder with three rungs repeated in every lesson:
- A mental model, so you know what the pieces are and why they exist.
- Real configuration, valid XML, shell commands and API calls you can run in your own environment.
- Production judgement: trade-offs, failure modes and the mistakes that cost teams time.
Each lesson ends with exercises at three levels (about 30 minutes, about 2 hours, about half a day) so you can stop at "I understand" or continue to "I can do it under pressure".
Who this is for
- API developers who build and maintain proxies and want to stop guessing how flows, conditions and policies behave.
- Platform and DevOps engineers who own environments, deployment and pipelines, and need reliable promotion and rollback.
- Architects and tech leads who decide whether Apigee is the right layer, how to carve environments and hostnames, and what to centralise.
- Backend engineers who are about to have an Apigee proxy placed in front of their service and want to know what it will do to their traffic.
It is not aimed at readers who want a marketing tour. Everything is practical, and the exercises assume you will do them.
Prerequisites
You do not need prior Apigee experience. You do need three kinds of background:
| Area | What you should be comfortable with | Quick self-check |
|---|---|---|
| HTTP and REST | Methods, status codes, headers, query parameters, paths, idempotency | Can you explain the difference between a 401 and a 403, and what makes a PUT idempotent? |
| JSON and XML | Reading and writing both; Apigee policies are XML documents, payloads are often JSON | Can you read a small XML file and say what each element does? |
| A little cloud and CLI | A Google Cloud account and project, a terminal, curl, environment variables, reading JSON responses |
Can you call an API with curl -H and a bearer token and read the status line? |
Helpful but optional: basic OAuth 2.0 ideas (tokens, scopes), Git, and a CI tool such as GitHub Actions. The lessons introduce each when they need it. If HTTP API design feels shaky, read API design in the System Design course first.
The big picture
Apigee sits between the callers of your APIs and your backends. Callers hit a stable, public contract. Apigee applies policies on the way in and out, then forwards to the backend, and records analytics about the call.
How to read it: security, traffic control and message translation are applied once, at the gateway, instead of being rebuilt in every service. Analytics collection is asynchronous, so it does not slow the call.
The 11-lesson roadmap
The lessons are ordered so that each one only uses ideas from earlier ones. The diagram groups them into stages.
How to read it: the stages move from understanding, to building something protected, to running it reliably, to the advanced topics and a capstone that exercises everything.
| # | Lesson | After it, you can |
|---|---|---|
| 1 | This overview | Explain the course, set up a practice environment and use the glossary below. |
| 2 | Apigee Fundamentals: Architecture and Request Flow | Draw the control plane and runtime plane, the organization, environment, environment group and instance hierarchy, and trace a request through proxy and target flows. |
| 3 | API Design, Products and Developer Apps in Apigee | Design a clean REST contract, package proxies into API products, and onboard a developer app with credentials. |
| 4 | Building Apigee API Proxies | Build a proxy with endpoints, flows, conditions and policies, and route to targets. |
| 5 | Securing APIs in Apigee | Protect an API with keys, OAuth, JWT verification, mTLS and threat protection, and know which to choose. |
| 6 | Traffic Management in Apigee | Apply quotas, spike arrest and caching so a backend survives abusive or bursty callers. |
| 7 | Fault Handling, Debugging and Monitoring | Return clear errors, debug a failing call with a session, and read analytics and monitoring to find problems. |
| 8 | Apigee Environments, Revisions and Deployment | Promote revisions across environments safely and roll back when a release misbehaves. |
| 9 | Apigee CI/CD: Lint, Test and Promote Proxies | Automate checks, tests and promotion so proxies ship from version control. |
| 10 | Apigee as an AI Gateway and Best Practices | Put Apigee in front of LLM backends and apply the consolidated do and do-not list. |
| 11 | Capstone: Design, Build and Ship an Orders API | Combine every skill to deliver a secured, observable, pipeline-deployed Orders API. |
A suggested pace, as an assumption rather than a requirement: one lesson per evening for the reading and the starter exercise, and one weekend block for each intermediate or advanced exercise. Do not skip the hands-on parts; the platform only makes sense once you have seen a policy fail in the debug view.
The sequence of one onboarding
Before the vocabulary, here is the most common story the course keeps returning to: an outside developer gets access to an API. The sequence shows who does what.
How to read it: configuration work goes to the control plane. Live calls go to the runtime and never wait on the control plane. Lessons 3, 4, 5 and 6 each take one step of this story apart.
Glossary of terms used throughout
Definitions follow Apigee's own documentation, paraphrased. Keep this table open during the first few lessons.
| Term | Meaning |
|---|---|
| Organization | The top-level container for everything in one Apigee account (proxies, products, apps, developers). It maps to one Google Cloud project and is not a Google Cloud organization. |
| Environment | An isolated space inside an organization where API proxies are deployed. A proxy must be deployed to an environment before clients can call it. |
| Environment group | A set of environments that share one or more hostnames. The hostname becomes part of the URL clients call. |
| Instance (runtime instance) | A deployment of the Apigee runtime in a Google Cloud region. At most one per region. Environments attach to it. |
| Control plane | The side of Apigee that handles configuration, management and analytics. (The Apigee hybrid docs call it the management plane.) |
| Runtime plane | The infrastructure that processes all API traffic. |
| API proxy | A managed facade in front of a backend. Clients call it instead of the backend, and it runs policies on requests and responses. |
| Proxy endpoint | The client-facing half of a proxy: base path and connection settings. |
| Target endpoint | The backend-facing half: where and how Apigee calls the backend. |
| Base path | The root URL path of a proxy (for example /orders-api/v1). |
| Flow | An ordered stage in request or response processing: PreFlow, conditional flows, PostFlow, and on the proxy endpoint a PostClientFlow. |
| Policy | A reusable, single-purpose processing step, configured in XML and attached to a flow as a step. |
| Flow variable | A named value holding the state of one transaction (for example request.verb or proxy.pathsuffix). |
| RouteRule | The rule that chooses which target (if any) a request goes to. |
| Shared flow | A reusable group of policies that several proxies can call with a FlowCallout policy or attach with a flow hook. |
| Flow hook | A place where a shared flow is attached so it runs before or after a proxy or target request or response. |
| Revision | A numbered snapshot of a proxy's configuration. Revision numbers are internal, unrelated to your public API version. |
| Deployment | A revision deployed to an environment. Deploying makes the proxy reachable. |
| API product | A bundle of API operations (proxy plus resource paths, optionally methods and quota) offered to developers. Keys are issued for products. |
| Developer app | A registration that lets a developer use API products. Apigee generates a consumer key for it. |
| Consumer key | The credential Apigee generates for an app. Sent as an API key or exchanged for an OAuth token. |
| Quota and spike arrest | Traffic-management policies: count calls over a period, and smooth sudden bursts. |
| Target server | A named backend definition that proxies reference so URLs are not hard-coded. |
| KVM | Key value map: a collection of key and value strings, optionally encrypted. |
| Northbound and southbound | Traffic from clients to Apigee, and from Apigee to your backends. |
| Apigee hybrid | Google-hosted management plane plus a runtime plane you run on your own Kubernetes platform. |
| Evaluation (eval) organization | A free, time-limited organization for learning, deleted after 60 days. |
How to get hands-on practice
The platform only makes sense when you can break it. Here is what the official documentation says about getting an environment, verified for this lesson.
Provisioning options. You choose an evaluation (eval) organization or a paid organization. Paid organizations use either Subscription or Pay-as-you-go pricing. Provisioning can be done in the Google Cloud console or from the command line, and Terraform is supported. The general prerequisites are a Google Cloud account with active billing and a Google Cloud project. Some choices cannot be changed once you submit them (the hosting region and encryption key), so read the provisioning page first.
The evaluation organization is the right place to learn. Facts from the comparison and wizard pages:
- It is free and lasts 60 days. You get a notification at day 30, and the organization is deleted at day 60. You cannot extend it or convert it to a paid organization.
- It has one runtime instance and two environments at most, has no SLA, and is not suitable for performance or load tests.
- It falls under Google's Pre-GA Offerings terms. Do not use it for production workloads or sensitive data. It is also not updated as regularly with new features and security patches as a paid organization.
- If the Google Cloud project is already linked to a paid Apigee account, you cannot create an eval organization in it.
The wizard path. In the Google Cloud console, open the "Set up Apigee Evaluation" page and select your project. The wizard enables the Apigee API, Compute Engine API and Service Networking API if needed, asks for an authorized network with a free /22 address range, then asks for an analytics region and runtime location and provisions the organization, which can take up to 45 minutes. Finally you choose access routing: external (a DNS name you own, or a wildcard DNS service for testing only) or internal (you call it from a VM inside your network). You need the Apigee Organization Admin role or equivalent permissions. The wizard creates an instance named eval-instance, an environment eval, an environment group eval-group, and a test proxy hello-world. Command-line options exist with and without VPC peering, and the page notes that the organization name and ID equal your project ID.
Your first proxy in two minutes. In the console go to Apigee, Proxy development, API proxies, and create a proxy from the "Reverse proxy (Most common)" template, name it myproxy, and set the target to https://mocktarget.apigee.net, a hosted mock service that needs no API key. Deploy it to your environment and call it through your environment group's hostname.
HOST=your-envgroup-hostname.example.com # the hostname on your environment group
curl -i "https://$HOST/myproxy" # the proxy created from the template is named myproxy
The options compared, so you can choose without guessing:
| Option | Cost model | Best for | Watch out for |
|---|---|---|---|
| Evaluation organization | Free, 60 days | This course, experiments | Deleted at day 60, no SLA, no load tests, no production data |
| Pay-as-you-go organization | Billed by usage | A longer-lived lab or a small real workload | Billing starts; check current pricing yourself |
| Subscription organization | Contract-based | Production at an organization level | A commercial commitment |
| Apigee hybrid | Runtime on your own Kubernetes | Data residency or on-premises requirements | You operate the runtime plane |
How to read it: for this course the left branch is the answer. Hybrid and paid organizations are production decisions, and the lessons only point at them where the documentation does.
Your lab at a glance
How to read it: you call the proxy from your laptop, configure it in the console or through the API, and keep the proxy files in version control, which lesson 9 turns into a pipeline.
Three ways learners use this course
1. The proxy developer. Reads lessons 2 to 7 closely, builds a proxy with conditional flows, a verification policy and a fault rule, and keeps the debug view open. Outcome: stops copying policy XML without understanding the order it runs in.
2. The platform engineer. Concentrates on lessons 2, 8 and 9: environments and hostnames, revision promotion and rollback, and a pipeline that lints, tests and deploys. Outcome: a release that no one has to perform by hand in the console.
3. The architect. Reads lessons 2, 3, 5, 6 and 10 for design decisions: where to draw environment groups, how to package products, what security to apply at the gateway versus the service, and when to use Apigee as an AI gateway. Outcome: a decision record that survives a design review.
All three finish with the capstone so their skills meet in one working API.
What an expert can do at the end
By the end of lesson 11 you should be able to do all of the following without looking up the basics:
- Design the organization, environment, environment group and hostname layout for an enterprise and defend it.
- Translate a REST contract into a proxy with correct flows, route rules and clear error responses.
- Package proxies into products with scoped operations, quotas and approval rules, and onboard developers and apps.
- Select and implement the right security mechanism (keys, OAuth, JWT, mTLS) and add threat protection.
- Protect a backend with quotas, spike arrest and caching, and explain what each one cannot do.
- Debug a failing call from a trace, read analytics, and write a runbook for the alerts that matter.
- Promote revisions through environments with a pipeline, and roll back quickly.
- Evaluate Apigee against a lighter gateway or a service mesh and produce a justified recommendation.
- Describe how Apigee can sit in front of LLM backends and what controls belong there.
In practice: a platform team's first quarter with Apigee
A realistic scenario, not a case history. This is a composite example built from common production patterns. It does not describe any specific company, and every number in it is an illustrative assumption.
The situation
A four-person platform team (assumed) has been asked to put three internal and partner APIs behind Apigee within a quarter. Two engineers know the backend services well and have never used an API gateway. One has used a lightweight gateway. Nobody has designed environments or a pipeline. The risk is not that the team cannot learn the XML; it is that they build ten proxies by copying one example and then cannot explain why a request returns a 500.
Starting architecture
How to read it: authentication and limits are inconsistent, and there is no shared view of usage.
What changes
Follow the course in order, applying each lesson to one real API before the next:
- Week 1 (lessons 1 and 2). Provision an evaluation organization. Draw the intended environment and hostname layout on paper before creating anything. Deploy a reverse proxy to the mock target and call it.
- Week 2 (lessons 3 and 4). Pick the least critical API. Write its contract, build the proxy against a stub of the backend, and create one product and one test app.
- Weeks 3 and 4 (lessons 5, 6 and 7). Add key or token verification, a quota and a spike arrest, and a fault rule that returns a consistent error body. Break things on purpose and watch the debug view.
- Weeks 5 and 6 (lessons 8 and 9). Move the proxy bundle into Git, add a lint and test stage, and promote through two environments by pipeline instead of by hand.
- Weeks 7 to 10 (lessons 10 and 11). Repeat for the other two APIs, then take the capstone as the dry run for the production design review.
Result
At the end of the quarter the team has one API running through a repeatable pipeline, two more at different stages, and a written environment and hostname design that new members can read. Qualitatively, they can answer "why did that request fail" from a debug session instead of guessing, and the decision to keep business rules in the services rather than the proxies is written down. The first API took the longest; the later ones reuse shared flows and conventions the team now owns.
Architect's notes
- Start the lab before you start the opinions. Teams that decide environment layouts without having deployed a proxy usually redo them. Provision an evaluation organization first.
- Do not treat the evaluation organization as a pilot. It is deleted at day 60 and carries pre-GA terms. Export what you want to keep as proxy bundles in Git, which lesson 9 relies on.
- Learn the debug view early. Almost every confusing behaviour (flow order, variable scope, why a condition did not match) becomes clear in a debug session.
- Decide the support model. Who owns the gateway: the platform team, or each API team? Write it down before the first incident.
- Check the docs for the platform you run. Apigee, Apigee hybrid and Apigee Edge share concepts but differ in features and limits. When a lesson states a limit or a behaviour, confirm it against the page for your deployment.
- Mind cost and time. Paid organizations bill by usage or by contract. This course quotes no prices; read the current pricing page for your region.
Common mistakes
- Skipping the prerequisites. Learners who cannot read HTTP status codes or XML spend lesson 4 on the wrong problem. Do the self-check table above.
- Reading without a running environment. Policies and flows are order-dependent. Without a debug session the explanations stay abstract. Provision an evaluation organization on day one.
- Using the evaluation organization for real data. It is not for production workloads or sensitive data. Use mock data.
- Starting in a project that already has a paid Apigee organization. You cannot create an eval organization there. Use a new project.
- Copying XML without learning the flow order. It works until a condition or variable scope changes. Draw the flow order from lesson 2 beside every proxy you build.
- Doing lessons out of order. Security, quotas and deployment all assume the vocabulary from lessons 2 to 4. Follow the roadmap, then jump around.
- Forgetting the lab expires. Put a day-50 reminder in the calendar so nothing you care about lives only in the evaluation organization.
Key takeaways
- The course has 11 lessons: overview, architecture, API design and products, proxies, security, traffic, faults and observability, deployment, CI/CD, AI gateway, and a capstone.
- Every lesson gives a mental model, real configuration and production judgement, plus exercises at three levels.
- You need HTTP and REST fluency, JSON and XML reading skills, and basic cloud and CLI comfort. No prior Apigee knowledge is required.
- Apigee has a control plane for configuration and a runtime plane that processes all traffic.
- The glossary terms (organization, environment, environment group, instance, proxy, flow, policy, product, app, revision, shared flow) carry the rest of the course.
- An evaluation organization is free for 60 days, has one instance and no SLA, and is for learning only.
- The wizard provisions an organization with an
evalenvironment,eval-groupand ahello-worldproxy, and can take up to 45 minutes. - Finish with the capstone: an expert can design, build, secure, deploy and operate an API on Apigee.
Practice exercises
Starter (about 30 min): Run the three self-check questions in the prerequisites table and note any you hesitated on. Read the glossary and, from memory, write one sentence for each of: organization, environment, environment group, instance, proxy, product, developer app. Then draw the onboarding sequence from this page without looking.
Intermediate (about 2 h): Provision an evaluation organization with the wizard (or confirm you cannot because the project already has a paid Apigee organization, and pick another project). Open the hello-world proxy, call it with curl through your environment group's hostname, and create a second proxy from the Reverse proxy template pointing at https://mocktarget.apigee.net. Record the hostname, the environment and group names, and the date the organization will be deleted.
Advanced (half a day): Write a personal study plan for this course: dates for each lesson, the API you will use for hands-on work (use the Orders API from lesson 11 as a default), and the evidence that will show you finished each stage (a deployed revision, a passing pipeline run, a debug trace). Add a one-page note comparing the evaluation, pay-as-you-go, subscription and hybrid options for a hypothetical employer and recommend one with reasons.
Related reading
- Apigee Fundamentals: Architecture and Request Flow — lesson 2, the next page.
- API Design, Products and Developer Apps in Apigee — lesson 3.
- Capstone: Design, Build and Ship an Orders API — lesson 11, where everything meets.
- API gateway and service mesh — the vendor-neutral view of gateways.
- Rate limiting — the algorithms behind Apigee's quota and spike controls.
- API design — REST contract basics before you build proxies.
- Apigee as an AI gateway for LLM proxying — an article on the lesson 10 topic.