New Redis™ Deployment: Bring Your Own Cloud
Redis™* Deployment - Bring Your Own Cloud Setup
Estimated time to complete: 5 minutes
Create a Cloud Profile
All Bring Your Own Cloud plans must have a Cloud Profile created before you can create your deployment. This process takes only a couple minutes to set up, and you can create one for these cloud providers:
- Setup an AWS EC2 Cloud Profile
- Setup an Azure (ARM) Cloud Profile
- Setup a GCP Cloud Profile
- Setup an Oracle Cloud Infrastructure (OCI) Cloud Profile
- Setup a Akamai Linode Cloud Profile
- Setup a DigitalOcean Cloud Profile
Cloud Profiles
You must first create a Cloud Profile before creating a Redis™ BYOC deployment.
Create Your Redis™ BYOC Deployment
Let's get started creating a Redis™ deployment. After completing the Cloud Profile setup, click on the blue Create Cluster button in the pop-up window. You can also create a Bring Your Own Cloud Redis™ deployment from the Getting Started page, or on the Redis™ page accessible in the left-hand side menu.
Step 1. New Deployment
- Enter a name for your Redis™ deployment.
- Cloud Profile: Your newly created one should be selected by default.
- VM Size: Select your Redis™ deployment VM size, from Micro to X4XLarge (this will dynamically scale as you grow!).
- Version: Select the version of Redis™ that you'd like to use.
- Finally, check the 'Enable Cluster Mode' button to create a Redis™ Cluster mode deployment which automatically shards your data across multiple Redis™ nodes to increase your availability.
Review this information, then click the green Next button:
Step 2. Replication (optional)
In case you have not selected to enable Cluster mode, you will be presented with the Replication options next, in step 2.
You have the option to enable replication through master slave sets for your Redis™ deployment. Select the Yes checkbox, and then choose the number of Redis™ Slaves for your deployment. From there, you will be prompted to select Cloud Profile you'd like to use for your Redis™ Master, Slave and Sentinel:
Step 2. Shards (optional)
In case you have selected to enable Cluster mode, you will be presented with the Shards options next, in step 2.
You can choose the total number of shards (i.e. masters) your cluster should have, along with the number of replicas each master must have. You can also configure the data center location for each node of the cluster.
Step 3. Cache
You also have the option to use "Redis™ as Cache". Simply click the Yes checkbox and select your Data Eviction Policy from the dropdown menu:
Step 4. Persistence
Customize the persistence of your Redis™ deployment. You can enable periodic snapshots to the disk (RDB) based on time thresholds and key changes. You can also enable Append-Only File (AOF) to increase your data durability so the node writes all of the commands that change cache data to this file.
Lastly, set up a Backup Schedule for your Redis™ deployment to take a snapshot every 1-24 hours so your data is always accessible.
Step 5. Security
In this step, you can enable the encryption of your data disk so your data volumes are encrypted with LUKS (Linux Unified Key Setup).
Step 6. Firewall Rules
To protect your deployment from exposure on the Internet, we've created a simple way for you to configure a firewall for access to your Redis™ servers. Simply enter the IP CIDR that should be allowed access, and add them through the blue Add button to the right.
You can grab your current IP address from the bar at the top of the box.
Step 7. Summary
Review the details of your new Redis™ deployment, and click the green Create button to finalize your setup.
Step 8. Grab Your Credentials
Your deployment is now being created! This process takes 15-20 minutes, so while you wait, go to your new Redis™ deployment page, and click on the Show link next to Credentials to connect to your Redis™ account.
* Redis is a trademark of Redis Labs Ltd. Any rights therein are reserved to Redis Labs Ltd. Any use by ScaleGrid is for referential purposes only and does not indicate any sponsorship, endorsement or affiliation between Redis and ScaleGrid.
Updated over 1 year ago