Tanzu for Valkey on Cloud Foundry 4.0

Service-Gateway access for VMware Tanzu Valkey on Cloud Foundry

Last Updated February 19, 2025

Service-gateway access enables a VMware Tanzu for Valkey on Cloud Foundry on-demand service instance to connect to external components that are not on the same foundation as the service instance. These components might be on another foundation or hosted outside of the foundation.

For related procedures, see:

There are multiple use cases for service-gateway access.

For example:

  • Accessing Valkey from apps deployed to Tanzu Platform for Cloud Foundry (Tanzu Platform for CF) in a different foundation.
  • Using Valkey as a service for apps that are not deployed to Tanzu Platform for CF.

Architecture

Service Gateway access to Tanzu for Valkey on Cloud Foundry instances leverages the TCP Router in Tanzu Platform for CF.

Any Valkey requests that an app makes are forwarded through DNS to a load balancer that can route traffic from outside to inside the foundation. This load balancer (the TCP Router) opens a range of ports that are reserved for any Tanzu Platform for CF application traffic. When an app developer creates a service instance on a plan with service-gateway access enabled, a port from such a range is provisioned for that service instance. The load balancer then forwards the requests for this Tanzu for Valkey on Cloud Foundry service instance to the TCP router.

Valkey requests from an application routed to the Valkey service instance in the Tanzu Platform for Cloud Foundry foundation.