ApsaraDB supports two types of network: classic and Virtual Private Cloud (VPC), a classic network and VPC have following differences:
Classic network: The cloud services on a classic network are not isolated, and unauthorized access to a cloud service is blocked only by the security group or whitelist policy of the service.
VPC : The VPC helps you build an isolated network environment on Alibaba Cloud. You can customize the route table, IP address range, and gateway in VPC. In addition, you can combine your machine room and cloud resources in the Alibaba Cloud VPC into a virtual machine room through a leased line or VPN to migrate applications to the cloud smoothly.
A classic network can be switched to VPC, but not vice versa.
When switching the classic network to VPC, you can choose to retain the classic network IP address.
To switch a classic network type Redis instance to a VPC network type instance, you should firstly create a VPC and a switch in the same region of the instance.
Choose the same zone as the Redis instance when creating a switch.
- Log on to Redis Console, find the target instancen, and click Manage.
- Click Switch to VPC on the Instance Information page.
On the Switch to VPC page, select VPC and VSwitch. Select whether to retain the classic network IP address and the retention period, and then click OK.
On the Instance Information page, Click Refresh to view the access address.