This topic explains how to enable service-gateway access.
Service-gateway access enables a VMware Tanzu RabbitMQ for Tanzu Application Service on-demand service instance to connect to external components that are not on the same foundation as the service instance.
For a more detailed overview, see Service-Gateway Access.
To enable service-gateway access for an on-demand offering:
Caution VMware recommends that you configure Transport Layer Security (TLS) alongside service-gateway access to prevent man-in-the-middle attacks. For instructions on how to configure TLS, see Configure Security.
TCP routing is deactivated by default. To enable TCP routing:
1024
for a single port or 1024–1123
for a range of ports.From the status tab of the TAS for VMs tile, record the cloud identity (CID) of the TCP router.
To configure the load balancer:
Configure a distinct external port range that does not overlap with any of the following:
For example, if your TCP routing port range is 1024-1123
, then your load balancer port range for service gateway must not overlap 1024-1123
.
Note Each Tanzu RabbitMQ for Tanzu Application Service service instance using service-gateway access requires a unique port. Ensure that the port range configured above has enough capacity to accommodate all the service instances that you need. The start port and the end port are both inclusive.
To create a DNS record and prepare to map it:
To configure a service-gateway-enabled plan:
In the Global Settings for On-Demand Plans pane in the RMQ tile, fill in the following fields:
Caution If you already have service instances using service-gateway, any modifications to this range must include ports that are already assigned to these service instances. If the port range does not contain the ports already assigned to service instances, the upgrades for the service instances fail. For example, if service-gateway access has the port range 1000-1005
, and there are service instances that correspond to ports 1000
, 1001
, and 1002
, then the new port range must have ports 1000
, 1001
, and 1002
.
Navigate to the service plan that you want to use and select the Service-Gateway Access checkbox.
Note VMware recommends that you change the name or the description of the plan to indicate that service-gateway access is enabled for that plan.
Note If service-gateway access is deactivated and then re-activated, app developers must create new service keys to obtain a new set of credentials for service-gateway access.
Go back to Ops Manager Installation Dashboard > Review Pending Changes.
Click Apply Changes to apply the changes to the Tanzu RabbitMQ for Tanzu Application Service tile.
Note If service-gateway access is deactivated and then re-enabled, app developers must create new service keys to obtain a new set of credentials for service-gateway access.
To deactivate service-gateway access:
Navigate to the service plan that you want to deactivate service-gateway access for and clear the Service-Gateway Access checkbox.
Note VMware recommends that you change the name or the description of the plan to indicate that service-gateway access is deactivated for that plan.
Go back to Ops Manager Installation Dashboard > Review Pending Changes.
Click Apply Changes to apply the changes to the Tanzu RabbitMQ for Tanzu Application Service tile.
For instructions for app developers, see Create a Service Instance with Service-Gateway Access.