Skip to content

BlakePfeifer/Virtual-Machine-Azure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 

Repository files navigation

Virtual-Machine-Azure

Microsoft Azure - Virtual Machine Creation

This tutorial outlines the steps to create a virtual machine on Microsoft Azure, the leading cloud platform for building and managing services.

Environments and Technologies Used

  • Microsoft Azure (Virtual Machines/Compute)
  • Remote Desktop
  • Internet Information Services (IIS)

Operating Systems Used

  • Windows 11 (23H2)

List of Prerequisites

  • Microsoft Account
  • Azure Subscription
  • Internet Access
  • Supported Browser
  • Basic Knowledge of Cloud Concepts

Azure Account Setup

How to Create a Virtual Machine on Microsoft Azure

Prerequisites

  • A Microsoft account (free to create if you don't have one).
  • An Azure subscription (you can start with the Azure Free Account which gives you free credits).

Steps to Create a Virtual Machine

1. Sign in to the Azure Portal

image


2. Start Creating a Virtual Machine

  • Click on "Create a resource" (top left corner).
  • In the search box, type "Virtual Machine".
  • Click "Virtual Machine" from the list, then click "Create".

image


3. Configure the Basics

  • Subscription: Select your available subscription.
  • Resource Group: Create a new one or select an existing one.
  • Virtual Machine Name: Choose a name (example: MyFirstVM).
  • Region: Select the nearest region (example: East US).
  • Image: Select the operating system you want (e.g., Windows 11, Ubuntu).
  • Size: Choose a size (you can select free tiers if available).
  • Username and Password: Create login credentials for your VM.

image image


4. Configure Optional Settings

  • Go through tabs like Disks, Networking, Management.
  • Allow Public Inbound Ports.
  • Under "Select inbound ports", choose RDP (3389) for Windows or SSH (22) for Linux.

image


5. Review and Create

  • Click Review + Create.
  • After validation, click Create to start deployment.

image


6. Access Your Virtual Machine

  • Once deployed, open the VM resource.
  • Click Connect and choose RDP (Windows) or SSH (Linux).
  • Download the RDP file and log in with your credentials.

image ![image](https://github.com/user-attachments/assets/d16cfd5a-

Summary

In this tutorial, you created your first virtual machine on Microsoft Azure by:

  • Setting up a basic VM configuration.
  • Choosing OS, size, and network settings.
  • Successfully connecting to your VM remotely.

Common Mistakes and Tips

Here are a few important things to watch out for when creating and managing your virtual machine:

  • Double-check your Region: Choose the nearest region to you for better speed and possibly lower costs.
  • Remember Inbound Ports: Make sure you enable the correct ports (RDP or SSH), or you won't be able to connect to your VM.
  • Use Strong Credentials: Always set a strong username and password for better security.
  • Monitor VM Status: If your VM is running, it continues to use resources — this can cost money over time like leaving a device plugged into electricity.
  • Shut Down or Deallocate When Not in Use: After you're done, shut down your VM through the Azure portal to avoid unexpected charges.
  • Check Resource Groups: Deleting a VM doesn't automatically delete the Resource Group — clean up any unused resources to avoid extra charges.
  • Be Careful With Public IPs: Exposing services to the internet (like RDP) without proper security can create vulnerabilities.

Important Reminder: 0fbb-4b2d-a1c1-d7b885fc7c8e)

image


Just like leaving lights on at home, keeping your VM running 24/7 can build up real charges. Always monitor usage to stay within your free credit or budget!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors