An open API service indexing awesome lists of open source software.

https://github.com/itsrubenclarke/azure-vm-setup

This project is a foundational lab for implementing Azure and Active Directory by setting up Windows and Linux virtual machines in Microsoft Azure, preparing for network traffic inspection using Wireshark in the next phase.
https://github.com/itsrubenclarke/azure-vm-setup

azure linux-ubuntu rdp-connection windows-10

Last synced: about 1 month ago
JSON representation

This project is a foundational lab for implementing Azure and Active Directory by setting up Windows and Linux virtual machines in Microsoft Azure, preparing for network traffic inspection using Wireshark in the next phase.

Awesome Lists containing this project

README

        


Microsoft Azure Logo

Azure: Creating Virtual Machines


This project is the first amongst a collection focused on implementing a Virtual Network in Azure.
Microsoft Azure is a cloud platform that will let you rent space to store or process your data.
In this project, I will establish a connection between two virtual machines using Windows and Linux in Microsoft Azure's Cloud environment.
This setup will enable me to perform a basic network traffic inspection using Wireshark in the next part of the collection.

Key Objectives


Virtual Machine Setup

- Configure and deploy Windows VM
- Configure and deploy Linux VM


Remote Connectivity



- Establish Remote Desktop Connection (RDP) between the Virtual Machines (VMs)

Environments and Technologies Used

- Microsoft Azure (Virtual Machines, Networking)
- Windows App (Remote Desktop Protocol)


Operating Systems Used


| **Operating System** | **Role** |
|----------------------------|------------------------|
| windows logo Windows (Windows 10 Pro) | Windows Virtual Machine |
| Ubuntu logo Linux (ubuntu 22.04) | Linux Virtual Machine |


Setup and Configuration of Virtual Machines

Step 1: Create Resource Group

- Go to [Portal.azure.com](https://portal.azure.com)
- Create a Resource Group
- Name it "RG-Network-Activities" & set the region to (Europe) UK South

resource group name
resource group name


windows logo Step 2: Create Windows Virtual Machine

- Go to [Portal.azure.com](https://portal.azure.com)
- Create a Virtual Machine
- Name it "windows-vm" & Set the region to (Europe) UK South
- Select a VM size with at least 2 VCPUs
- Set a username and password
- Be sure to memorise your credentials or store them in a secure place

![Creating Windows Virtual Machine](https://github.com/user-attachments/assets/192a051e-fc10-4648-aa3b-51ccd9c2bbb2)



![Credentials](https://github.com/user-attachments/assets/9d35ac70-acf2-4331-9176-64c4a64ed08d)



![Networking Step 1](https://github.com/user-attachments/assets/db017071-b60a-4d7e-af54-29de04be897e)




linux Ubuntulogo Step 3: Create Linux Virtual Machine

- Go to [Portal.azure.com](https://portal.azure.com)
- Create a Virtual Machine
- Name it "linux-vm" & Set the region to (Europe) UK South
- Select a VM size with at least 2 VCPUs
- Set a username and password
- Be sure to memorise your credentials or store them in a secure place
- Deploy the Linux VM to the same Virtual Network as the Windows vm

![Linux VM Create 001](https://github.com/user-attachments/assets/2ccd052e-fcbc-409e-abaf-af0869ee72c4)



![Linux Credentials](https://github.com/user-attachments/assets/ec0c115f-b9c9-4714-87cb-c40f3dbf7bbd)



![Networking Step 1](https://github.com/user-attachments/assets/db017071-b60a-4d7e-af54-29de04be897e)


Remote Desktop Connections

Step 4: Confirm Virtual Network/Subnet Configuration


Confirm that the virtual machines have been deployed to the same resource group and are on the same Virtual network/subnet.
This ensures that we can establish the remote desktop connection and perform a basic network traffic inspection in the next part.

![VM Deployed](https://github.com/user-attachments/assets/766e801c-d0b0-48ff-9932-bc2bf80414b4)



Networking



![image](https://github.com/user-attachments/assets/1efa6437-22d0-404e-a6c0-9e2ebff7f88a)


RDP logo Step 5: Establish Remote Desktop Connection

- Go to [Portal.azure.com](https://portal.azure.com)
- Search for "Virtual Machines" in the Azure search bar
- Select the "windows-vm" you created earlier and copy its Public IP address

- Launch your Remote Desktop Connection Application
- Mac Users download Windows App Formerly known as "Microsoft Remote Desktop"
- Windows Users open and use Remote Desktop
- Select "Add PC"
- Choose "Add Credentials" from the drop-down and enter the credentials you created earlier, noting to accept the security prompt and proceed.
- You can now establish a remote connection to your virtual machine by right-clicking the newly added device

Add PC

Connect PC

Project Summary

🎉Congratulations! You have created your first virtual machine within Azure!🎉

In this project, a virtual network was successfully deployed in Microsoft Azure, connecting a Windows (Windows 10 Pro) Virtual Machine and a Linux (ubuntu 22.04) Virtual Machine using the Remote Desktop Connection (RDP).