A beginners' guide on creating an Azure virtual machine and transferring files from a local PC to the VM through RDP

Azure is a cloud platform intended to make it easier to create contemporary apps. Azure enables you to develop applications that are scalable, dependable, and maintainable, whether you decide to host your apps wholly on Azure or simply add Azure services to your existing on-premises applications.

The most widely used programming languages today, like Python, JavaScript, Java.NET, and Go, are supported by Azure. With a thorough SDK library and wide support in applications you currently use, such as VS Code, Visual Studio, IntelliJ, and Eclipse, Azure is made to capitalize on your existing knowledge and put you to work straight away.

In Microsoft Azure, creating a virtual machine is an easy procedure that only requires a few steps to accomplish. Azure virtual machines give customers access to cloud computing resources that are available on demand, enabling them to manage and deploy applications and services very quickly.

OVERVIEW

  1. Sign up for an Azure free account

  2. Create Azure Virtual Machine

  3. Link up and transfer files from a local PC to the VM via RDP

SIGN UP FOR AN AZURE FREE ACCOUNT

To get started, please register a free account here if you don't have an Azure subscription and follow the step-by-step guide to account creation.

Click "Start Free" on the Microsoft Azure website.
Enter your email address preferably “Microsoft Outlook email account i.e. @outlook.com” and create a password.
Enter your personal information, such as your name, address, and phone number.
Provide valid credit card or debit card information so that Microsoft can verify your identity.
Agree to the terms and conditions and click “Sign up”.
You will be asked to verify your identity via email. Open the email from Microsoft and click on the link provided.
Once your account has been created, you will be sent to a confirmation page. Log in to your Microsoft Azure account and start exploring the services.

After setting up your Azure account, log into your Microsoft Azure portal with your email address and password and start exploring the services.

CREATE A VIRTUAL MACHINE

  1. Log into the Azure Portal and click on the “Create a resource” button. This will open a list of available resources.

  2. Select the “Virtual Machine” option.

  3. Enter the name of the resource group to manage the resources associated with the virtual machine (VM).

  4. Enter the virtual machine name, region, availability options, and availability zone.

  5. Choose the type of virtual machine you would like to create an “image”. Options include Windows 11 Pro and configuring settings such as VM size.

  6. Once the virtual machine settings have been configured, enter the virtual machine username and password and select Remote Desktop Protocol (RDP) as the inbound port.

  7. After reviewing the settings, click the “Create” button to begin the virtual machine creation process.

  8. The deployment stage is initiated automatically.

  9. When the deployment is complete, click "Go to Resources".

  10. Once the virtual machine has been created, connect it to an RDP to access it by clicking “connect” on the overview page of your virtual machine.

  11. Connect with RDP, leave the default settings, and click “download RDP file”, Open the downloaded RDP file and click “Connect”.

  12. Enter your username and password, and click "ok" to finally launch the virtual machine.

  13. The default virtual machine home page will open and should appear as shown below.

LINK UP AND TRANSFER FILES BETWEEN LOCAL PC AND VM VIA RDP

  1. Launch the RDP on the system PC, enter the VM IP address, and click on "show options"

  2. Click on Local Resources and connect.

  3. Click on more options to select “Local Disk C,” click "Ok,”

  4. Click on “Connect” to proceed with launching the VM.

  5. Click “File Explorer” to navigate to the VM

  6. Click “This PC”

  7. Click “users” to have access to local PC resources.

  8. Open the document to select a file to be copied to the VM

  9. Copy the file labeled “4444m” from the document to the local PC.

  10. Right-click on the VM home page and select "Paste" to finally transfer the file to the VM.

  11. The copied file is displayed as shown on the VM desktop.

    I hope this post will be helpful in assisting you in setting up your virtual machine. Thank you.

1
Subscribe to my newsletter

Read articles from Tajudeen GBADAMOSI (M.Eng, B.Eng, MASME) directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Tajudeen GBADAMOSI (M.Eng, B.Eng, MASME)
Tajudeen GBADAMOSI (M.Eng, B.Eng, MASME)