This topic describes how to connect to a Windows instance from a local client.
Prerequisites
- The instance is in the Running state. If not, you must start the instance. For more information, see Start an instance.
- A logon password is set for the instance. If you have not set a password or if you have forgotten the password, you must reset the password for the instance. For more information, see Reset the logon password of an instance.
- The instance can access the Internet:
- In a virtual private cloud (VPC), you can assign a public IP address to an instance when you create the instance and purchase bandwidth for the instance. You can also associate an elastic IP address (EIP) with an instance after you create the instance. For more information, see Create an IPv4 VPC.
- In the classic network, a public IP address is assigned to the instance by using one
of the following methods:
- If you select Assign Public IPv4 Address when you create a subscription or pay-as-you-go instance, a public IP address is assigned to the instance.
- If you do not select Assign Public IPv4 Address when you create a subscription instance, you can upgrade the bandwidth to obtain a public IP address for the instance. For more information, see Overview of instance upgrade and downgrade.
- The following security group rules are added to the security group to which the instance
belongs. For more information, see Add security group rules.
Network Type ENI type Rule direction Authorization policy Protocol type Port Authorization type Authorization object Priority VPC N/A Inbound Allow RDP(3389) 3389/3389 CIDR block 0.0.0.0/0 1 Classic network Internet
Procedures
Connect from a local client that runs a Windows operating system
If the local client runs a Windows operating system, you can use the Microsoft Terminal Services Client (MSTSC) that comes with the Windows operating system to connect to a Windows instance from the local client.
Connect from a local client that runs a Linux operating system
If the local client runs a Linux operating system, you can use a remote connection tool to connect to a Windows instance from the local client. In this example, rdesktop is used.
Connect from a local client that runs a macOS operating system
For information about how to connect to a Windows instance from a local client that runs a macOS operating system, visit Get started with the macOS client.