Connecting to Windows VM
After creating a virtual machine based on Microsoft Windows, you can connect to the instance remotely using RDP (Remote Desktop Protocol).
For this, the following conditions must be met:
- 15 minutes have passed since creation and all scripts have finished their work
- The virtual machine is on
- A security group has been assigned to the virtual machine with a rule that allows remote access on TCP port 3389
- The instance must have an external IP address available for connection
The way to connect to a VM depends on the local operating system being used.
Retrieving a password
Before connecting to the instance, you need to obtain the password for the virtual machine user.
Depending on the network that was specified when creating the server, the methods differ:
For VMs on ext-net
You can get the password for the local user account at the final step of creating the virtual machine.
If the password was not saved at the final stage of VM creation, then it should be reset.
If, when creating a virtual machine, the ext-net network was connected to the instance, then in this case it is enough to go to the information about the virtual machine in the list of instances of the "Cloud Computing" service.
On the "Console" tab, click on the "Set password" button.
For VMs on a private network
To get the VM password:
- Go to the Cloud Computing Virtual Machines page.
- Open the context menu of the instance and click on the "Get password" button:
- In the window for obtaining a password, you need to attach the key file selected when creating the instance and click on the "Decrypt password" button. The result will be the password for the ADMIN user:
- You can copy the received password and close the window
Windows
To connect via RDP, you can use manual configuration or a configuration file.
Manual connection consists of several steps:
- Press the "Start" button
- Find and open "Remote Desktop Connection"
- Enter the IP address of the virtual machine in the "Computer" field
- When connecting, specify the login and password of the account.
Connecting using an RDP configuration file .
You can download the RDP config file on the instance information page on the "Windows" tab.
You can connect to the virtual machine using the downloaded file.
Linux
You can connect to a Windows instance via RDP from Linux.
To do this, you can use the Remmina utility:
- Download and install the Remmina client for connecting via RDP protocol
$ sudo apt-add-repository ppa: remmina-ppa-team / remmina-next $ sudo apt-get update $ sudo apt-get install remmina remmina-plugin-rdp libfreerdp-plugins-standard
- Launch Remmina client
- To create a new connection, use the menu item "Connection" / "New" / "CTRL + N" or the button on the Remmina toolbar
- Enter the name of the connection, the group (if desired), select the "RDP" protocol
- Enter the IP address of the virtual machine in the "Server" field
- Enter user data:
- User Name: ADMIN
- Password: your password
- Click the Save button
- Connect to remote machine in the list of connections
MacOS X
To make the connection:
- Download and install Microsoft Remote Desktop for RDP connection
- Add a new connection via the "+" function
- Enter the IP address of the virtual machine in the name field
- Add a new user by selecting "Add User Account" in the "User Account" field
- Enter user data:
- User Name: Admin
- Password: your password
- Press the "Add" button twice
- Connect to the virtual machine by double clicking in the RDP client interface