You can conveniently manage instances by using the ApsaraDB for Redis console, API operations, or SDKs.

Understand the limits, development standards, and O&M standards

Limits

The limits of ApsaraDB for Redis on different data structures and features are provided for your reference.

Development and O&M standards for ApsaraDB for Redis

The development and O&M standards of ApsaraDB for Redis are provided for your reference.

Management methods

Method Description
ApsaraDB for Redis console The ApsaraDB for Redis console is a web application that is used to manage instances. It provides a variety of O&M and management features to help you manage instances in a convenient and visual manner.
API operations and SDKs
  • O&M engineers: ApsaraDB for Redis provides a wide range of API operations for you to manage instances. For example, you can call the CreateInstance operation to create an instance. You can also call the API operations of different Alibaba Cloud services to implement complex custom features.
  • Business developers: You can use client-integrated SDKs to run database commands to manage data in instances. For example, you can run the SET command to set the value of a key.

For more information, see Quick start.

Operations in the ApsaraDB for Redis console

You can click a tab to show details. Then, if you click the tab again, the details are hidden.

Item Description
Overview of data migration solutions ApsaraDB for Redis provides multiple data migration solutions based on Data Transmission Service (DTS) and redis-shake to allow you to migrate data in different scenarios.
Overview of data synchronization solutions ApsaraDB for Redis provides multiple data synchronization solutions based on DTS and redis-shake. These solutions apply to scenarios including data synchronization from self-managed databases to Alibaba Cloud, active geo-redundancy, disaster recovery, and data analysis.
FAQ about data migration and data synchronization This topic provides answers to some frequently asked questions about data migration and data synchronization, such as what the differences between data migration and data synchronization are, how different solutions work, and how to troubleshoot issues.
Item Description
Query and manage pending events You can receive notifications for events such as instance migrations and version upgrades by phone call, email, or internal message or by using ApsaraDB for Redis console. You can view event types, regions, considerations, and affected instances. You can also change the scheduled switchover time.
Subscribe to event notifications ApsaraDB for Redis is integrated with CloudMonitor. You can configure alert rules for ApsaraDB for Redis in the CloudMonitor console. Alerts are immediately generated when thresholds are exceeded or when events are detected. This allows you to make informed business decisions.
Category Item Description
Lifecycle management Lifecycle of an instance The lifecycle of an instance starts when the instance is created and ends when the instance is released. A lifecycle contains stages such as configuration changes, major version upgrades, minor version updates, and restarts.
Network connection management Change the VPC or vSwitch of an instance You can change the virtual private cloud (VPC) or vSwitch in which an instance is deployed. For example, you can change the VPC of an instance to the VPC where an Elastic Compute Service (ECS) instance is deployed, or change the vSwitch to which an instance is connected to the vSwitch to which an ECS instance is connected. This way, the instance can communicate with the ECS instance over the internal network.
Change the network type from classic network to VPC You can switch the network type of an instance from the classic network to VPC. Then, clients can communicate with the instance within the same VPC. This ensures higher security and lower network latency.
Change the endpoint or port of an instance You can modify the endpoints and ports of instances. For example, you can modify ports to improve the security of connections. You can also change the endpoint of a new instance to the endpoint of the original instance. This way, you do not need to modify the connection information on your application.
Apply for a public endpoint By default, ApsaraDB for Redis provides internal endpoints. To access an instance over the Internet, you must apply for a public endpoint for the instance.
Enable the direct connection mode You can apply for a private endpoint for a cluster instance and use the endpoint to directly access backend data shards. This connection method is similar to the method used to connect to a native Redis cluster. Compared with the proxy mode, the direct connection mode reduces the routing time and accelerates the response of ApsaraDB for Redis.
Instance parameter management Parameter overview ApsaraDB for Redis allows you to specify values for specific parameters based on your business requirements. The supported parameters vary with engine version and architecture.
Node management Switch node roles ApsaraDB for Redis supports automatic switchovers from master nodes to replica nodes. You can also manually switch workloads from master nodes to replica nodes. This allows you to perform disaster recovery drills in real time. You can switch the node roles for an instance that is deployed across multiple zones based on your business deployment. This way, your applications can connect to the nearest nodes.
Restart or rebuild a proxy node ApsaraDB for Redis allows you to restart or rebuild a proxy node. This way, you can perform real-time disaster recovery drills. You can also perform proactive O&M tasks when the service is unavailable or when a high latency occurs.
Upgrade a proxy node ApsaraDB for Redis allows you to upgrade a proxy node to use the latest features.
Tag management Create a tag If you have a large number of instances, you can create multiple tags, add the tags to the instances, and filter the instances by tag.
Filter instances by tag After you add tags to instances, you can filter instances by tag in the instance list to manage instances of a specific category.
Other supported operations Migrate an instance across zones If the current zone in which your instance is deployed has insufficient resources for a specification upgrade or if you want to improve the disaster recovery capabilities for the instance, you can migrate the instance to another zone in the ApsaraDB for Redis console.
Specify the maintenance window You can set the maintenance window to off-peak hours and perform O&M operations such as configuration changes during the maintenance window. This way, you can prevent impacts on business caused by transient connections.
Item Description
Create and manage database accounts ApsaraDB for Redis allows you to create multiple database accounts for an instance. You can grant these accounts different permissions such as read-only and read/write permissions. This helps you flexibly manage instances to minimize accidental operations and improve data security.
Change or reset the password If you forget your password, want to change your password, or have not set a password for an instance, you can set a new password for the instance.
Configure whitelists To connect to an instance by using a client, you must add the IP address of the client to a whitelist of the instance. Proper use and management of whitelists ensure secure access to instances.
Configure SSL encryption for an instance To enhance data transmission security, you can enable SSL encryption for your instances and install SSL certificates that are issued by certificate authorities (CAs) to your applications. SSL encryption can encrypt network connections at the transport layer. This improves data security and ensures data integrity.
Enable password-free access To enable password-free access for an instance, make sure that the client that you want to connect to the instance and the instance are deployed in the same VPC. This way, the client can access the instance without using passwords. After password-free access is enabled, you can still use a username and a password to connect to the instance.
Item Description
Overview of connection methods ApsaraDB for Redis supports different types of endpoints. You can connect to an instance by using clients, Data Management (DMS), or redis-cli.
Manage instances by using DMS DMS allows you to manage instances by using commands or by using the GUI and provides multiple extended features.
Category Item Description
Metrics Query monitoring data ApsaraDB for Redis supports a variety of performance monitoring metrics. You can query the monitoring data of an instance during a specific period of time in the previous month. This helps you gain insights into the status of the instance and troubleshoot issues.
Understand metrics ApsaraDB for Redis provides real-time monitoring to help you understand the operational status of an instance. This topic describes how the monitoring metrics work and their limits.
Performance data View performance trends ApsaraDB for Redis allows you to view the performance trends of an instance during a specific period of time. The performance trend metrics include CPU utilization, memory usage, queries per second (QPS), total number of connections, response time, network traffic, and key hit ratio.
View real-time performance ApsaraDB for Redis allows you to view the real-time performance of an instance. The real-time performance metrics include CPU utilization, memory usage, QPS, network traffic, servers, keys, clients, and connections.
Manage instance sessions ApsaraDB for Redis allows you to view sessions between an instance and clients in real time. A session contains statistics about clients, the commands that are run, and connection durations. You can also close abnormal sessions based on business requirements.
View slow queries Slow queries decrease the stability of instances. You can monitor and analyze slow queries by using slow logs of instances.
Offline key analysis The offline key analysis feature can analyze backup files of ApsaraDB for Redis and find large keys in your instances. This feature allows you to view instance information such as the memory usage, distribution, and expiration time of keys. You can optimize your instances based on the analyses. This feature helps you resolve issues such as insufficient memory and performance degradation that are caused by the skewed distribution of keys.
Real-time key statistics In ApsaraDB for Redis, the keys that are frequently accessed are called hotkeys. Improper management of hotkeys may cause congestion and degrade service performance. ApsaraDB for Redis allows you to view hotkeys in an instance in real time.
Instance diagnostics Create a diagnostic report You can create a diagnostic report for an instance within a specified period of time. Diagnostic reports help you evaluate the status of an instance by using metrics such as performance level, skewed request distribution, and slow logs. Diagnostic reports also help you identify exceptions in an instance.
Alerts Configure alert rules for monitored metrics ApsaraDB for Redis is integrated with CloudMonitor. You can configure alert rules for ApsaraDB for Redis in the CloudMonitor console. Alerts are immediately generated after specified thresholds are exceeded or exceptions are detected. This allows you to troubleshoot issues at the earliest opportunity.
Item Description
Enable audit logs A new version of the audit log feature is released by ApsaraDB for Redis. The new version is integrated with Log Service and allows you to view, analyze online, and export log data. The new version helps you gain insights into the security and performance of instances.
View audit logs You can view audit logs within a specific period of time and filter audit logs that match specific conditions.
Analyze slow logs Issues such as connection timeouts that are caused by slow queries degrade service performance. The slow log feature allows you to identify the IP addresses of clients that sent the query requests to troubleshoot issues.
Query operational logs You can query operational logs within 72 hours and troubleshoot O&M issues based on the logs.
Item Description
Backup and restoration solutions ApsaraDB for Redis offers high performance, high security, high availability, and diverse architectures. An increasing number of applications run ApsaraDB for Redis as their database engine for persistent storage. ApsaraDB for Redis provides a variety of solutions that allow you to back up or restore data in different scenarios.
Item Description
Troubleshoot performance issues This topic describes how to troubleshoot performance issues and provides improvement solutions. In the examples, high CPU utilization, high memory usage, and high bandwidth usage issues are troubleshot.
FAQ This topic provides answers to some frequently asked questions about the features, usage, connection methods, data persistence mechanisms, and parameters of ApsaraDB for Redis.