Set Up and Deploy an API Proxy

In this tutorial you set up a proxy for an API. The proxy is an application serves to stop attacks aimed at the actual server. After creating the proxy, you can deploy the API to CloudHub if you have an account; otherwise, you download the proxy to deploy the proxy on premises.

To set up and deploy a proxy, follow the steps in this tutorial to perform the following tasks:

  • Navigate to the API version details page.

  • Create an endpoint for your API.

  • Deploy the proxy.

To navigate to the API version details page:

  1. Sign in to Anypoint Platform and click API Manager:


    The API administration page appears.

  2. Click the version number of an existing API, for example 1.0.development.

    create an endpoint

    The API version details page appears.

Create an Endpoint

  1. On the API version details page, click Configure Endpoint, under API Status.


    The Configure Endpoint dialog appears.

  2. Select the following options:

    • Endpoint with a proxy

    • Type: RAML

    • Implementation URI: Click Get from RAML

    • Configure proxy for Cloudhub: Check this option.

  3. Click Save.

Deploy the Proxy

On the API version details page, under API Status, click Deploy proxy. The Deploy proxy dialog appears. Because you configured the proxy to deploy to CloudHub, the application name, environment, and lastest API Gateway version appears by default. Click Deploy proxy. The Deploying to CloudHub status indicator shows the progress of the deployment.