---
schema_version: "1"
id: 00da7297ca9f33fc12f8d87109d1eee77a8bb7e0a218fdb35a0f529f15c8c299
title: Shared Storage Models
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/gateway/1.9/flex-architecture-shared-storage.md
canonical_url: https://docs.mulesoft.com/gateway/1.9/flex-architecture-shared-storage
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 42512090e66b94ae18972d5ac57ceb27950f60a805cc2966785fd822caff5254
description: MuleSoft Documentation Site
release: "1.9"
latest: false
---
---
product: Omni Gateway
version: 1.9
---

# Shared Storage Models

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

When configuring shared storage, MuleSoft recommends placing the Redis shared storage service as
close to Flex Gateway as possible.

If the Redis shared storage service is available locally in the same cluster or the same Virtual
Private Cloud (VPC), a mutual authentication Transport Layer Security (mTLS) connection is not
required to communicate with the shared storage.

To configure the connection between Flex Gateway and the shared storage service, see:

- [Configure Shared Storage in Connected Mode](https://docs.mulesoft.com/gateway/1.9/flex-conn-shared-storage-config)

- [Configure Shared Storage in Local Mode](https://docs.mulesoft.com/gateway/1.9/flex-local-shared-storage-config)

The following diagrams use Kubernetes terminology, but you can extend the architecture to other
technology stacks that have the appropriate network controls applied.

You can place the Redis shared storage within the same Kubernetes cluster as Flex Gateway or
instantiated within the same VPC as Flex Gateway:

## Shared Storage in the Same Cluster

![The redis shared storage is in the same cluster as the Flex Gateway replicas](/mulesoft/current/en-us/gateway/1.9/_images/redis-same-cluster.png)

## Shared Storage in the Same VPC

![The redis shared storage is in the same VPC as the Flex Gateway replicas but is not in the same cluster](/mulesoft/current/en-us/gateway/1.9/_images/redis-same-vpc.png)

## See Also

- [Configure Shared Storage in Connected Mode](https://docs.mulesoft.com/gateway/1.9/flex-conn-shared-storage-config)

- [Configure Shared Storage in Local Mode](https://docs.mulesoft.com/gateway/1.9/flex-local-shared-storage-config)

- [Configuring Flex Gateway Configuration Caching in Connected Mode](https://docs.mulesoft.com/gateway/1.9/flex-conn-replica-caching)
