Cloud DB for Redis scenarios
    • PDF

    Cloud DB for Redis scenarios

    • PDF

    Article Summary

    Available in Classic and VPC

    NAVER Cloud Platform's Cloud DB for Redis easily and quickly builds Redis Server in cloud environments, and operates and manages them to enable stable cache service. The full sequence for utilizing NAVER Cloud Platform's Cloud DB for Redis is as follows:

    clouddbforredis-procedure_01_en.png

    The descriptions for each step are as follows.

    1. Create application server
    2. Set access environment
    3. Test application server connection
    4. Create Redis Server (VPC)
    4. Create Redis Server (Classic)
    5. Set ACG
    6. Test Redis server connection

    1. Create application server

    First, create an application server (app server) that will communicate with Redis Server to be created from Cloud DB for Redis on the NAVER Cloud Platform console. Currently, Cloud DB for Redis is only accessible within NAVER Cloud Platform. Thus, the application server must also reside in NAVER Cloud Platform. The application server (app server) can be created from the Services > Compute > Server menu on the NAVER Cloud Platform console.
    You can refer to the following guides:

    2. Set access environment

    Once you've completed creating an application server, set up an access environment so that users can access the application server. You have 2 ways of setting the access environment, which are described as follows:

    • Set up access to a private domain using the public IP or port forwarding of NAVER Cloud Platform
    • Set up external access using SSL VPN of NAVER Cloud Platform

    For access settings using public IP or port forwarding, you need to get the admin (root) password required for the server access, using the Get admin password feature. For access settings using SSL VPN, you can access Redis Server by installing the SSL VPN client on your personal PC. For better security, it is recommended to use SSL VPN product for administrative purposes.
    You can refer to the following guides:

    3. Test application server connection

    Once you complete setting up the access environment, use the terminal program to test if you can connect to the application server properly.
    You can refer to the following guides:

    4. Create Redis Server (VPC)

    After you complete testing the application server connection, create a Redis Server that will communicate with the application server. The Redis Server can be created from the Services > Database > Cloud DB for Redis menu on the NAVER Cloud Platform console without a separate service subscription request.
    You can refer to the following guides:

    Server redundancy configuration

    To prevent data loss and minimize service impact in occurrence of failures, you can set server redundancy. Cloud DB for Redis consists of master node and slave node, and provides a feature for automatic failover to the slave node in case of failure in the master node. The master node, where the failure occurred, is converted to the slave node after troubleshooting and re-enters the cluster.

    clouddbforredis-overview_01_vpc_ko

    To configure server redundancy, click and select Support high availability when creating the Redis Server.

    Manage monitoring and event

    For Redis servers that have been created and are in operation, you can check monitoring for server performance and operating system status as well as occurred events, and manage them for stable cache service from NAVER Cloud Platform console. You can also utilize NAVER Cloud Platform's Cloud Insight to configure event and notification(alarm) settings.

    Caution

    Additional fees apply when you request a subscription to Cloud Insight. For an introduction on Cloud Insight and details about its pricing plans, see the Services > Management & Governance > Cloud Insight menu in NAVER Cloud Platform portal.

    You can refer to the following guides:

    Manage management and administration permissions

    You can create sub accounts in addition to the main user account and set various management and administration permissions for Cloud DB for Redis. You can design permissions by utilizing the System Managed and User Created policies in NAVER Cloud Platform's Sub Account.

    Note

    Sub Account is a free service provided upon subscription request without additional charge. For a detailed description of Sub Account and its pricing plans, see the Services > Management & Governance > Sub Account menu in NAVER Cloud Platform portal.

    You can refer to the following guides:

    4. Create Redis Server (Classic)

    After you complete testing the application server connection, create a Redis Server that will communicate with the application server. The Redis Server can be created from the Services > Database > Cloud DB for Redis menu on the NAVER Cloud Platform console without a separate service subscription request.
    You can refer to the following guides:

    Server redundancy configuration

    To prevent data loss and minimize service impact in occurrence of failures, you can set server redundancy. When high availability support is selected, Cloud DB for Redis creates an active master server and a standby master server, and performs an automatic failover to the standby master server when a failure occurs in the active master server. As the redundancy is provided in the DNS method, no additional application change is required.

    clouddbforredis-overview_01_ko

    To configure server redundancy, click and select Support high availability when creating the Redis Server.

    Manage monitoring and event

    For Redis servers that have been created and are in operation, you can check monitoring for server performance and operating system status as well as occurred events, and manage them for stable cache service from NAVER Cloud Platform console. You can also utilize NAVER Cloud Platform's Cloud Insight to configure event and notification(alarm) settings.

    Caution

    Additional fees apply when you request a subscription to Cloud Insight. For an introduction on Cloud Insight and details about its pricing plans, see the Services > Management & Governance > Cloud Insight menu in NAVER Cloud Platform portal.

    You can refer to the following guides:

    5. Set ACG

    Set the Access Control Group (ACG) for an Redis Server to allow the access of the application server to the created Redis Server.
    You can refer to the following guides:

    6. Test Redis Server connection

    Use the Redis Client and test to see if you can properly connect to the created Redis server.
    You can refer to the following guides:


    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.