Contact Us 1-800-596-4880

Adding a Flex Gateway A2A Server Instance

Use Flex Gateway for any A2A servers that need a flexible and performant gateway that works with distributed and microservices environments and fits into your CI/CD environments.

The following diagram shows the server instance’s upstream and downstream configurations. In this configuration, the downstream service is the service making requests that are completed by the upstream server. These terms represent the direction of dependency, not the direction of information.

The server instance is deployed on a gateway between the upstream and downstream configuration

Add a New A2A Server Instance

  1. Navigate to Anypoint Platform > API Manager.

  2. In API Administration, click Add and select Protect A2A server.

  3. Select a Flex Gateway to deploy the server instance to from the list under Select a gateway.

    If you don’t see a Flex Gateway listed, or you see a Flex Gateway but its status is Not Running, See Install Flex Gateway and Register and Run in Connected Mode for more information.

  4. Click Next.

  5. Select an A2A from the following options:

    • Select A2A server from Exchange: If you have an A2A server shared with you through Exchange that you want to manage.

      • Select the server from the list under Select A2A server. You can search for a specific server if needed.

    • Register a new A2A server: If you want to create a new A2A server asset.

      • Enter a A2A server name for the new A2A server asset.

        Your server is published to in Exchange after it is protected.
  6. Click Next.

  7. Configure the downstream configuration settings:

    Managed Flex Gateway
    Field Name Description Required Notes

    Base path

    Specifies the URL prefix for all server paths, relative to the host root. It must start with a leading slash /.

    Yes

    Client provider

    Specifies a client provider for the Server.

    No

    Anypoint Platform acts as the client provider by default. To configure an external client provider, see Client Providers.

    Server label

    Specifies a label for the server instance.

    No

    If you have multiple managed instances of the same server, add a label to differentiate each instance from the others.

    Advanced Options

    Consumer endpoint

    Specifies a proxy application’s address for consumers to use for sending requests.

    No

    Self-Managed Flex Gateway (Connected Mode)
    Field Name Description Required Notes

    Protocol

    Specifies whether to use HTTP or HTTPS.

    Yes

    If you select HTTPS, specify a TLS context for inbound traffic.

    Inbound TLS

    TLS Context used for the inbound HTTPS traffic.

    No

    Configure a TLS Context for Flex Gateway before adding a TLS Context to your server.

    Port

    Specifies the number to use if the displayed port is incorrect.

    No

    Server instances can share the same port across the same target if the Base path is different for both instances.

    Base path

    Specifies the URL prefix for all server paths, relative to the host root. It must start with a leading slash /.

    Yes

    Server label

    Specifies a label for the server instance.

    No

    If you have multiple managed instances of the same server, add a label to differentiate each instance from the others.

    Advanced Options

    Consumer endpoint

    Specifies a proxy application’s address for consumers to use for sending requests.

    No

  8. Click Next.

  9. Configure one of the server upstream configurations:

    Field Name Description Required Notes

    A2A server upstream URL

    URL to access for the A2A server. This must end with a /.

    Yes

    For example, you can use the URL of your server asset in Exchange.

    Outbound TLS

    TLS Context used for the outbound traffic to the upstream service

    No

    Configure a TLS Context for Flex Gateway before adding a TLS Context to your server.

  10. Click Next.

  11. Review your selections and edit them if necessary.

  12. If you are ready to deploy, click Save & Deploy. Otherwise, you can select Save, to save the API instance and deploy it at a later time.