Create Your First Proxy: Apigee API Platform Demo Episode 2

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] Deno here i'm with Apogee which is part of Google cloud this video is a PG 101 we'll learn how to create a proxy and begin serving traffic let's dive in after you've created your trial account sign in to Apogee comm click the API proxies icon and you'll see the proxies list now in your organization you may see one or more API proxies well we want to do is create a new one we'll do that with the wizard from within the wizard first select reverse proxy we'll name the proxy specify a base path I'll say more about that in a moment and specify the backend target this is what the proxy will connect to for this demonstration we'll use a public API that returns a JSON payload then we specify our security requirements for now we will have no security specify the virtual hosts on which this proxy will be active I prefer that TLS enabled P host specify the environment test for now done this proxy is now active ready to handle traffic let's click through to the proxy editor to see the overview of the proxy we just created we can see all the details we provided also we can see the URL where we can invoke this API proxy let's try it just click this URL and it opens in another browser tab and we can see the JSON returned by the proxy so the proxy is working let's flip back to the Appaji administrative UI clicking the develop tab gives us the chance to modify the proxy produced by the wizard I can change the deployment status of the proxy on deploy it at which point it won't be listening anymore I can change any of the choices I made previously and I can configure additional policies that will run for each inbound request before the request is proxy to the target or policies that run on the response after the responses received from the target but before it is sent to the original client Apogee proxies are smart and configurable let's add a rate limiting policy to this proxy a quota enforcement to do that I'll click the pre flow in the proxy endpoint and click the plus step icon here I see a list of the various policies Appaji Edge has available I want the quota policy let's configure it with a fixed rate limit of three requests for every minute to do that I'll just paste in some simple configuration then I'll save it and redeploy it and then flipping back to the other browser tab I can invoke it again now there's no change in the behavior of this API proxy it's still returning JSON but after I invoke that proxy more than three times I get an error that says the rate limit has been exceeded the Apogee proxy is rejecting the request because it's exceeding the limit rate limiting is easy flipping back to the Apogee administrative UI in the develop tab let me raise that limit to Oh a thousand requests per minute I can do it just like that but surely there are other options for the quota policy how do I learn about them by selecting the policy in the API proxy editor I can get a hyperlink that takes me to the documentation for that policy here I can learn everything I need to know about how to use the quota policy super helpful if you have questions that are not answered by the documentation you can visit the community find the link to the community in the Apogee administrative UI search there or ask a new question friendly Apogee experts like me are always there willing to help you out in this video you learn the basics of Apogee edge how to create an API proxy and how to add a policy to a proxy how to find documentation on a policy and how to navigate to the Apogee community in the next video we'll cover how to add API key verification to an existing proxy till then I wish you strong API mojo [Music]
Info
Channel: Apigee
Views: 50,419
Rating: 4.8518519 out of 5
Keywords: api, Apigee, API management, API proxy, Google Cloud
Id: RGlUSQAS59E
Channel Id: undefined
Length: 4min 51sec (291 seconds)
Published: Wed Apr 25 2018
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.