When you provision a VM in Azure, it has some settings already configured and ready to be used. In many cases, you won't want to log into it as there are often easier ways to diagnose a problem or install the software. However, there are still moments when you just need to use RDP or SSH and get your hands on the internal console of a machine. This may include a lack of proper monitoring and the unavailability of certain tools that may automate running a command or debugging. In this section, you will learn how to connect to a VM from a Windows or Linux machine.
To get started, you will need a VM deployed in your subscription. To create a new one, please refer to the Adding data disks section of this chapter. The feature described in this section works for both Windows and Linux machines, so do not worry and select what you prefer to work with.
With your VM deployed, we can make an attempt to connect to it.