A virtual machine is the virtualization or emulation of a computer system in computing. The functionality of a physical computer is provided by virtual machines, which are built on computer architectures.`
CREATING A WINDOWS VIRTUAL MACHINE AND CONNECTING IT WITH RDP
- Login into your Azure portal.
- On search bar, search for virtual machine and click on it.
- Click on create virtual machine (select azure virtual machine).
- Set up your virtual machine to a windows virtual machine and click on review/create.
CONNECTING INTO REMOTE DESKTOP
- Click on Go to resource.
- Click on connect, then select RDP.
Download the file.
Open the file on your downloads and type in your login details (the username and password created during the VM setup)
Click on connect.
Click on yes to access the remote desktop.
HOW TO INSTALL A WEBSERVER ON THE REMOTE DESKTOP
- Click on the windows menu on your remote desktop.
Search for Windows Powershell and run as an administrator.
type in
Install-WindowsFeature Web-Server
HOW TO ADD A DISK ON THAT WEBSERVER
- Go back to your azure portal and open your created virtual machine.
- Click on disk on the menu bar and edit to your specification.
Click on save.
Open your Remote Desktop
- On your the task bar click on search and type in
diskmgmt.msc
- Click on OKAY to initialize your disk2
- Right-click on disk2 and click on New Simple Volume (follow the process by clicking on next)
CREATING A LINUX VIRTUAL MACHINE AND CONNECTING IT WITH SSH
- Login into your Azure portal.
- On search bar, search for virtual machine and click on it.
- Click on create virtual machine (select azure virtual machine).
- Set up your linux virtual machine and click on review/create.
- Click on go to resource (to open your VM).
- Click on connect (SSH)
Run powershell as administrator.
type
ssh username@ip address
Click Enter
Type in your password (used in creating your VM) and click Enter
HOW TO CREATE AZURE COMPUTE GALLERY AND CAPTURE IMAGE OF THAT VIRTUAL MACHINE
- Go to azure portal, on the search bar type azure compute gallery and click on it.
- Click on create (to create gallery)
- Set up your gallery and click on review/create
- Click on create (to create your gallery)
- Go to your azure portal and open an already created virtual machine
- Click on capture
- Select your the gallery
- Create a VM image definition
- Set the version details and click on review/create.
- Click on create
- Go to your azure portal and open the gallery you created.
Top comments (0)