This topic describes how to add Elastic Compute Service (ECS) security groups as whitelists for an ApsaraDB for Redis instance. This facilitates the client management and enhances security of connections. A security group serves as a virtual firewall to limit the inbound and outbound network traffic of ECS instances that belong to this security group. After you specify a security group as a whitelist, all ECS instances in the security group are allowed to access the ApsaraDB for Redis instance.
Prerequisites
The ECS instances where ApsaraDB for Redis clients are deployed are added to the security group. For more information, see Add ECS instances to a security group.