Getting started with Redis for Rackspace Dedicated Platform

This section explains how to get started with the Redis offering for the Rackspace Dedicated Platform.

To create a Redis instance for the Rackspace Dedicated Cloud, you must use the ObjectRocket Dedicated Platform. You can access the ObjectRocket Dedicated Platform by visiting the URL directly, https://app.objectrocket.com, or by using single sign-on (SSO) from the Mission Control user interface.

Creating a Redis instance with SSO

  1. Log in to Mission Control.

  2. Select Create Instance.

  3. Select Redis from the Select Your Service section.

  4. Select Rackspace from the Cloud Provider section.

    This link redirects you to https://app.objectrocket.com.

  5. Select Instances.

  6. Select Create Instance.

  7. Enter a name for your Redis instance.

  8. Select Redis from the Service section.

    This Redis service is currently only available with high availability.

    _images/createredis.png
  9. Select Configuration.

  10. Select a version from the drop-down menu.

    ObjectRocket offers Redis version 3.

  11. Select a zone from the drop-down menu.

    Zones are Rackspace and AWS Direct Connect zones. They are labeled by airport codes in that region. For more information about the ObjectRocket data-centers, visit FAQ or our zone map.

  12. Select a plan size.

    For more details, visit plans and pricing.

    _images/createredis_2.png
  13. Select ACLs.

    Access Control Lists (ACLs) limit who connects to your instance.

    Note

    ObjectRocket denies access by default so you need to add any appropriate ACLs for servers that are connecting to ObjectRocket.

  14. Enter an IP address or CIDR block and a description. You can also choose to add your ACLs later.

    Only the IP address is mandatory, but descriptions can help when maintaining larger lists.

    Select Add ACL to include more entries.

    _images/addacl_mongo.png
  15. Select Add Credit Card and enter your payment information.

  16. Select Create Instance to spin up your Redis instance.

Connecting to your Redis instance

After creating a database with user authentication and adding an ACL, you’re ready to test basic connectivity in a terminal session with redis-cli:

$ redis-cli -h '<hostname>' -p '<port>' -a '<password>'
hostname:port> set my_key my_value
OK
hostname:port> get my_key
"my_value"

You can also connect with netcat/telnet:

$ nc '<hostname>' '<port>'
auth <password>
+OK
set my_key my_value
+OK
get my_key
$8
my_value

If you see similar results, you’re connected to the instance and can perform database operations.

If you have any issues or just need guidance, contact the Support team.