Skip to main content
Contact Us 1-800-596-4880

Understanding Anypoint Flex Gateway: Overview and Introduction

5 min read

Please note that this is not a technical tutorial. This is intended as an introduction to the product. See below for a list of the technical tutorials to start using Flex Gateway.

We would like to thank Sue Han for their contribution to this developer tutorial.

In this tutorial, we will guide you through an overview of Anypoint Flex Gateway. We will see:

  • An overview of how Flex Gateway works
  • An example to configure it in connected mode
  • An overview to apply policies in API Manager

If you want to follow the steps to use Flex Gateway, please see the following tutorials.

Connected mode:

Local mode:



Anypoint Flex Gateway Overview

Anypoint Flex Gateway is MuleSoft’s new ultra-fast gateway designed to manage and secure APIs running anywhere. The gateway is built to deliver the performance required for the most demanding applications while providing enterprise-grade security and management.

Anypoint Flex Gateway in Anypoint Platform

You can configure the gateway in one of two ways: connected mode by using the Anypoint Platform web user interface, or you can configure the gateway locally to manage APIs in private environments.

Running in connected mode or locally

Configure Flex Gateway in Connected Mode

We will take a look at configuring Flex Gateway using the connected mode. You can deploy and run Flex Gateway as a Linux service, a Docker container, or as a Kubernetes ingress controller. All setup commands for deploying Flex Gateway are available in Runtime Manager. To install, simply copy and paste the commands into your terminal to quickly register, deploy, and start Flex Gateway.

Runtime Manager - Add a Flex Gateway

Once registered and configured, you can see the gateway listed as connected in Runtime Manager. Then, you can go to API Manager to manage and secure any API.

API Manager - Add Gateway

To add a new API to Flex Gateway from API Manager, you can either choose to import from Exchange or create a new API.

API Manager - Add API

Once you upload the specification, API Manager detects the back-end implementation URL and lets you make any changes to your gateway configuration.

API Manager - Endpoint

After you review the configuration, simply deploy it to the gateway.

API Manager - Review

All the traffic to the back-end is now routed through Flex Gateway. You’ll get detailed analytics and telemetry data for each API deployed.

API Manager - Metrics

Apply policies in API Manager

Through API Manager it’s easy to apply policies. There are several out-of-the-box policies for compliance, quality of service, security, and troubleshooting that are commonly used with APIs.

API Manager - All policies

Let’s apply a limiting-rate policy.

API Manager - Rate limit policy

Once added, Flex Gateway instantly applies the policy to the API with zero downtime or interruptions. As we make calls to the API, the rate-limiting message is returned after a couple of requests.

Postman response

Anypoint Flex Gateway can be deployed to manage APIs regardless of architectural patterns or type of environment. It truly is flexible for all use cases or architectures, inspiring our name: Anypoint Flex Gateway.

Next Steps

In this tutorial, we saw an overview of Anypoint Flex Gateway. We learned:

  • An overview of how Flex Gateway works
  • An example to configure it in connected mode
  • An overview to apply policies in API Manager

If you want to follow the steps to use Flex Gateway, please see the following tutorials.

Connected mode:

Local mode:

Click on the Previous button below to read the previous tutorial.

Previous

Try Anypoint Platform for free

Start your 30-day free trial of the #1 platform for integration, APIs, and automation. No credit card required. No software to install.

Try for free

anypoint product trial zigzag