Unit 2 Part 2
Unit 2 Part 2
https://www.youtube.com/watch?v=OCiN37sjXuw
https://learn.microsoft.com/en-us/azure/virtual-machines/windows/tutorial-manage-
vm#create-a-vm
How to Create a Virtual Machine in Azure
Demo: Create a Windows/Linux VM in Azure and confirm access to the VM,
Deploy sample website:
https://www.youtube.com/watch?v=OCiN37sjXuw
https://learn.microsoft.com/en-us/azure/virtual-machines/windows/tutorial-manage-
vm#create-a-vm
How to Create a Virtual Machine in Azure
Creating a virtual machine (VM) in groups" from the left-hand menu.
Microsoft Azure is a straightforward 2.Click "Create".
process. Here is a step-by-step guide to 3.Fill in the details:
help you set up a VM using the Azure 1. Subscription: Choose your
portal: subscription.
2. Resource group: Enter a name
Step 1: Sign in to Azure Portal for your resource group.
1.Go to the Azure Portal. 3. Region: Select the region where
2.Sign in with your Azure account you want to deploy your resources.
credentials. 4. Click "Review + create" and then
"Create".
Step 2: Create a Resource Group
1.In the Azure portal, select "Resource
How to Create a Virtual Machine in Azure
Step 3: Create a Virtual Machine 5. Availability options: Choose an
1.In the Azure portal, select "Virtual availability set or zone if needed.
machines" from the left-hand menu. 6. Image: Select the OS image (e.g.,
2.Click "Create" and then "Azure virtual Windows Server, Ubuntu).
machine". 7. Size: Choose the VM size based
3.Fill in the details in the "Basics" tab: on your requirements.
1. Subscription: Choose your 8. Administrator account: Enter a
subscription. username and password or use
2. Resource group: Select the SSH public key for Linux VMs.
resource group you created.
3. Virtual machine name: Enter a
name for your VM.
4. Region: Select the region.
How to Create a Virtual Machine in Azure
Step 3: Create a Virtual Machine 5. Availability options: Choose an
1.In the Azure portal, select "Virtual availability set or zone if needed.
machines" from the left-hand menu. 6. Image: Select the OS image (e.g.,
2.Click "Create" and then "Azure virtual Windows Server, Ubuntu).
machine". 7. Size: Choose the VM size based
3.Fill in the details in the "Basics" tab: on your requirements.
1. Subscription: Choose your 8. Administrator account: Enter a
subscription. username and password or use
2. Resource group: Select the SSH public key for Linux VMs.
resource group you created.
3. Virtual machine name: Enter a
name for your VM.
4. Region: Select the region.
How to Create a Virtual Machine in Azure
Step 3: Create a Virtual Machine 5. Availability options: Choose an
1.In the Azure portal, select "Virtual availability set or zone if needed.
machines" from the left-hand menu. 6. Image: Select the OS image (e.g.,
2.Click "Create" and then "Azure virtual Windows Server, Ubuntu).
machine". 7. Size: Choose the VM size based
3.Fill in the details in the "Basics" tab: on your requirements.
1. Subscription: Choose your 8. Administrator account: Enter a
subscription. username and password or use
2. Resource group: Select the SSH public key for Linux VMs.
resource group you created.
3. Virtual machine name: Enter a
name for your VM.
4. Region: Select the region.
How to Create a Virtual Machine in Azure
Creating a virtual machine (VM) in groups" from the left-hand menu.
Microsoft Azure is a straightforward 2.Click "Create".
process. Here is a step-by-step guide to 3.Fill in the details:
help you set up a VM using the Azure a. Subscription: Choose your
portal: subscription.
b. Resource group: Enter a name
Step 1: Sign in to Azure Portal for your resource group.
1.Go to the Azure Portal. c. Region: Select the region where
2.Sign in with your Azure account you want to deploy your
credentials. resources.
d. Click "Review + create" and then
Step 2: Create a Resource Group "Create".
1.In the Azure portal, select "Resource
How to Create a Virtual Machine in Azure
Click "Next: Disks" to configure disk Public IP: Select "Create new" to assign a
options: public IP address.
OS disk type: Choose the type of disk NIC network security group: Choose
(Standard SSD, Premium SSD, etc.). basic or advanced security options.
Data disks: Add additional disks if Click "Next: Management" to configure
needed. management options:
Click "Next: Networking" to configure Boot diagnostics: Enable or disable.
network settings: OS guest diagnostics: Enable if required.
Virtual network: Select an existing
virtual network or create a new one. Auto-shutdown: Configure if needed.
Virtual machine scale sets let you create and manage a group of identical, load-balanced
VMs
Scale sets allow you to centrally manage, configure, and update a large number of VMs in
minutes
Virtual machine scale sets also automatically deploy a load balancer to make sure that your
resources are being used efficiently. With virtual machine scale sets, you can build large-
scale services for areas such as compute, big data, and container workloads.
Azure Virtual Machines
Virtual machine availability sets Availability sets are designed to ensure that
VMs stagger updates and have varied power and network connectivity,
preventing you from losing all your VMs with a single network or power failure.
Availability sets groups VMs in two ways: update domain and fault domain.
Update domain: The update domain groups VMs that can be rebooted at the
same time. This allows you to apply updates while knowing that only one update
domain grouping will be offline at a time. All of the machines in one update
domain will be updated.
Fault domain: The fault domain can be considered as a rack which has common
power source and network switch. By default, an availability set will split your
VMs across up to three fault domains. This helps protect against a physical
power or networking failure by having VMs in different fault domains (thus being
connected to different power and networking resources).
Cloud Concepts
Thank You!!!
www.paruluniversi
ty.ac.in