Step 2: Deploy an API proxy

This page applies to Apigee, but not to Apigee hybrid.

View Apigee Edge documentation.

After creating a new proxy, you must deploy it so that you can try it out. This section describes how to deploy your new proxy using the Apigee Proxy Editor, the main tool for editing and managing proxies.

New Proxy Editor

To deploy an API proxy using the Proxy Editor:

  1. If you are using the Apigee UI in Cloud console: Select Proxy development > API Proxies.

    If you are using the classic Apigee UI: Select Develop > API Proxies and in the Proxies pane, select the environment for the proxy you want to deploy.

    The UI displays your new proxy in the proxies list. Note: If you don't see your proxy in the list, make sure that you selected the right organization, as described in Switching between your organizations.

  2. Select myproxy in the proxies list. The UI displays the Overview page for that proxy in the Proxy Editor.

    Overview tab in the Proxy Editor
  3. To deploy your changes, first click Deploy to display the Deploy dialog:

    Target endpoints selected in the Proxy Explorer.

  4. Enter the following:
    • Revision: The revision number of the proxy you want to deploy.
    • Environment: The environment where you want to deploy the proxy.
    • Service account (optional): A service account for the proxy.
  5. Click Deploy.

When the proxy is deployed, the Status column in the Deployments section displays a green icon to show that revision 1 of the proxy is deployed.

Deployed proxy status icon

Undeploy a proxy

If you need to undeploy the proxy, you can do so as follows: hover the cursor over the icon in the Status column and select Undeploy.

Undeploy a proxy.

Classic Proxy Editor

To deploy an API proxy using the classic Proxy Editor:

  1. In the Apigee UI, select Develop > API Proxies.

    Be sure the "test" environment is selected.

    The UI displays your new proxy in the proxies list:

    New proxy displayed in proxies list.

  2. Click on the "myproxy" proxy.

    The UI displays the API Proxies Overview tab for that proxy in the Proxy Editor.

    Notice that under Deployments, the Revision column shows "Not deployed".

  3. In the Revision column, expand the drop-down selector to choose the revision to deploy.

    The drop down list displays only "1" and "Undeploy":

  4. Select "1"—the revision that you want to deploy—from the drop down list.

    The UI prompts you to confirm the deployment:

    Confirmation dialog to deploy the proxy.

  5. Click Deploy.

    Apigee begins the process of deploying revision 1 of your new proxy.

The next step explains how to call the API proxy you just deployed.

Next step

1 2 (NEXT) Step 3: Test the API proxy 4 5