content/operate/rc/databases/create-database/create-flex-database.md
Redis Flex databases have a tiered solid state drive (SSD) and RAM architecture. Using SSDs instead of RAM significantly reduces infrastructure costs, which means developers can build applications that require large datasets using the same Redis API.
Redis Flex databases are compatible with most existing Redis applications, except for applications that use Search and Query and Time Series.
Redis Flex is available on both Redis Cloud Essentials and Redis Cloud Pro.
The benefits associated with Redis Flex are dependent on the use case.
Redis Flex is ideal when your:
Redis Flex is not recommended for:
Redis Flex is not intended to be used for persistent storage.
When using Redis Flex, RAM storage holds:
All data is accessed through RAM. If a key or value in flash memory is accessed, it becomes part of the working set and is moved to RAM. This data is referred to as "hot data".
Inactive or infrequently accessed data is referred to as "warm data" and stored in flash memory. When more space is needed in RAM, warm keys and values are moved from RAM to flash storage.
{{< embed-md "rc-create-db-first-steps.md" >}}
Select the type of [subscription]({{< relref "/operate/rc/subscriptions" >}}) you need. For this guide, select Essentials - Flex.
{{<image filename="images/rc/create-database-subscription-flex.png" alt="The Subscription selection panel with Redis Flex selected.">}}
{{< note >}} This guide shows how to create a Redis Flex database on Redis Cloud Essentials.
If you'd rather create a Redis on RAM Essentials database, see [Create an Essentials database]({{< relref "/operate/rc/databases/create-database/create-essentials-database" >}}).
If you'd rather create a Pro database, see [Create a Pro database with a new subscription]({{< relref "/operate/rc/databases/create-database/create-pro-database-new" >}}).
If you already have a Pro subscription and want to add a database to it, see [Create a Pro database in an existing subscription]({{< relref "/operate/rc/databases/create-database/create-pro-database-existing" >}}). {{< /note >}}
After you select Essentials - Flex, the rest of the database details will appear.
{{<image filename="images/rc/create-database-flex-cloud-vendor.png" alt="The database name, cloud vendor, region, and type settings.">}}
Redis will generate a database name for you. If you want to change it, you can do so in the Database name field.
Choose a Region on Amazon Web Services for your database. See [Supported regions]({{< relref "/operate/rc/supported-regions" >}}) for a list of supported regions by cloud vendor.
Choose your High availability (replication) settings from the list.
Redis Cloud supports the following high availability settings with Redis Flex:
See [High availability]({{< relref "/operate/rc/databases/configuration/high-availability" >}}) for more information about these settings.
Choose your Data persistence settings from the list.
Redis Cloud supports the following Data persistence options:
An Append-Only File maintains a record (sometimes called a redo log or journal) of write operations. This allows the data to be restored by using the record to reconstruct the database up to the point of failure. For Essentials databases, Redis updates the Append-Only file every second.
A Snapshot is a copy of the in-memory database, taken at periodic intervals (one, six, or twelve hours). You can restore data to the snapshot's point in time.
See [Data persistence]({{< relref "/operate/rc/databases/configuration/data-persistence" >}}) for more information about these settings.
Select the Database version you want to use.
Select your desired memory limit.
{{<image filename="images/rc/subscription-new-flex-tiers.png" alt="Available Redis Flex plans." >}}
For a comparison of available plans, see [Redis Cloud Essentials plans]({{< relref "/operate/rc/subscriptions/view-essentials-subscription/essentials-plan-details" >}}).
Enter your payment details.
If you haven't previously entered a payment method, use the Add Credit Card button to add one.
{{<image filename="images/rc/icon-add.png" width="30px" alt="The Add credit card icon." >}}
{{< embed-md "rc-credit-card-add.md" >}}
Select Confirm & pay to create your database.
{{<image filename="images/rc/button-create-db-confirm-pay.png" width="140px" alt="Select Confirm & Pay to create your new database." >}}
When you create your database, there's a brief pause while your request is processed and then the Database details page appears.
To create a Redis Flex database on Redis Cloud Pro, [create a new Pro database with custom settings]({{< relref "/operate/rc/databases/create-database/create-pro-database-new#custom-settings" >}}).
In the Advanced options of the Setup tab, select Redis Flex.
{{<image filename="images/rc/pro-flex-on.png" width="75%" alt="The Redis Flex setting selected." >}}
Continue with the instructions to [create your database]({{< relref "/operate/rc/databases/create-database/create-pro-database-new#custom-settings" >}}).