Apigee Edge integration with Pivotal Cloud Foundry

With Apigee Edge integration with Pivotal Cloud Foundry (PCF), you can have access to full API management functionality between clients and your Cloud Foundry application. Through commands in the cf CLI, you can create a new Apigee Edge API proxy that is immediately ready to handle requests sent to an existing Cloud Foundry application. The presence of the proxy is seamless to your Cloud Foundry application.

Once the API proxy is created, you can enhance it with more functionality and services, including:

  • Data transformation, mediation, orchestration, policies for rate limits, and so on.
  • Security, such as authentication and RBAC.
  • Onboarding, including a developer portal to enable self-service.
  • Analytics for monitoring and business metrics analysis.
  • Monetization for rate plans, internationalization, and usage tracking.

The following video provides a technical overview of the integration.

How it works

PCF and other versions of Cloud Foundry use service brokers to connect hosted apps to services that run externally, such as load balancers and databases. The Apigee Edge service broker lets app developers create proxies that insert Apigee Edge API management features in front of their PCF-hosted apps.

You install the service broker by installing the Apigee Edge product tile in the Ops Manager Installation Dashboard (see Install and configure the Apigee service broker for more). Once the Apigee Edge service broker is installed, the service appears in the Cloud Foundry services marketplace, along with other services. This makes using Apigee on your Cloud Foundry apps straightforward and simple.

Developers can then use the Cloud Foundry CLI or PCF Apps Manager to create an instance of the Apigee Edge service and bind it to their apps. Creating a service instance creates an Apigee Edge proxy running in their development space, and binding it to an app sets up the proxy to handle API requests sent from clients.

The Cloud Foundry Gorouter forwards requests intended for your app to the proxy for management. After the request passes through the proxy, it proceeds to the Gorouter, which sends it on to your app.

The following diagram illustrates how request data flows between your Apigee Edge proxies and Cloud Foundry apps at run time.