andThenYouDie

Automation, IT and more.

02 Apr 2020

Apigee First Steps

Apigee is the API Management solution provided by Google as a part of the GCP suite. You don’t know what is an API management ?

API management is the process of creating and publishing web application programming interfaces (APIs), enforcing their usage policies, controlling access, nurturing the subscriber community, collecting and analyzing usage statistics, and reporting on performance. API Management components provide mechanisms and tools to support developer and subscriber community. wikipedia1

So what Apigee can do for you (or any API Management software2)

Add security to your API

  • Add user management
  • Add TLS terminaison
  • Add hit limitation
  • Add Hight avaiability

“Clean” your API

  • transform your old SOAP call into Rest
  • transform the API answer from XML to Json (or other)
  • rewrite the endpoint name
  • add information to the answer

Track call’s

  • Show the potential bottlenecks
  • Show statistics
  • Monitor the call’s

Other

  • Centralize all your API endpoint
  • add cache
  • unifying your API call

Starting with Apigee

Prerequisites

We assume you already have an account on Apigee.

We also assume you have an API to play with, I’ll use VSPG (Yep, it simple if you know the API).

Start simple

We will start by creating a simple API Proxy. The goal is to forward the user call from the Apigee endpoint to our API endpoint.

Schema of API

When login, enter in the API Proxies menu API Proxies

And create a new API proxies and select Reverse Proxy Reverse Proxy

In this menu, add the information about your API proxy, such is name, base path and more important, the API URL you whant to target Reverse Proxy


  1. The above quote come from Wikipedia↩︎

  2. Some other API Management tools WSo2 - Nginx - Kong↩︎