Introduction for App Developers

Page last updated:

This section introduces Redis for Pivotal Cloud Foundry (PCF) services for developers and links to more information.

For instructions on creating, binding to, and deleting an instance of the On-Demand, or Shared-VM plan, see Using Redis for PCF.

Redis for PCF Services

Redis for PCF v2.0 and later offers On-Demand and Shared-VM services.

  • On-Demand Service—Provides a dedicated VM running a Redis instance. The operator can configure up to three plans with different configurations, memory sizes, and quotas. App developers can provision an instance for any of the On-Demand plans offered and configure certain Redis settings.

  • Shared-VM Service—Provides support for a number of Redis instances running in a single VM. It is designed for testing and development purposes only, do not use the Shared-VM service in production environments. The Shared-VM instances are pre-provisioned by the operator with a fixed number of instances and memory size. App developers can then use one of these pre-provisioned instances.

Breaking Change: If you are using dedicated VMs then migrate to the on-demand service plan or back up data before upgrading to Redis for PCF v2.0 to prevent data loss in Redis deployments used as persistent storage.

If you are upgrading from Redis for PCF v1.14.3 or earlier, you must run the upgrade-all-service-instances errand after upgrading.

For more information about the plans, see the On-Demand Service Offering and the Shared-VM Service Offering.

Getting Started

Using Redis for PCF with Spring

Spring Cloud Connectors can connect to Redis for PCF. Spring Cloud Cloud Foundry connectors automatically connect to Redis for PCF.

To view an example Spring app demonstrating Redis as a cache with failover, see the Example Spring App in GitHub.


PCF Dev is a small footprint version of PCF that’s small enough to run on a local developer machine. For more information, see

Redis Example App

Sample ruby code that uses PCF can be found here


To learn more about Redis itself, see

Create a pull request or raise an issue on the source for this page in GitHub